Separator
A semantic or decorative divider. When semantic, exposes role="separator" to assistive technology.
Primitive: SeparatorARIA: role="separator" or role="none"
Section A
Section B
separator.rs
use stratum_leptos::*;
view! {
<Separator /> // decorative
<Separator decorative=false /> // semantic
<Separator orientation=Orientation::Vertical />
}Installation
stratum add separatorProps
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | Orientation | Horizontal | Direction: Horizontal, Vertical |
| decorative | bool | true | If true, hidden from assistive tech (role="none") |