Skip to contentKino
Skip to Content

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.json
Share on

Examples

Order summary

  • Kino Pro, team licence5 seats, billed yearly$1,245.00
  • Priority support12 months$180.00
Subtotal
$1,425.00
VAT (20%)
$285.00
Total due today
$1,710.00

Horizontal

A line across, between the groups of a summary.

Kino site

Led by Amara Okafor
AO
  • 12Open
  • 4In progress
  • 31Done

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

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

PropTypeDefaultDescription
orientation'horizontal''vertical''horizontal'Across or down. Across fills its container’s width; down fills its row’s height. A shorter line down takes a height and self-center.

Data attributes

AttributeOnDescription
data-orientationSeparatorhorizontal or vertical.

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-hidden so it isn’t announced.
  • In forced colours the line takes the system’s text colour, so it stays visible.