KSkeleton
示例
Variants
Placeholder skeleton element for loading states, with text, circle, and rectangle variants.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| variant | 'text' | 'circle' | 'rectangle' | 'rectangle' | Shape variant of the skeleton. |
| width | string | — | Explicit width (e.g. '100px', '50%'). |
| height | string | — | Explicit height. |
| animated | boolean | true | Whether to show the pulse animation. |
| class | string | — | Additional CSS classes. |