For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/components/skeleton.md.
v0.0.57
  • English
  • Skeleton

    Feedback@rockshin/tao-ui

    Preserves 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.

    390 × 640
    TSX

    Match the final layout

    Control avatar shape, title width and each paragraph line width.

    TSX

    Form and action placeholders

    Compound placeholders can be composed without the full article layout.

    TSX

    Images and custom nodes

    Skeleton.Image provides an image placeholder. Skeleton.Node can hold a custom silhouette.

    TSX

    Rounded shapes and provider size

    Compound placeholders inherit TaoProvider size. Use semantic styles to adjust spacing without changing the loading structure.

    TSX

    API

    Skeleton

    PropertyDescriptionTypeDefault Value
    classNameAdditional css classstring | undefined-
    styleAdditional styleCSSProperties | undefined-