TextInput

Prefix & Suffix

TextInputs can have a prefix and/or suffix, most commonly used for specifying units.

$
cm
() => {
  const icon = <IconCloud />;

  return(
    <DemoLayout>
      <TextInput type="number" prefix="$" />
      <TextInput type="number" suffix="cm" />
    </DemoLayout>
  );
}