# Separator > Visual divider for separating content sections horizontally or vertically. Source: https://shellui.dev/docs/v0.3/components/layout/separator ## Overview The Separator component renders a thin line to visually divide content. It supports both horizontal and vertical orientations and uses `Shell.Cn()` for class merging. ## Installation ```bash shellui add separator ``` ## Usage ### Horizontal Separator (Default) ```razor
Section 1
Section 2
Section 3
``` ### Vertical Separator ```razor
Left Center Right
``` ### In Navigation ```razor ``` ### Custom Styling ```razor ``` ## API Reference | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | `Orientation` | `string` | `"horizontal"` | `"horizontal"` or `"vertical"` | | `Class` | `string?` | `null` | Additional CSS classes merged via `Shell.Cn()` | ## Accessibility - Renders with `role="separator"` for screen readers. - `aria-orientation` is set based on the `Orientation` parameter. - Purely decorative — does not receive keyboard focus.