Skip to content

Divider ​

The dividing line that separates the content.

Basic usage ​

Divide the text of different paragraphs.

Custom content ​

You can customize the content on the divider line.

dashed line ​

You can set the style of divider.

Vertical divider ​

API ​

Attributes ​

NameDescriptionTypeDefault
directionSet divider's direction'horizontal' | 'vertical'horizontal
border-styleSet the style of divider'none' | 'solid' | 'hidden' | 'dashed' | ... css/border-stylesolid
content-positionthe position of the customized content on the divider line'left' | 'right' | 'center' center

Slots ​

NameDescription
defaultcustomized content on the divider line

Released under the MIT License.