Separator
Dashed Rule Divider
A dashed divider with a controllable pattern: dash length and gap are set as numbers, so the same dash repeats identically across the layout.
What you can change
- the dash length through dash in pixels
- the space between dashes through gap in pixels
- the captions through above, below, doneText and the dashText template with {dash} and {gap}
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-004?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. border-style:dashed draws a dash whose length depends on the browser and on the border thickness — the same dash pattern cannot be reproduced in two places of a layout that way. Here the line is built with repeating-linear-gradient, where the dash length and the gap are exposed as the --vibeui-separator-004-dash and --vibeui-separator-004-gap variables and substituted from props in pixels. The divider uses an hr tag with its border removed, so the boundary is visible to a screen reader as well. The component is shown in the context of two section rows; there is no background by default, the palette is declared through light-dark() and follows the surrounding theme. All captions are exposed as props: above, below, doneText and the dashText template, where {dash} and {gap} are substituted with numbers.
Tags
- separator
- dashed
- gradient
- divider
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…