# `ShadcnUI.Components.Content.Separator`
[🔗](https://github.com/pcharbon70/shadcn_ui/blob/main/lib/shadcn_ui/components/content/separator.ex#L1)

Semantic or explicitly decorative separation between caller-owned regions.

Semantic mode renders a native `hr`. Decorative mode renders a nonsemantic
element hidden from accessibility APIs. Orientation controls presentation;
applications remain responsible for choosing whether a boundary carries
document meaning.

# `separator`

Renders one semantic or explicitly decorative separator.
## Attributes

* `mode` (`:atom`) - Defaults to `:semantic`. Must be one of `:semantic`, or `:decorative`.
* `orientation` (`:atom`) - Defaults to `:horizontal`. Must be one of `:horizontal`, or `:vertical`.
* `class` (`:any`) - Defaults to `nil`.
* Global attributes are accepted.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
