Ready

Inputs

Inputs allow users to enter or edit content and data. The Form Input supports custom text entry or selection from pre-defined choices.

Ready

Inputs

Inputs allow users to enter or edit content and data. The Form Input supports custom text entry or selection from pre-defined choices.

Ready

Inputs

Inputs allow users to enter or edit content and data. The Form Input supports custom text entry or selection from pre-defined choices.

Anatomy

Anatomy

Anatomy

  1. Label

  2. Input

  3. Help Text

Variants

Variants

Variants

  1. Default

  2. Text Area

  3. Read Only

  4. Inline

States

States

States

  1. Default

  2. Hover

  3. Focus

  4. Disabled

  5. Locked

  6. Error

  7. Error with Tooltip

  8. Error with Tooltip Active

Behaviors

Behaviors

Behaviors

Text Overflow

  1. Default: Single line form inputs will overflow additional text horizontally within the field. The user can use the keyboard or scroll horizontally to view the hidden text.

  2. Text Area: Text areas allow multiple lines of text by wrapping the text. If the text exceeds the max-height of the field, then the user may use the keyboard or scroll vertically to view the hidden text.

Best Practices

Best Practices

Best Practices

1. Label

Form inputs should always include a label. ²

2. Concise and Clear

Labels should be concise and clear. Labels should not be truncated and they should use title case. ¹

3. Errors

If there is a validation error, text explaining the error should be displayed. ³

4. Placeholder Text

Placeholder text can be used to provide helpful hints or to demonstrate the format to use. It should not include critical information and should not be used as a replacement for a label. ²

5. Sizing

The Input size should support expected user input. ¹ Using equally size form inputs may look clean but this can constrain the input area and make it harder to fill out.³

6. Error with Tooltip

For situations where limited space prevents displaying a clear error message, use the tooltip error state. However, remember that tooltips are less accessible than visible text, so use them sparingly.

More

More

More

Related Components

Related Patterns

Additional Reading

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

© 2025 Basis Technologies
© 2025 Basis Technologies
© 2025 Basis Technologies