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/empty.md.
v0.0.57
  • English
  • Empty

    Data Display@rockshin/tao-ui

    Explains why a collection has no content and provides a useful next action.

    When to use

    Use inside lists, search results and compact panels when no records are available. Keep the explanation specific to the current view.

    Examples

    Default and simple illustrations

    Use the simple illustration in compact content areas.

    390 × 640
    TSX

    Create the first item

    The footer can contain an action. This example creates an item only in local React state.

    Create your first project to start organizing work.
    TSX

    Custom illustration

    Pass a React node to image and adjust its container through styles.image.

    The archive is empty
    TSX

    Provider language

    Omitting description uses TaoProvider locale.emptyDescription. An explicit description takes priority.

    No data
    暂无数据
    TSX

    Compact and image-only states

    Set description to false to hide it. Keep a visible explanation elsewhere in the surrounding interface.

    No saved filters

    TSX

    API

    Empty

    PropertyDescriptionTypeDefault Value
    imageStyle@deprecated Use styles.image.CSSProperties | undefined-