Token Input
Numeric input with token selector dropdown, balance shortcut, and USD estimation.
Loading component preview...
Props
[5 props]| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | "" | Controlled input value string. |
| token | string | "SOL" | Currently chosen token symbol. |
| balance | string | "0" | Available wallet balance for quick-fill. |
| onChange | (val: string) => void | undefined | Fired when user types amount. |
| className | string | undefined | Optional Tailwind CSS class name overrides. |