Input

A styled native input or textarea — every form API works as is.

Features7APIThemingAccessibility

Basic

With a reactive form control.

Value: —

Variants

outlined (default) or filled.

States

Native readonly and disabled — styled the same in every field.

Invalid

Turns red by itself once a form control is invalid and touched. [invalid] forces it.

Fluid

Default width follows the browser; fluid (or a parent <tx-fluid>) takes the full width.

Design tokens

[dt] changes the formField tokens of one field.