Separators
Usage and anatomy
Separator is a single visual or semantic divider. It renders horizontally by default; use a vertical separator inside a container with an explicit height.
import { Separator } from "@acme/ui/separator"<div className="plumeui-wv"><p>Account settings</p><Separator /><p>Notification preferences</p></div>
- Keep the default decorative behavior when the divider only provides visual grouping.
- Set
decorative={false}when the separator communicates a meaningful boundary to assistive technology.
Separator - Horizontal
License required
In order to get the source code for this component, you need to buy a license.
Separator - Vertical
License required
In order to get the source code for this component, you need to buy a license.
Separator - With text in the middle
License required
In order to get the source code for this component, you need to buy a license.
API reference
Separator
| Prop | Type | Default |
|---|---|---|
| orientation | horizontal | vertical | horizontal |
| decorative | boolean | true |
Separator also accepts the native props supported by the underlying Radix Separator element.