- Copy Demo
No Projects Yet
You haven't created any projects yet. Get started by creating your first project.
Installation
You can run either of the following commands:
# cargo install ui-cli --forceui add demo_emptyui add empty
Update the imports to match your project setup.
Usage
use crate::components::ui::empty::{
Empty,
EmptyHeader,
EmptyMedia,
EmptyDescription,
EmptyContent
};
<Empty>
<EmptyHeader>
<EmptyMedia variant=EmptyVariant::Icon>
<Icon />
</EmptyMedia>
<EmptyTitle>"No data"</EmptyTitle>
<EmptyDescription>"No data found"</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button>"Add data"</Button>
</EmptyContent>
</Empty>
Examples
Background
- Copy Demo
No Notifications
You're all caught up. New notifications will appear here.