mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
8fdf558b04
- Remove `type` field. - Add `title` field
44 lines
824 B
Markdown
44 lines
824 B
Markdown
---
|
|
title: Divider
|
|
lang: en-US
|
|
---
|
|
|
|
# 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 |
|