Divider
Horizontal or vertical divider with terminal aesthetics.
Divider
Design lines
│
vue
1<Tabs defaultValue="tuix">2 <TabsList>3 <Tab value="tuix">TUIX</Tab>4 <Tab value="rubik">Rubik</Tab>5 </TabsList>6 <TabPanel value="tuix">7 <Divider design="tuix" />8 </TabPanel>9 <TabPanel value="rubik">10 <Divider design="rubik" />11 </TabPanel>12</Tabs>Demo
Orientation (orientation)
A horizontal orientation between two blocks of text.
────
Text separated by a horizontal divider.
────
vue
1<Divider orientation="horizontal" />2<Divider orientation="horizontal" />Props
orientation
Direction of the divider.
| Type | Default | Required |
|---|---|---|
'horizontal' | 'vertical' | 'horizontal' | ❌ |
design
Design line (or inherit from data-design).
| Type | Default | Required |
|---|---|---|
'tuix' | 'rubik' | — (inherits from data-design) | ❌ |
CSS Custom Properties
| Token | Default | Description |
|---|---|---|
--font-mono | "JetBrains Mono", ui-monospace, monospace | Monospace font stack for code-like content (key labels, log lines, chips). |
--accent | from theme (--ctp-latte-mauve / --ctp-mocha-mauve) | Accent color, mapped from the active semantic color. |
--border | from theme (--ctp-latte-surface0 / --ctp-mocha-surface0) | Outline and divider color for surfaces. |
Ver Theming para la convención completa.