Input

A native input element.

API Reference

Installation

pnpm dlx cnippet@latest add input

Usage

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

Examples

For accessible labelling and validation, prefer using the Field component to wrap inputs, or the FieldControl component. See some related examples.

Sizes

File

With Label

With Button

Form Integration