KasyKasy

Field Error

Live preview and documentation for the Field Error component.

Preview

componentPreview.loading

About

Error message that appears below a form field when its value is invalid. It's the sibling of Description, sharing the same layout and typography, only the color changes.

  • Takes only the text (KasyFieldError('text')), no other props.
  • Fixed style: HeroUI "Body xs" (12/16, weight 400), error color.
  • KasyTextField already renders its own error internally; use this component when building a custom field from scratch.

Last updated on 08/23/2026

On this page