For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/zh/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/zh/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/zh/components/divider.md.
v0.0.57
  • 简体中文
  • Divider

    布局@rockshin/tao-ui

    将内容分为清晰的区块或行内分组。

    组件采用 tao-ui 原生实现,公共 API 对齐 Ant Design 6.7.0。外观、主题 token 与 Semantic DOM 定制遵循 tao-ui,主题通过 TaoProvider 配置。

    使用 titlePlacement 控制标题位置,orientation 控制方向;默认尺寸继承 TaoProvider。

    何时使用

    用于区分相邻内容中的不同区块。

    代码演示

    区块与标题

    Workspace overview

    Activity

    Recent changes and updates.

    End of report.

    TSX

    标题位置

    Start
    Center
    End
    Plain label
    TSX

    线条与间距

    Small
    Dashed
    Dotted
    TSX

    行内分隔与 RTL

    Overview
    Activity
    Settings
    TSX

    语义样式

    Custom section
    TSX

    API

    Divider

    属性说明类型默认值
    type@deprecated Use orientation."vertical" | "horizontal" | undefined-
    orientationMargin@deprecated Use styles.content margins.string | number | undefined-