HomeStarbucks Pattern Library

FieldStatus

Notes

Displays validation messages for form fields. Used by default to show errors in components that use the FieldBase (Field, Select).

Props

  • childrennode
  • classNamestring
  • errorbool

    Current error status. Pass true to mark as an error, false to mark that the field is valid, or leave undefined for an indeterminate default state.