Skip to content

Form controlDraft

Form control displays a labelled input and, optionally, associated validation text and/or hint text.
This will be publicly visible
Names may not contain symbols
  • Flexible and composable components to layout form elements.
  • Use hint text to give users clear guidance for data entry.
  • Explain complex concepts or aid first-time users with help popovers.
  • Automatically associate labels with Telescope form elements.

Use form controls when requiring data input from the user. This component help us keep layouts consistent and ensures accessible form elements. Refer to our Forms guidelines for detailed information on forms structure, validation, and more.

Labels should be clear and brief, ideally under three words. Use sentence case. For instance: "Invoice date" or "Tax amount".

If you have a need to show a help popover and/or other supplementary content next to a label, wrap the label in our LabelWrapper component.

Upgrade now

Use hint text to give users clear guidance for data entry. Keep it brief and avoid repeating the label or other form details. If it feels redundant, try removing it. We keep help text above the input field to have reading order match the visual order, which is needed for screen readers.

To explain complex concepts or aid first-time users, prefer help popovers.

This will be publicly visible

Use the help component to aid first-time users or to clarify complex concepts. The help popover can contain interactive content and may be used to provide links for further information.

For information on how to properly fill a field, prefer hint text.

Use error messages to guide users in completing tasks, like clarifying why a value is invalid.

Select tags
Select at least one tag.

Use the CheckboxGroup component to group multiple checkboxes together.

Use the RadioGroup component to group multiple radio buttons together.

Refer to our Forms guidelines for detailed information on forms structure, validation, and more.

Do
Use clear and concise labels.
Don't
Use vague or overly long labels.
The date this invoice was issued to you
Enter the invoice date below
Do
Use hint text to give users clear guidance for data entry.
Don't
Repeat the label or other form details in the hint text.
Enter your credit card number.
Invalid field.
Do
Communicate error messages in a way that guides the user towards a solution.
Don't
Simply state what’s wrong and leave users guessing as to how to resolve it.
Do
Mark the minority as required or optional.
Don't
Mark the majority and don't use asterisks.
  • Checkbox: Checkboxes are most commonly used when there are multiple items to select in a list. Users can select zero, one, or any number of items.
  • Currency input: An enhanced input field that provides visual and non-visual cues to a user when entering an amount of money in a specified currency.
  • Date input: A means of inputting a date - either in a textfield or using a date picker interface.
  • Input: An element used to create interactive controls for web-based forms in order to accept data from the user.
  • Radio group: A form element that allow users to select an single option from a list of at least two options.
  • Select: A form component used to select data from a list.
  • Textarea: A form element that allows users to enter text on multiple lines.
This page is a draft. Its content is likely to change.