Skip to content
GitHub11 stars

A separator element accessible to screen readers.

<div class="separator-container">
    <a href="#" class="separator-link">
        Home

Anatomy

Import the primitives and use the part:

@using Blazix.Primitives

<SeparatorRoot />

API Reference

SeparatorRoot

Renders a <div> element.

ParameterTypeDefault
Orientation

Which way the parts are laid out, and which arrow keys move between them.

Orientation Orientation.Horizontal
Render RenderFragment<PartRenderProps>? -
ChildContent

The part's content.

RenderFragment? -

Other attributes are passed to the element it renders.

AttributeType
data-orientation

Indicates the orientation of the separator.

'horizontal' | 'vertical'