Displays a text field for user input or an element styled to resemble one.
@radix-ui/react-slot
lucide-reactInstall the following dependencies:
A form field component that displays an input box, optionally with icons, and supports password visibility toggling.
| Prop | Type | Default |
|---|---|---|
| type | string (e.g., text, password) | text |
| iconLeft | React.ReactNode | null |
| iconRight | React.ReactNode | null |
| className | string | - |
| asChild | boolean | false |