Text input field with built-in validation states and icons.
import { Input } from "@/components/ui";<Input placeholder="Enter your name" />Using FieldWrapper for form layout
<FieldWrapper label="Email" required> <Input type="email" placeholder="you@example.com" /></FieldWrapper>Add icons to input
<Input placeholder="Search..." leftIcon={<Search className="h-4 w-4" />}/><Input type="email" placeholder="Email" rightIcon={<Mail className="h-4 w-4" />}/>Show validation error
<FieldWrapper label="Email" error="Invalid email address"> <Input type="email" error /></FieldWrapper>Available in multiple sizes
<div className="space-y-2"> <Input size="sm" placeholder="Small" /> <Input size="md" placeholder="Medium" /> <Input size="lg" placeholder="Large" /></div>Configure your app with the features you need and download production-ready code.
Start Configuring