Installation
CLI
Manual
Copy and paste the following code into your project.
Define the shimmer keyframes and CSS variables inside your globals.css
file using the @theme inline
block.
Update the import paths to match your project setup.
Usage
Import all parts and piece them together.
Examples
Pulse
Shimmer
Gradient
API Reference
Root
The main container component for handling skeleton props.
Prop | Type | Default |
---|---|---|
variant | "pulse" | "shimmer" | "gradient" | "pulse" |