Skip to content

Divider

Divider for separating content blocks.

Horizontal Divider

Renders a horizontal divider by default.

Above content

Below content

vue
<p>Above content</p>
<ADivider />
<p>Below content</p>

With Text

Insert text in the middle of the divider.

Content area

Section

Another area

vue
<p>Content area</p>
<ADivider> Section </ADivider>
<p>Another area</p>

Dashed

Set dashed for dashed style.

Content

Content

Dashed Section

Content

vue
<ADivider dashed />
<ADivider dashed>Dashed Section</ADivider>

Vertical Divider

Set orientation="vertical" for vertical divider.

Home
Articles
About
vue
<span>Home</span>
<ADivider orientation="vertical" />
<span>Articles</span>

Fade Variant

Set variant="fade" for a tapered fade effect at both ends.

Content

Content

Fade Dashed

Content

Home
Articles
About
vue
<ADivider variant="fade" />
<ADivider variant="fade" dashed>Fade Dashed</ADivider>
<ADivider variant="fade" orientation="vertical" />

API

Props

NameTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Direction
dashedbooleanfalseDashed style
plainbooleanfalsePlain divider
variant'line' | 'fade''line'Style, fade tapers at both ends

MIT License