forms
Input
Text input with labels, validation, icons, and addons.
import { Input } from "@raydenui/ui"Interactive demo
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | "sm" | "lg" | "lg" | Size |
label | string | — | Label text |
helperText | string | — | Helper text |
error | string | boolean | — | Error state |
success | string | boolean | — | Success state |
leadingIcon | ReactNode | IconName | — | Left icon |
trailingIcon | ReactNode | IconName | — | Right icon |
addonRight | string | — | Right text addon |