Email
An input field for entering a single email address.
States
Default
Empty field, waiting for user interaction. Placeholder is visible.
Hover
Hover state indicates interactivity when the cursor is on the input field by changing the border color.
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.
Disabled
Value is visible but not editable.
Filled
Field contains user input. Placeholder is replaced by entered value.
Typing
User is actively entering text. Cursor is visible and input updates in real time.
Read only
Field content is visible but not editable. No cursor interaction.
Valid
Triggered when input meets validation rules. (On form submit) Green border + success helper text confirms correct input.
Error
Triggered when validation fails. (On form submit) Red border + error message guides user to correct the input.
Max Length
Maximum character limit reached. Additional input is restricted and helper message may appear.
Behaviour
Valid email format
- User is required to enter a valid email address with exactly one "@" symbol.
- The domain uses ASCII hostname rules: letters, digits, and hyphens in each label (hyphens not at the start or end of a label), labels separated by dots, and a final segment of at least two letters.
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
Dos and Don'ts
- Do not use input fields without proper labels as using placeholders by themselves can confuse users.
- Use placeholder with the email format required. For example, [email protected]