Skip to content

Divider ​

BsDivider is small and lightweight component which is primarily used to separate content within lists or layouts.

Usage Examples ​

The following is an example that demonstrate how to use the <bs-divider>.

List Item 1

List Item 2

List Item 3
Setting
Help

Exit

CSS Variables ​

As CSS technology evolves, Vue MDBootstrap introduces local CSS variables on .md-divider for better customization.

Updated in v2.2.0
css
.md-divider {
  --md-divider-color: oklch(0 0 0 / 0.15);
  --md-divider-height: 1px;
  --md-divider-margin-y: 0.25rem;
}

API Reference ​

Released under the BSD-3-Clause License.