Input
A text field. Leading and trailing slots hold icons, units, prefixes or a keyboard hint without extra wrappers.
FormsDumb extras
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
Input
| Prop | Type | Default |
|---|---|---|
| leadingextra | ReactNodeRendered inside the field before the text. | - |
| trailingextra | ReactNodeRendered inside the field after the text. | - |
| ...props | ComponentProps<"input">All native input props. | - |