The Separator component provides a visual divider between content sections.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/yogendrarana/craftdotui/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Usage
Props
Orientation of the separator.Options:
horizontal, verticalAdditional CSS classes.
Examples
Horizontal Separator
Vertical Separator
In a Menu
Custom Styling
Accessibility
- Built on @base-ui/react Separator primitive
- Proper semantic role=“separator”
- Orientation communicated to screen readers
- Default margins for spacing