Skip to content

Validation

Validation

Validation displays error messages below form inputs with customizable styling.

PropertyValue
Font Size12-14px
ColorRed (error), Orange (warning)
Spacing4-8px from input
Icon Size16px

Red color with error/warning icon

Error State

Orange color with info icon

Green color with checkmark (optional)

Simple text with red color

Bold text with stronger emphasis

Highlighted with colored background

Left border accent for visual emphasis

TypeExample
Required”This field is required”
Invalid”Please enter a valid email”
Too short”Must be at least 8 characters”
Mismatch”Passwords do not match”
  • Form validation errors
  • Input field error messages
  • Custom error styling needed
  • Inline error feedback
✅ Do❌ Don’t
Provide clear, actionable messagesUse vague error messages
Position close to related inputShow errors before user interacts
Use consistent message phrasingCluster multiple errors
Show after user interactionUse for critical alerts