Skip to content
Stable

Divider

Our Divider component is a styled horizontal rule. It is a 20% opacity black single line to maintain its contrast on a variety of (light) background colours.

Installation

bash
npm install @nib-components/divider

Usage

jsx
import Divider from '@nib-components/divider';

Interactive demo

jsx

Props

There are no props for this component.

Considerations

The Divider component does not include spacing. You must handle this separately by using the appropriate layout component.