Feedback and status

Banner
v1.1.3
Ready for Production

A non-interactive component for displaying static status information to users. Similar to Alert, but without user actions.

Prefer AI-assisted development?

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

Catalyst Banner is a compound primitive built from scratch with no upstream dependency. Banner goes with built-in design tokens, CVA variants, and accessibility defaults — giving you a production-ready component with zero configuration.

Preview
Did you know?
You can customize this banner by changing the variant prop.

Installation

npm install @pmi/catalyst-banner
import { BannerRoot, BannerTitle, BannerDescription } from '@pmi/catalyst-banner';

Variants

Neutral

General information without specific sentiment.

Preview
Neutral
General information without specific sentiment.

Info

Helpful context or tips for the user.

Preview
Info
Helpful context or tips for the user.

Warning

Important information that requires attention.

Preview
Warning
Important information that requires attention.

Success

Confirmation of a successful operation.

Preview
Success
Confirmation of a successful operation.

Danger

Critical information about errors or destructive actions.

Preview
Danger
Critical information about errors or destructive actions.

Common Patterns

With Icon (neutral)

Preview
Neutral
General information without specific sentiment.

With Icon (info)

Preview
Info
Helpful context or tips for the user.

With Icon (warning)

Preview
Warning
Important information that requires attention.

With Icon (success)

Preview
Success
Confirmation of a successful operation.

With Icon (danger)

Preview
Danger
Critical information about errors or destructive actions.

API Reference

BannerRoot

Extends all standard HTML div element props. The container with variant-based background and border colors. Forwards ref to the underlying HTMLDivElement.

Prop

Type

BannerTitle

Extends all standard HTML div element props. Bold title text with variant-matched colors. Forwards ref to the underlying HTMLDivElement.

Prop

Type

BannerDescription

Extends all standard HTML div element props. Supporting description text. Forwards ref to the underlying HTMLDivElement.

Prop

Type

Accessibility

ARIA

  • BannerRoot includes role="status" by default (announces non-urgent status changes to screen readers without interrupting the user)
  • For urgent alerts consider using the Alert component with role="alert" instead

Choosing the Right Component

Use this component when you need to display static status information without user actions. Reach for a different primitive when:

If you need…Use instead
To surface contextual, dismissible feedback tied to a user action or system eventAlert
To highlight important informationCallout
  • Alert - Interactive alerts with dismissible actions
  • Callout - Highlighted content blocks for documentation

On this page