Load Ghosts
Placeholders shaped like the content to come: text, list, table, cards, stats, profile or form. One light band sweeps over every block in sync, and when loading ends they cross-fade into the real content, whose items enter one after another.
pixikit.com/docs/app-ui/feedback/load-ghosts
Customize
Shape
Rows4
Columns3
Animation
Loading
Min duration600ms
Radius6px
Props
9| Name | Type | Default | Description |
|---|---|---|---|
shape | LoadGhostsShape | "text" | The layout the placeholders copy. |
rows | number | 4 | How many lines, rows or fields to draw. |
columns | number | 3 | How many columns, cards or tiles to draw. |
animation | "shimmer" | "pulse" | "wave" | "none" | "shimmer" | `shimmer` sweeps one band over every block in sync, `pulse` fades them together, `wave` fades them in sequence. |
loading | boolean | true | Shows the placeholders while true; when it turns false they give way to `children`. |
children | ReactNode | None | The real content; its top-level items enter one after another. |
minDuration | number | 0 | Milliseconds the placeholders stay at least, to avoid a flash. |
radius | number | 6 | Corner radius of the blocks, in px. |
className | string | None |