---
title: Input
description: Displays a form input field or a component that looks like an input field.
component: true
---
## Installation
CLIManual
```bash
npx shadcn@latest add input
```
Copy and paste the following code into your project.Update the import paths to match your project setup.
## Usage
```tsx
import { Input } from "@/components/ui/input"
```
```tsx
```
## Examples
### Default
### File
### Disabled
### With Label
### With Button
## Changelog
### 2025-09-18 Remove `flex` class
Edit `input.tsx` and remove the `flex` class from the input component. This is no longer needed.