structure — wyrd.component.divider

Divider

Visual separation primitive with horizontal and vertical orientation.

Install @wyrd-company/react or the Flutter package and use it directly — your DESIGN.md does the styling.

01

Examples

Generated from the contract's examples block. Previews are the published @wyrd-company/react component, themed by the brand's role tokens — flip the site's light/dark toggle and they follow.

Code target Applies to every example on component pages.
default state: default
Usage
import { WyrdDivider } from "@wyrd-company/react";

<WyrdDivider orientation="horizontal" />
vertical state: vertical
Usage
import { WyrdDivider } from "@wyrd-company/react";

<WyrdDivider orientation="vertical" />
02

Properties

NameTypeDefaultSummary
orientation horizontal | vertical horizontal Separator axis; vertical dividers expose explicit orientation to assistive technology.
03

Tokens

The contract's token bindings. Open the shared contextual sidebar from any example; primary swatches reflect the color you pick there. Error swatches show the active preset's values; editing any knob switches to custom and resets error to TWW · Ink.

BindingToken
color color.outline
thickness 1px
04

States

StateSourceSummary
default platform Horizontal separator.
vertical property Vertical separator derived from orientation.
05

Accessibility

From the contract's accessibility obligations. Role separator

  • Represents a purely visual division.
  • Vertical separators expose aria-orientation because horizontal is the implicit separator orientation.
  • Verified under: rtl, density-compact, text-expansion.
06

SDUI

Status: serializable. Divider serializes its orientation and no slots.

SerializableMembers
Propertiesorientation
Slots
Events
The Wyrding Way — a contract-first design system. © Wyrd Company