Skip to Content
MavKitOne is in beta. @mav-labs-inc/mavkit-react is not public packages yet.
ComponentsDivider

Divider

A pure CSS content separator — no JS behavior. Horizontal only for now.

Usage

import { Divider } from '@mav-labs-inc/mavkit-react' <Divider /> <Divider label="OR" />

Example

Props

Divider accepts every native <div> attribute in addition to the props below.

PropTypeDefaultDescription
orientation'horizontal''horizontal'Reserved for a future vertical orientation — only horizontal is implemented so far.
labelReactNode—Optional label rendered mid-rule (e.g. "OR"). Omit for a plain hairline.
Last updated on