Label
A native label that connects a visible name to a control.
Preview
Use Label
Label is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- htmlFor connects the label to a matching control ID; implicit nested controls also retain native behavior.
- required adds a decorative marker only. Set required on the actual control as well. Field already composes Label.
API reference
View TypeScript source