Separator
A 1px line between groups of content, across or down, in the same colour as every other line in Kino.
npx shadcn add https://kinoui.com/r/separator.jsonCopy install command
Examples
Horizontal
A line across, between the groups of a summary.
Vertical
A line down fills the height of its row. This one only decorates a list, so it takes aria-hidden.
Short line
Give a vertical line a height and self-center to draw it as tall as the text beside it, centred on it.
Installation
Copy code
npx shadcn@latest add https://kinoui.com/r/separator.json- Files
components/kino/separator.tsx- Packages
@base-ui/reactclass-variance-authority
New to Kino? Installation covers what your project needs first and the @kino namespace.
API reference
Props
Data attributes
Accessibility
- A screen reader hears a separator between sections of content. A line that only decorates, such as one between links or list items, takes
aria-hiddenso it isn’t announced. - In forced colours the line takes the system’s text colour, so it stays visible.