Input
Displays a form input field or a component that looks like an input field.
Installation
›pnpm dlx shadcn@latest add @evolphin/input
Usage
import { Input } from "@/components/ui/input";<Input />Type Definitions
interface InputProps extends .<HTMLInputElement> {
/** The type of the input */
type?: string;}Examples
Default
File
Disabled
With Button
API Reference
Input
| Prop | Type | Default | Description |
|---|---|---|---|
type | string | "text" | The HTML input type. |
disabled | boolean | false | Whether the input is disabled. |
className | string | - | Additional CSS classes |