Separator
Documentation Index
Fetch the complete documentation index at: /llms.txt. Use this file to discover all available pages before exploring further.
A separator element accessible to screen readers.
separator-demo
Overview
Use Separator to divide related content or controls.
Separators are useful in menus, toolbars, cards, settings pages, and layouts where a visual break makes scanning easier.
Anatomy
A separator is a horizontal or vertical line. It can be decorative or semantic depending on how it is used.
Usage guidance
Use separators sparingly. Spacing and headings should do most of the grouping work. Add a separator when the visual boundary improves clarity.
Accessibility
If the separator communicates structure, keep it accessible. If it is only decorative, hide it from assistive technology.
Installation
npx honestui@latest add separatorUsage
import { Separator } from "@/components/ui/separator"<Separator />