Components

A divider for grouping content or sections.

Radix Primitives

An open-source UI component library.

Blog
Docs
Source

Installation

npm install @mijn-ui/react-separator

Usage

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.

PropTypeDefaultDescription
unstyledbooleanfalseOpt out of the default styles to fully customize the component.
classNamesobjectOverride classes per slot (see Style Slots below).
classNamestringAdditional classes for the root element.

Separator Style Slots

Slot NameTargeted ComponentPurpose
baseSeparatorStyles the separator component.