icon-tile

Feature card

Icon tile in a feature card

Загрузка превью…

src/icon-tile/c-icon-tile-11.vue

<!--
  Расхождение с апстримом: `IconPlaceholder` заменена инлайновым `<svg>`
  (lucide-react v0.545.0 "layout-dashboard") — см. docs/PORTING.md §5.
-->
<script setup lang="ts">
import { Frame, FramePanel } from "@/components/reui/frame"
import { IconTile } from "@/components/reui/icon-tile"
</script>

<template>
  <Frame class="w-full max-w-xs">
    <FramePanel class="flex flex-col gap-3">
      <IconTile variant="elevated" size="lg" 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 class="flex flex-col gap-1">
        <h3 class="text-sm font-medium">Unified dashboard</h3>
        <p class="text-muted-foreground text-xs">
          Track every project, deployment and metric from a single workspace.
        </p>
      </div>
    </FramePanel>
  </Frame>
</template>

Установка

npx shadcn-vue@latest add https://revueui.rootapi.dev/r/c-icon-tile-11.json

Зависимости реестра

Источник: порт из ReUI (Keenthemes, MIT)