Lucent UI
RowDividerFormField
✦ LLM-ready

Divider

atom

Horizontal or vertical separator line for sectioning related content. Supports an optional centred label.

"Add a Divider from lucent-ui between two form sections. Use the label prop to show the text 'OR'."

Usage

React / JSX
import { Divider } from 'lucent-ui'

<Divider orientation="horizontal" label="Divider" />

Installation

pnpm add lucent-ui

API Reference

Divider props — * required

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Direction of the divider line.
labelstringOptional text centred on the divider line.