Catalog/Tokens & trading/Token Input

Token Input

Numeric input with token selector dropdown, balance shortcut, and USD estimation.

Loading component preview...

Props

[5 props]
PropTypeDefaultDescription
valuestring""Controlled input value string.
tokenstring"SOL"Currently chosen token symbol.
balancestring"0"Available wallet balance for quick-fill.
onChange(val: string) => voidundefinedFired when user types amount.
classNamestringundefinedOptional Tailwind CSS class name overrides.