Skip to content
AJS InnovationsUI

Components

Badge

Compact semantic labels, including the observed green Active state.

ActivePendingExpiredDraftIn progress

Interactive local example · fictional data

The Code tab contains this preview’s complete source, including sample data and interaction state. Load the package stylesheet and Switzer font as described in the installation guide. Additional layout utilities require Tailwind CSS in your application.

API reference

PropTypeDefault
variant"success" | "warning" | "danger" | "neutral" | "info""neutral"

Primitives also accept their underlying HTML or Radix props. Full types are included with the package.

Behavior & accessibility

  • Always include status text; color alone should not communicate meaning.

Reference

Dashboard membership status