Forma 36

ValidationMessage

StorybookGithub
stable

ValidationMessage provides a consistent styled paragraph for messages in case of validation errors.

Name is a required field

Table of contents

  1. Best practices
  2. Writing guidelines

Best practices

  • Only use this component in the context of a form and as corresponding guidance to an input field which has validations.

Writing guidelines

  • Avoid negative words and tone
  • Give direction on how to fix the error
  • Use direct, succinct copy. Do not preface the instructions with introductory text, such as "please"
  • To add additional context, link out to documentation
  • Do not use punctuation
  • Use sentence style caps (in which only the first word of a sentence or term is capitalized)