Skip to content

Text field

Filled or outlined text input with a floating label, icons, affixes, counter, error icon and a text area.

import { TextField } from '@windmorph/react';

Playground

We never share it.

Code

import { TextField } from '@windmorph/react'; <TextField  label="Email"  supportingText="We never share it."  errorMessage="Enter a valid email address."/>

Examples

Variants

Icons, prefix and suffix

Required, disabled, read-only and error

Text area, growing field and character counter

In a form

Density