Skeleton
Feedback
@rockshin/tao-uiPreserves content structure while data is loading.
When to use
Use for the initial loading of known content. Match the final layout and replace the placeholder when real content becomes available.
Examples
Loading replacement
Skeleton renders its children when loading is false.
Match the final layout
Control avatar shape, title width and each paragraph line width.
Form and action placeholders
Compound placeholders can be composed without the full article layout.
Images and custom nodes
Skeleton.Image provides an image placeholder. Skeleton.Node can hold a custom silhouette.
Rounded shapes and provider size
Compound placeholders inherit TaoProvider size. Use semantic styles to adjust spacing without changing the loading structure.