Components/Input
Input
Single-line text field with optional left/right adornments, sizes, and error state.
Installation
npx ajaxui add inputUsage
import { Input } from "@/components/ui/input"
export default function App() {
return <Input placeholder="Email" />
}Sizes
With adornments
@
.com
Props
| Prop | Type | Default |
|---|---|---|
| inputSize | "sm" | "md" | "lg" | "md" |
| leftElement | ReactNode | — |
| rightElement | ReactNode | — |
| error | boolean | false |
| disabled | boolean | false |