ttolbel UI

Component

Wallet input

A text field that recognizes a wallet-address format as you type and swaps into a confirmed-address card, showing a saved label or new/previously-used status.

The primitive

wallet input.tsx
<NativeEvmInput
  label="Destination address"
  value={value}
  onValueChange={setValue}
  status="saved"
  savedLabel="Morgan Diaz"
/>

Example

Shown both before and after recognition: the plain field while typing, then the confirmed-address card once the format resolves.

evm-input-example.tsx
<NativeEvmInput label="Destination address" value={value} onValueChange={setValue} />
<NativeEvmInput label="Destination address" value={value} onValueChange={setValue} status="new" />

Capabilities

PropTypeDescription
labelstring
valuerequiredstring
onValueChangerequired(value: string) => void
onBlurReact.FocusEventHandler<HTMLInputElement>
namestring
placeholderstring
errorstring
size"sm" | "md" | "lg"
surfaceNativeInputSurface
savedLabelstring | null
statusNativeEvmInputStatus | null
metadataLoadingboolean
onReset() => void