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 |
---|---|---|
orientation | string | horizontal |
label | React.ReactNode | - |
Last updated on July 18, 2022