Rust UI component that show a placeholder while content is loading.
- Copy Demo
Installation
You can run either of the following commands:
# cargo install ui-cli --forceui add demo_skeletonui add skeleton
Update the imports to match your project setup.
Usage
use crate::components::ui::skeleton::Skeleton;
<Skeleton class="w-[100px] h-[20px]" />
Examples
1. Skeleton Image
- Copy Demo
Loading...