Skip to content

Divider ​

The BDivider component is used to separate sections of lists or layouts.

Horizontal and vertical divider ​

There are two variants. Horizontal (default) and vertical. To get the vertical variant add vertical to the component

Centered label ​

To add a label to the divider, use the label prop or the default slot. The label will be centered on the divider. Currently only supported for the horizontal variant. To make it wor you also need to add a matching background color via CSS

Accessability ​

BDivider has a role=separator and an aria-orientation of horizontal or vertical depending on orientation

Not really.