Components/Data display/Separator
COMPONENT47.47

Separator

Hairline rule: semantic <hr> by default, vertical via data-orientation inside flex rows.


INSTALL

1pnpm dlx @sayagodev/mo add separator

Or import the files from the package (no copy):

1import "@sayagodev/mo/css/separator.css";

EXAMPLES

Default
shadcn/ui
The Foundation for your Design System

A set of beautifully designed components that you can customize, extend, and build on.
Vertical
List
Item 1
Value 1

Item 2
Value 2

Item 3
Value 3
Menu
Group label


USAGE

1<hr />2 3<!-- vertical, inside a flex row -->4<div class="hstack gap-4">5  <a href="#">Blog</a>6  <hr data-orientation="vertical" />7  <a href="#">Docs</a>8</div>

API

NAMEKINDDESCRIPTION
hrelementHorizontal hairline (base style)
[data-orientation="vertical"]attributeVertical rule; stretches in flex rows
--bordertokenColor source

FILES

src/css/separator.css
Install:mo add separator

THEMING · PLAYGROUND

This is the exact component from the examples above, wearing a completely different theme. Edit the tokens and --mo-* hooks in the editor — autocomplete knows them all — and the preview obeys in real time. Your CSS always wins.

Tokens & hooks — edit live
Global tokens
--border

Preview

Nuo Field
Field sealing system

Field-grade components with tokens and zero dependencies.

Your CSS

Try it: type --mo- for the component hooks, or edit any value — the preview obeys in real time.