Import
Copy code
import { Skeleton } from '@k8ordo/ui';Usage
Copy code
<Skeleton />Shapes
Copy code
<Skeleton shape="rect" />
<Skeleton shape="circle" />Sizes
Copy code
<Skeleton size="sm" />
<Skeleton size="md" />
<Skeleton size="lg" />Animation
Copy code
<Skeleton animate />
<Skeleton animate={false} />Props
animate?- Type:
boolean - Default:
true shape?- Type:
'rect'|'circle' - Default:
'rect' size?- Type:
'sm'|'md'|'lg' - Default:
'md'
| Prop | Type | Default |
|---|---|---|
animate? | boolean | true |
shape? | 'rect'|'circle' | 'rect' |
size? | 'sm'|'md'|'lg' | 'md' |
Inherited attributes (except the ones set internally): HTMLAttributes<HTMLDivElement>