Skip to content
PixiKit

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
NameTypeDefaultDescription
shapeLoadGhostsShape"text"The layout the placeholders copy.
rowsnumber4How many lines, rows or fields to draw.
columnsnumber3How 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.
loadingbooleantrueShows the placeholders while true; when it turns false they give way to `children`.
childrenReactNodeNoneThe real content; its top-level items enter one after another.
minDurationnumber0Milliseconds the placeholders stay at least, to avoid a flash.
radiusnumber6Corner radius of the blocks, in px.
classNamestringNone

Related