Umbra UI

Divider

A 1px rule between sections.

Staticimport { Divider } from 'umbra-ui'

Docs
API
Changelog

Variants and states

Horizontal

Usage
Billing

Props

PropTypeDefaultDescription
decorative booleantrueWhen `true` the divider is purely visual and hidden from assistive tech.
orientation "vertical" | "horizontal"horizontalLine direction.

Usage notes

Decorative by default.

Accessibility

  • Pass decorative={false} when the divider separates content semantically: it then has role="separator".

Import

import { Divider } from 'umbra-ui';
import 'umbra-ui/styles.css'; // once, at the root of your app