LLabanaat

Separator

Visual/semantic divider built on Radix's Separator primitive. Decorative by default, so it's removed from the accessibility tree.

<div className="ui-w-64">
  <p className="ui-text-[var(--ui-text-sm)]">Section one</p>
  <Separator className="ui-my-4" />
  <p className="ui-text-[var(--ui-text-sm)]">Section two</p>
</div>

Editable — change the code above and the preview updates live.

Installation

import { Separator } from "@labanaat/ui/separator";

Props

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Direction of the divider
decorativebooleantrueRemoves it from the accessibility tree when purely visual