Input
Single-line text field for user data entry and form submission.
Installation
Add the component to your project using the following command:
Usage
Import
Import the component and its related parts.
Structure
The expected structure and composition of the component.
Props
Each component part, its responsibility, and the props it exposes.
<Input>
The input control component.
Base behavior is provided by Base UI Input. Refer to its documentation for the full API.
Name
Default
Options
`variant`
`default`
`default``subtle`
Examples
Subtle
Use the variant="subtle" prop to make the input have a subtle background color.
File
Use the type="file" prop to make the input a file input.
Disable
Use the disabled prop to make the input disabled.