AsterUIDocsv1.0.2

Docs / Component reference

Separator

Mark a boundary between groups of content. A divider can run horizontally or vertically.

Separator example

Install

sh
npx @fierst/ui@1.0.2 add separator

Registry dependencies: theme.

Exports from ./ui/separator: Separator.

Download the registry source for separator 1.0.2.

API contracts

ts
export function Separator({
  orientation = 'horizontal',
  label,
  decorative = true,
  class: extraClass,
}: {
  orientation?: 'horizontal' | 'vertical';
  label?: string;
  decorative?: boolean;
  class?: string;
})