Use the Empty component to display an empty state.
Installation
Usage
<Empty>
<EmptyHeader>
<EmptyMedia Variant="EmptyMediaVariant.Icon">
<Icon Data="LucideIcons.Folder" />
</EmptyMedia>
<EmptyTitle>No data</EmptyTitle>
<EmptyDescription>No data found</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button>Add data</Button>
</EmptyContent>
</Empty>Composition
Use the following composition to build an Empty state:
Empty
├── EmptyHeader
│ ├── EmptyMedia
│ ├── EmptyTitle
│ └── EmptyDescription
└── EmptyContentOutline
Use the border utility class to create an outline empty state.
Background
Use the bg-* and bg-gradient-* utilities to add a background to the empty state.
Avatar
Use the EmptyMedia component to display an avatar in the empty state.
Avatar Group
Use the EmptyMedia component to display an avatar group in the empty state.
InputGroup
You can add an InputGroup component to the EmptyContent component.
RTL
To enable RTL support in Blazix, see the RTL configuration guide.
Translated with AI for the demo, so it may have mistakes.
API Reference
Empty
Other attributes are passed to the element it renders.
EmptyContent
Other attributes are passed to the element it renders.
EmptyDescription
Other attributes are passed to the element it renders.
EmptyHeader
Other attributes are passed to the element it renders.
EmptyMedia
Other attributes are passed to the element it renders.
EmptyTitle
Other attributes are passed to the element it renders.