Form utilities

HelperText
v1.1.3
Ready for Production

A text component for displaying supplementary information, hints, and error messages in forms.

Prefer AI-assisted development?

This documentation is available via the Catalyst MCP Server. Learn how to connect →

Catalyst HelperText is a simple text component that goes with built-in design tokens, CVA variants, and accessibility defaults — giving you a production-ready component with zero configuration.

Preview
Helper text

Installation

npm install @pmi/catalyst-helper-text
import { HelperText } from '@pmi/catalyst-helper-text';

Sizes

Preview
Helper textHelper textHelper text

Common Patterns

With Icon

Integrates icons with helper text using the asChild pattern.

Preview
Helper text with icon

Danger State

Uses the danger prop to indicate errors or validation issues.

Preview
Something went wrong

API Reference

Extends all standard HTML span element props.

Prop

Type

Accessibility

HelperText is designed to meet WCAG 2.2 AA standards. The section below documents ARIA semantics.

ARIA

  • Provide HTML id to associate the helper text with form fields using aria-describedby.

Choosing the Right Component

Use this component when you need supplementary information (hints or status messages) in forms. Reach for a different primitive when:

If you need…Use instead
A form field labelLabel
An alternative text styling componentSubText
A text input fieldTextField

On this page