Skip to content

[Frontend · Shared primitives] Create shared StatusBadge primitive #282

@amina69

Description

@amina69

Epic: Shared primitives
Labels: ui, phase-2, frontend
Size: XS (~2-4 hours)

Description

Base badge component that all domain-specific badges (Adoption, Custody, Dispute, Escrow) build on.

Tasks

  • Accept color: "gray"|"blue"|"teal"|"green"|"amber"|"red", label: string, tooltip?: string props
  • Render pill with correct background and text colors using design token vars
  • Add pulse prop for SLA_BREACHED use case (CSS animation)
  • All domain badges import and configure this primitive
  • Unit test: each color variant renders correct CSS classes

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions