Components
Separator
Visually or semantically separates content into groups.
Installation
Install ReUI
Refer to the Installation Guide for detailed instructions on setting up ReUI dependencies in your project.
Install dependencies
npm install @radix-ui/react-separator
Add component
Copy and paste the following code into your project’s components/ui/separator.tsx
file.
Examples
Default
Loading
API Reference
This component is built using Radix UI Separator primitives. For detailed information, please visit the full API reference.
Separator
This component is based on the Separator.Root primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
orientation | ||
decorative | ||
className |