A styled label for form controls.
import { Label } from '@oztix/roadie-components'
In most cases, use Field to wrap your form controls
instead of using Label directly. Field.Label automatically wires
htmlFor, provides consistent spacing, and supports showIndicator for
required/optional indicators.
<Field required><Field.Label showIndicator>Full name</Field.Label><Field.Input /></Field>
Use Label only when you need a styled label outside of a Field wrapper.
One example is a label next to a standalone toggle or a non-form context.
htmlFor and id attributes.<label> element for built-in browser accessibility.Field.Label which handles htmlFor/id wiring automatically.No additional props. It forwards all standard HTML attributes to the underlying element.