icon-tile
Status overlay
Icon tile with status overlay
Загрузка превью…
src/icon-tile/c-icon-tile-14.vue
<!--
Расхождение с апстримом: `IconPlaceholder` заменена инлайновым `<svg>`
(lucide-react v0.545.0 "globe") — см. docs/PORTING.md §5.
-->
<script setup lang="ts">
import { IconTile } from "@/components/reui/icon-tile"
</script>
<template>
<div class="flex items-center justify-center">
<span class="relative inline-flex" aria-hidden="true">
<IconTile variant="elevated">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
class="lucide lucide-globe"
><circle cx="12" cy="12" r="10" /><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" /><path d="M2 12h20" /></svg>
</IconTile>
<span class="border-background bg-success absolute -end-0.5 -top-0.5 size-3 rounded-full border-2" />
</span>
</div>
</template>
Установка
npx shadcn-vue@latest add https://revueui.rootapi.dev/r/c-icon-tile-14.jsonЗависимости реестра
Источник: порт из ReUI (Keenthemes, MIT)