‹ components

Divider

stablev1.0.0·open in canvas

Hairline rule on the outline-variant token.

Installnpx shadcn add @cids/divider
Live demo
section onesection two

Motion · tap to replay

honors reduced-motion

None.

This component declares no motion.

Brand chip remounts on tap · highlighted tokens are named in this component's doc · spring is budgeted to human feedback only.

import { Divider } from "@/design-system";

<Divider />
<Divider orientation="vertical" className="mx-2" />

Tokens · live

Resolves in the active theme — flip the toggle above to verify.

States · from doc

Parsed from the doc. Interact with the live demo for hover/active.

Static.

Hairline rule on the outline-variant token.

Anatomy

-----------  horizontal (h-px)
|  vertical (w-px, self-stretch)

Props

PropTypeDefaultNotes
orientation"horizontal" "vertical"`"horizontal"Sets aria-orientation.
classNamestring--cn-merged.

Motion

None.

A11y

Self-contained: copy the folder into any Tailwind+React app, or use the install command above. Docs and this page render the same file on disk — they cannot drift.