Separator
Separator Primitive
Demo
Creates a visual or semantic distinction between content.
Installation
Copy/paste the following code to ~/components/ui/separator.tsx
Usage
Props
Separator
Extends View
props
Prop | Type | Note |
---|---|---|
orientation | ’horizontal’ | ‘vertical’ | Defaults to horizontal (optional) |
decorative | boolean | (optional) |
asChild | boolean | (optional) |