Search components
Find a component by name
Input
Text input (rounded-input) with Refer focus and invalid states.
Basic
A plain Input. It uses Refer's rounded-input radius, a card background and a primary focus ring.
Field
Use Field, FieldLabel and FieldDescription to give an input a label and a description.
Field Group
Use FieldGroup to stack several Field blocks and build forms.
Disabled
Use the disabled prop to disable the input. Add data-disabled to the Field to dim its label as well.
Invalid
Use aria-invalid to mark the input as invalid. Add data-invalid to the Field to turn the label and description destructive too.
File
Use type="file" to create a file input.
Inline
Use Field with orientation="horizontal" to put an input and a Button on one line, e.g. a search bar.
Grid
Use a grid on FieldGroup to place inputs side by side.
Required
Use the required attribute and mark the label with an asterisk.
Badge
Put a Badge in the FieldLabel to flag a field, e.g. a beta feature.
Input Group
To add icons, text or buttons inside an input, use InputGroup with InputGroupAddon. See the Input Group page for more examples.
Button Group
To attach buttons to an input, wrap them in a ButtonGroup. See the Button Group page for more examples.
Form
A full form with several inputs, a Select and buttons. For validation with React Hook Form, see the Form page.
Installation
npx shadcn@latest add @refer/inputUsage in the apps
Which apps install this component, whether their copy matches the registry, and which files import it.
Imported by 71 files across the apps. From olympus-backend@2ee40d05e, Oct 26, 2026. โIn syncโ means the app's copy matches this registry; refresh with npm run usage:build.