Text field

Text fields let users enter text into a UI

Usage

TextField allows users to enter and edit text.

import { TextField } from "@udixio/ui-react"
<TextField label="Email" name="email" type="email" placeholder="you@company.com" />

Variants

  • filled (default)
  • outlined

Leading/trailing icon and suffix

Use leadingIcon, trailingIcon, or suffix for extra affordances.

Multi-line

Set textLine to “multiLine” for auto-growing textarea, or “textAreas” for a standard textarea.

Error and supporting text

Show validation and helper text with errorText and supportingText.