icon-tile
Framed icon tile
Icon tile with framed surface
Загрузка превью…
src/icon-tile/c-icon-tile-3.vue
<!--
Расхождение с апстримом: `IconPlaceholder` заменена инлайновым `<svg>`
(lucide-react v0.545.0 "layout-dashboard") — см. docs/PORTING.md §5.
-->
<script setup lang="ts">
import { IconTile } from "@/components/reui/icon-tile"
</script>
<template>
<div class="flex items-center justify-center">
<IconTile variant="frame" aria-hidden="true">
<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-layout-dashboard"
><rect width="7" height="9" x="3" y="3" rx="1" /><rect width="7" height="5" x="14" y="3" rx="1" /><rect width="7" height="9" x="14" y="12" rx="1" /><rect width="7" height="5" x="3" y="16" rx="1" /></svg>
</IconTile>
</div>
</template>
Установка
npx shadcn-vue@latest add https://revueui.rootapi.dev/r/c-icon-tile-3.jsonЗависимости реестра
Источник: порт из ReUI (Keenthemes, MIT)