export const title = "Input field"
export const description = "Free and open-source React input field components built for modern applications and websites. These input fields are built using React Aria and styled with Tailwind CSS."
export const links = {
github: "https://github.com/untitleduico/react/tree/main/components/base/input",
rac: "https://react-spectrum.adobe.com/react-aria/Input.html"
}
import * as Demos from "@/components/base/input/inputs.demo.tsx";
## Installation
You can add this input component using our CLI or manually:
```bash
npx untitledui@latest add input
```
Copy the files below into your project:
Great! Now you can start using the input field components in your project by just copy/pasting our examples below.
## Input examples
Below are examples and variations of this input component:
### Default {{ tocOnly:true }}
### Disabled {{ tocOnly:true }}
### Invalid {{ tocOnly:true }}
### Sizes {{ tocOnly:true }}
### Leading icon {{ tocOnly:true }}
### Leading Dropdown {{ tocOnly:true }}
### Trailing dropdown {{ tocOnly:true }}
### Leading text {{ tocOnly:true }}
### Payment input {{ tocOnly:true }}
### Trailing button {{ tocOnly:true }}
### File upload {{ tocOnly:true }}
### Password input {{ tocOnly:true }}
### Date input {{ tocOnly:true }}
### Number input horizontal {{ tocOnly:true }}
### Number input vertical {{ tocOnly:true }}
### Tag input {{ tocOnly:true }}
### Tag input outer {{ tocOnly:true }}