Separator
Visually or semantically separates content.
An open-source UI component library.
Blog
Docs
Source
<div style="width: 300px; margin: 0 15px;" slot="component">
<div class="Text">An open-source UI component library.</div>
<Separator class="SeparatorRoot" style="margin: 15px 0;" />
<div style="display: flex; height: 20px; align-items: center;">
<div class="Text">Blog</div>
<Separator
class="SeparatorRoot"
decorative
orientation="vertical"
style="margin: 0 15px;"
/>
<div class="Text">Docs</div>
<Separator
class="SeparatorRoot"
decorative
orientation="vertical"
style="margin: 0 15px;"
/>
<div class="Text">Source</div>
</div>
</div>
API Reference
Separator
Prop | Type | Default |
---|---|---|
orientation |
Orientation |
horizontal |
decorative |
boolean |
false |