Skip to content

[design] Component library (shadcn-aligned): buttons, inputs, cards, modals, toasts #4

@ozpool

Description

@ozpool

Context

Figma mirror of shadcn/ui primitives, themed with PRISM tokens. Every page reuses these.

Scope

In scope:

  • Button (primary/secondary/ghost/destructive, sm/md/lg, loading/disabled)
  • Input (text, number, amount-with-currency, error state)
  • Card (elevated, bordered, interactive)
  • Modal (deposit/confirm/error shapes)
  • Toast (success, error, info, pending)

Out of scope:

Acceptance Criteria

  • Matches shadcn/ui API surface
  • All states from layer AC covered
  • Figma file shared with edit access
  • All defined states covered (empty, loading, success, error, pending, disconnected)
  • Mobile + desktop frames (320 / 768 / 1280)
  • Dark mode only; WCAG AA contrast
  • Handoff doc: tokens, spacing, type scale

Dependencies

References

  • shadcn/ui

Estimate

L

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions