Components

Label

An accessible label that wires up to any form control.

Usage

import { Label, Input } from '@onersoft/design-system'

<Label htmlFor="email">Email</Label>
<Input id="email" type="email" />

Notes

Label wraps Radix Label.Root and inherits its props. It connects to controls via htmlFor (matching the control's id) or implicit nesting.

On this page