Skeleton
Use to show a placeholder while content is loading.
Usage
API Reference
| Input | Type | Default |
|---|---|---|
| variant | SkeletonVariants['variant'] | 'rectangle' |
| class | string | '' |
| width | string | '100%' |
| height | string | '1rem' |
CVA variants
| Prop | Options | Default |
|---|---|---|
| variant | circle | rectangle | text | rectangle |
Component Source
Install via CLI:
npx @voltui/cli add skeletonTypeScript
Loading editor…
Copy this code to your project.