Input
A native input with semantic styling and independent visual sizing.
Preview
Use Input
Input is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Use Field or a native associated label; placeholder text is not a label.
- controlSize changes appearance. The native numeric size attribute keeps its HTML meaning.
- Default outlines use the quiet field.border role. field.boundary is a stronger opt-in; preserve the independent focus indicator when customizing colors.
API reference
View TypeScript source