Skip to main content

Email


Email fields collect and validate user email input. This element enforces format rules and supports error states, placeholder text, and interaction events.

Email field input with label and outline

Properties

PropertyValueDescription
TypeEmailUI component type
GroupFieldBelongs to the "Field" group in UI catalog
Identifier13Unique element ID
PreviewSee image preview above
ValueYAccepts user input
MandatoryYRequires user entry before form submission
ErrorYSupports validation error states
Read-onlyYSupports read-only display
Text, IconYCan include icon or label text
EventYTriggers form update or validation logic
ChildrenNo nested child elements
ShadeYIncludes shaded input background
ListNot a list container
MinNo minimum constraint
MaxNo maximum constraint

Usage Example

<Input type="email" label="Email address" placeholder="doctor@example.com" required />

SDK Integration

The Doctor Login screen uses this element. It links to the SDK method:

Method: /account/doctor/details

Authenticates a doctor account using email, password, and optionally an MFA code. Starts a session if credentials are valid.


Example UI Placement

LevelIDTypeDescription
1emailEmailEmail address input

Notes

  • Enforces valid email structure (e.g. user@example.com).
  • Field may trigger immediate validation and error display.
  • Required for login, registration, or reset flows.