Single Line Text

Single Line Text is used to insert a small amount (or single line) of text, such as a name or a city.

Default
Label
Helper text 0 / 255
States
Label
Helper text
Default Empty field, waiting for user interaction. Placeholder is visible.
Label
Helper text
Hover Hover state indicates interactivity when the cursor is on the input field by changing the border color.
Label
Helper text
Active/Focus Active state: Occurs during the moment an element is being activated by the user's input. Focus state: Indicates that an element is currently selected to receive user input, whether from a keyboard, mouse, or voice.
Label
Helper text
Disabled Value is visible but not editable
Label
Helper text
Filled Field contains user input. Placeholder is replaced by entered value.
Label
Helper text
Typing User is actively entering text. Cursor is visible and input updates in real time.
Label
Helper text
Read only Field content is visible but not editable. No cursor interaction.
Label
Input is valid
Valid Triggered when input meets validation rules. (On form submit) Green border + success helper text confirms correct input.
Label
This field is required
Error Triggered when validation fails. (On form submit) Red border + error message guides user to correct the input.
Label
Maximum character limit reached 255 / 255
Max Length Maximum character limit reached. Additional input is restricted and helper message may appear.
Behaviour
With char count
  • Shows remaining characters as users type, helping them stay within the allowed limit.
Specs
1
Label
  • Describes the purpose of the input field.
  • Recommended max 100 char
2
Input text
  • The main area where users type in their data.
  • Max 255 char
3
Helper text
  • Optional. Provides additional guidance or contextual information.
  • Keep copy short. Read usage guidelines.
  • Recommended max 30 char (include spaces).
4
Field icon
  • 20x20, SVG
  • Positioned on the right side of the field
  • Required for error and success states; optional for other variants
  • Refer to the Utility Icon Library for the available icons
5
Counter
  • Shows entered characters out of maximum limit.
1 Label
2 4
3 Input is valid 7 / 255 5
Dos and Don'ts
  1. Do not use input fields without proper labels as using placeholders by themselves can confuse users.
  2. Avoid long placeholder text. If you require to include more text, please consider using the helper text area.