96.1k

Input

PreviousNext

Displays a form input field or a component that looks like an input field.

Installation

pnpm dlx shadcn@latest add input

Usage

import { Input } from "@/components/ui/input"
<Input />

Examples

Default

File

Disabled

With Label

With Button

Form

Changelog

2025-09-18 Remove flex class

Edit input.tsx and remove the flex class from the input component. This is no longer needed.