structure — wyrd.component.section

Section

Structural sectioning landmark with a consumer-provided accessible label.

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.
settings state: default
Account preferences and controls.
Usage
import { WyrdSection } from "@wyrd-company/react";

<WyrdSection label="Account settings">
  Account preferences and controls.
</WyrdSection>
02

Properties

NameTypeDefaultSummary
label string undefined Accessible name for the region; must be meaningful and unique within the page.
03

Slots & events

SlotCardinalityAcceptsSummary
content one-or-many content, component Section content.
04

States

StateSourceSummary
default platform Labelled sectioning region.
05

Accessibility

From the contract's accessibility obligations. Role region; Label property provides the accessible name.

  • Renders a sectioning landmark.
  • Label must be meaningful and unique within the page.
  • Verified under: rtl, density-compact, text-expansion.
06

SDUI

Status: serializable. Section serializes its label and content slot; landmark uniqueness remains a page-level authoring obligation.

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