GitHub 560+

Separator

Visually or semantically separates content.

Horizontal Separator

Divides sections horizontally

End of content

Installation

npx shadcn@latest add @fulldev/separator

Usage

import { Separator } from "@/components/ui/separator"
<Separator />
<Separator decorative={false} />

Examples

Account
Billing
Settings

Notes

  • Use decorative={false} when the separator conveys structure to assistive technology.
  • Vertical separators stretch inside flex rows by default.

API Reference

See the GitHub source code for more information on props.