Separator

A 1px line, for when space and tone cannot separate two regions.

View source
AboveBelow
import { Separator } from "@logicplanes/kaeso-ui";

Props

  • label
    ReactNode

    A caption in the middle of a horizontal line ("or").

  • orientation
    "horizontal" | "vertical" = horizontal

    A horizontal or vertical line.

  • tone
    "ink" | "default" | "subtle" | "strong" | "marker" = subtle

    A subtle line inside groups, a clearer one between regions, strong for a section head's rule, marker for a list item's short hairline, or ink in the text colour for a quotation's rule (2px wide when vertical).