icon-tile
Empty state
Icon tile in an empty state
Загрузка превью…
src/icon-tile/c-icon-tile-12.vue
<!--
Расхождение с апстримом: `IconPlaceholder` заменена инлайновым `<svg>`
(lucide-react v0.545.0 "folder") — см. docs/PORTING.md §5.
-->
<script setup lang="ts">
import { IconTile } from "@/components/reui/icon-tile"
import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "@/components/ui/empty"
</script>
<template>
<div class="flex items-center justify-center">
<Empty>
<EmptyHeader>
<EmptyMedia>
<IconTile variant="frame" size="xl" 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-folder"
><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" /></svg>
</IconTile>
</EmptyMedia>
<EmptyTitle>No files yet</EmptyTitle>
<EmptyDescription>
Upload a file to get started. Everything you add shows up here.
</EmptyDescription>
</EmptyHeader>
</Empty>
</div>
</template>