Files
mini-yu/uni_modules/tdesign-uniapp/components/divider
lingxiao865 c5af079d8c first commit
2026-02-10 08:05:03 +08:00
..
2026-02-10 08:05:03 +08:00
2026-02-10 08:05:03 +08:00
2026-02-10 08:05:03 +08:00
2026-02-10 08:05:03 +08:00
2026-02-10 08:05:03 +08:00
2026-02-10 08:05:03 +08:00

:: BASE_DOC ::

API

Divider Props

name type default description required
custom-style Object - CSS(Cascading Style Sheets) N
align String center options: left/right/center N
content String - - N
dashed Boolean false - N
layout String horizontal options: horizontal/vertical N

Divider Slots

name Description
content -

Divider External Classes

className Description
t-class -
t-class-content -

CSS Variables

The component provides the following CSS variables, which can be used to customize styles.

Name Default Value Description
--td-divider-border-width 2rpx -
--td-divider-color @bg-color-component -
--td-divider-content-color @text-color-placeholder -
--td-divider-content-font @font-body-small -
--td-divider-content-line-style solid -
--td-divider-content-margin @spacer-1 -
--td-divider-horizontal-margin 20rpx -
--td-divider-vertical-margin @spacer -