Installation
1
Add Component
Copy the code snippet below into you components folder.
2
Integrate Recipe
Integrate this recipe in to your Panda config.
Usage
Examples
Text
Use the SkeletonText component to create a skeleton for text.
Variants
Use the variant prop to change the visual style of the Skeleton.
Pulse
Shine
Feed
Use the Skeleton component to create a feed skeleton.
Content Loading
When loading is changed to false, the Skeleton component will fade in.
Park UI rocks 🚀
Custom Colors
Use the --start-color and --end-color CSS variables to change the start and end color of the skeleton.
Props
| Prop | Default | Type | 
|---|---|---|
| loading | true | boolean | 
| variant | 'pulse' | 'pulse' | 'shine' | 'none' | 
| circle | boolean |