Divider

Dividers enhance clarity in a layout by grouping and separating content that is in close proximity. They can also establish rhythm and hierarchy.

TypeResource
DesignFigma
WebWeb Storybook
CodeGitlab

Usage

import { Divider } from 'bio-bind-ui';
<Divider
  direction='horizontal'
  mode='light'
  style={{}}
  thickness='thin'
  type='solid'
/>

Examples

Divider Type

Set the type prop to solid or dashed for different style.

Divider Thickness

Set the thickness prop to thin, normal, or thicker for different thick.

Divider Direction

Use the direction prop to horizontal or vertical.

Mode (optional)

Use mode to use dark or light


Props

PropsRequiredDefaultTypedescription
directionfalsehorizontalhorizontal verticalProvide direction of divider (horizontal or vertical) .
stylefalse-CSSPropertiesCustom styles for the divider component.
modefalselightlight darkThe theme mode of the divider (light or dark).
thicknessfalsethinthin normal thickerThe thickness width of the divider.
typefalsesolidsolid dashedThe visual style of the divider (solid or dashed).
BIND © Biofarma Innovate Next-level Design .