Components
Separator
A divider for grouping content or sections.
Radix Primitives
An open-source UI component library.
Blog
Docs
Source
Installation
npm install @mijn-ui/react-separatorUsage
import { Separator } from "@mijn-ui/react-separator"<Separator />API Reference
Built on Radix UI — all underlying primitive props are forwarded in addition to the props below.
| Prop | Type | Default | Description |
|---|---|---|---|
unstyled | boolean | false | Opt out of the default styles to fully customize the component. |
classNames | object | — | Override classes per slot (see Style Slots below). |
className | string | — | Additional classes for the root element. |
Separator Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | Separator | Styles the separator component. |