empty
No notifications empty state
No notifications empty state
Загрузка превью…
src/empty/c-empty-9.vue
<!--
Расхождение с апстримом: `IconPlaceholder` заменена инлайновым `<svg>`
(lucide-react v0.545.0 "bell-off") — см. docs/PORTING.md §5.
-->
<script setup lang="ts">
import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "@/components/ui/empty"
</script>
<template>
<div class="flex items-center justify-center p-4">
<Empty class="bg-muted py-16">
<EmptyHeader>
<EmptyMedia variant="icon">
<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"
class="lucide lucide-bell-off"
>
<path d="M10.268 21a2 2 0 0 0 3.464 0" />
<path d="M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742" />
<path d="m2 2 20 20" />
<path d="M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05" />
</svg>
</EmptyMedia>
<EmptyTitle>No notifications</EmptyTitle>
<EmptyDescription>
When you get notifications, they'll show up here.
</EmptyDescription>
</EmptyHeader>
</Empty>
</div>
</template>
Установка
npx shadcn-vue@latest add https://revueui.rootapi.dev/r/c-empty-9.jsonЗависимости реестра
Источник: порт из ReUI (Keenthemes, MIT)