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/card.md.
v0.0.57
  • English
  • Card

    Data Display@rockshin/tao-ui

    Groups related content, actions and tabbed views in a surface.

    This native tao-ui component follows the public API of Ant Design 6.7.0. Appearance, theme tokens and Semantic DOM customization belong to tao-ui; configure themes with TaoProvider.

    The public Card API follows 6.7.0; styling uses tao-ui tokens and Semantic DOM. Tabs use the low-level rc tabs engine with native tao-ui styles.

    When to use

    Use cards for self-contained records. Use explicit links or buttons for actions.

    Examples

    Title and extra action

    Workspace
    Keep related project information together.
    TSX

    Sizes and variants

    Small card
    Compact details.
    Outlined card
    Default surface.
    Borderless
    A surface inside a shaded region.
    TSX

    Cover, metadata and actions

    AL
    Design notes
    Updated today by Ada
    TSX

    Controlled tabs

    Project

    Project summary and owners.

    TSX

    Loading content

    Account
    TSX

    Grid and inner cards

    390 × 640
    TSX

    Semantic styles and theme

    Local theme
    This card inherits its local tokens and dark surface.
    TSX

    API

    Card

    PropertyDescriptionTypeDefault Value
    bordered@deprecated Use variant.boolean | undefined-
    headStyle@deprecated Use styles.header.CSSProperties | undefined-
    bodyStyle@deprecated Use styles.body.CSSProperties | undefined-