Inputs

Input fields allows users to enter and edit text.

Text input fields allows users enter and edit text. They typically appear in forms and dialogs. A text input field can have different states in order to provide visual feedback to user actions.


Anatomy

The anatomy of a input differs depending on the use case and context. These are the most commonly used features of an input field:

  1. Label. A label describing the input required.
  2. Placeholder. An example text indicating a possible input.
  3. Shadow. For inputs it's always the token shadow-ui-inward.
  4. Unit. In use cases where the unit of the input needs to be specified.
  5. Comment. For extra context and/or validation messaging.

Component Health

Healthy
Show details
Healthy
Published: August 09, 2024
Updated: January 03, 2025