Skip to content
Docs
Components
Primitives
Divider

Divider

Divider is a static structure that provides a visible boundary for elements. It uses reakit's Separator component internally.

Imports

import { Divider } from "@renderlesskit/react-tailwind";

Usage

Divider direction

Divider comes with two directions: horizontal and vertical.

Divider label

Divider can have a label at the center to mark it as a section.

API Reference

Prop

Type

Default

orientationstringhorizontal
labelReact.ReactNode-