Skip to main content

AffixedInput

A component for displaying an input with a prefix and/or a suffix.

Example

Tsx
<AffixedInput    {...field}    type="number"    suffix="%"    value={field.value}    onChange={e => field.onChange(e.target.valueAsNumber)}/>
Signature
function AffixedInput(props: Readonly<AffixedInputProps>): void

Parameters

props

parameterReadonly<AffixedInputProps>
Was this chapter helpful?
Report Issue
Edited Feb 2, 2026·Edit this page