Feedback
Skeleton
Pulsing placeholders for content on its way.
iOSReanimated viewAndroidReanimated viewReact Native tier — renders anywhere
Import
ts
import {Skeleton} from '@hzblj/kara-ui'Props
A loading placeholder that pulses in fill.quaternary — a React Native view, so it needs no host.
| Prop | Type | Default | Description |
|---|---|---|---|
| height* | number | — | In points. |
| borderRadius | RadiiSize | 'small' | The corner radius. |
| testID | string | — | Test identifier, forwarded to the view. |
| width | number | — | In points. Leave it unset and it fills the available width. |
height*
numberIn points.
testID
stringTest identifier, forwarded to the view.
width
numberIn points. Leave it unset and it fills the available width.
Platform notes
- Leave
widthunset and it fills the row — the usual shape for a line of text.