element-plus/docs/en-US/component/divider.md
jeremywuuuuu 74fa835f9f fix(docs): add extra field for frontmatter
- Add `type` into frontmatter field to avoid crowdin auto wrap
2021-10-25 14:26:50 +08:00

825 B

lang type
en-US component

Divider

The dividing line that separates the content.

Basic usage

Divide the text of different paragraphs.

:::demo

divider/basic-usage

:::

Custom content

You can customize the content on the divider line.

:::demo

divider/custom-content

:::

Vertical divider

:::demo

divider/vertical-divider

:::

Divider Attributes

Attribute Description Type Accepted Values Default
direction Set divider's direction string horizontal / vertical horizontal
content-position customize the content on the divider line String left / right / center center