data display
separator
a groove scored into the surface, with room for a word in the middle.
installation
new to blurrow? this sets up your project in one go: the package, the styles and the font. already done it? skip straight to usage. the installation page has the details.
bash
npx @blurrow/ui init›rather own the code? copy the source instead
let the cli copy it, along with anything it needs:
bash
npx @blurrow/ui add separatoror by hand: drop this file into components/ui and import from there.
usage
tsx
import { Separator } from "@blurrow/ui";tsx
<Separator label="or" />examples
vertical
props
straight from the source, so they're always up to date.
propsts
interface SeparatorProps { orientation?: "horizontal" | "vertical"; /** A few words set into the middle of the line, like "or" */ label?: React.ReactNode; /** Only draws a line; screen readers skip it */ decorative?: boolean; className?: string;}