Component
Separator
Divide adjacent groups with a quiet rule that can be decorative or exposed to assistive technology.
Interactive preview
Usage
Import the component entry and start with its smallest complete example.
Import
import { Separator } from "@chitrank2050/monoline-ui/separator"Basic usage
<div>
<p>Account</p>
<Separator />
<p>Billing</p>
</div>Usage guidance
Choose the component for its interaction model and semantics before customizing its appearance.
Separator creates a quiet visual or semantic boundary between adjacent sections, items, or control groups.
Spacing alone explains the grouping, or a heading and section boundary would communicate the structure more clearly.
Separator is decorative by default and stays out of the accessibility tree. Set decorative to false only when the divider carries structural meaning.
This component needs browser JavaScript for state or browser APIs.
API reference
Props, slots, and callbacks available on this component.
Design tokens
Theme variables this component reads for color, spacing, and motion.
Implementation
The source used by the example above, including any state it needs.
<div>
<p>Account</p>
<Separator />
<p>Billing</p>
</div>Related documentation
Compare related components or review the package and theme setup.