Components

Divider

Separates content sections with a horizontal or vertical line. Supports labels and custom styling.

import{ Divider }from"oks-ui"
HorizontalVerticalWith labelCustom thicknessColor variants

Horizontal

Default horizontal divider between content blocks.

Above

Below

Vertical

Vertical divider for inline content separation.

LeftCenterRight

With Label

A divider with a text label in the center.

Interactive Playground

Controls

Preview

Generated Code

<Divider>OR</Divider>

Props

orientation"horizontal"

"horizontal" | "vertical"

Divider orientation.

variant"solid"

"solid" | "soft" | "bordered"

Divider variant.

color"default"

"default" | "primary" | "secondary" | "info" | "success" | "warning" | "danger"

Divider color.

thickness

number | string

Custom thickness value.