Separator
Vertical Stat Rules
A row of stats with vertical rules: the line takes its height from the neighbours instead of setting it, so the row never grows because of the rule.
What you can change
- the spacing between blocks through gap in pixels
- the rule height through dividerHeight: text or full
- the stat set through items
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/separator-003?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
A server component, no hooks. The row is aligned with align-items:stretch, which makes the one-pixel rule stretch to the height of the tallest block by itself — setting its height by hand is unnecessary and harmful. The text mode limits the line to the height of the value line: this is what headers do, where a full-height line looks like a table border. Every rule is marked with role=separator and aria-orientation=vertical, so the boundary between the numbers is audible. The spacing is exposed as the gap prop and substituted through a variable in pixels. There is no background by default: the palette is declared through light-dark(), so the row follows the surrounding theme, and only a set background prop lays a panel under it.
Tags
- separator
- vertical
- stats
- row
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…