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/divider.md.
v0.0.57
  • English
  • Divider

    Layout@rockshin/tao-ui

    Separates content into readable sections or inline groups.

    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.

    Use titlePlacement for the title position and orientation for the axis. TaoProvider controls the default size.

    When to use

    Use separators when nearby content has a meaningful boundary.

    Examples

    Sections and titles

    Workspace overview

    Activity

    Recent changes and updates.

    End of report.

    TSX

    Title placement

    Start
    Center
    End
    Plain label
    TSX

    Line styles and spacing

    Small
    Dashed
    Dotted
    TSX

    Inline separators and RTL

    Overview
    Activity
    Settings
    TSX

    Semantic styling

    Custom section
    TSX

    API

    Divider

    PropertyDescriptionTypeDefault Value
    type@deprecated Use orientation."vertical" | "horizontal" | undefined-
    orientationMargin@deprecated Use styles.content margins.string | number | undefined-