PolyHunter

UserLockup

P1molecule

Proposed — does not exist yet. Needed for: Users, Hunters, Guilds. Track it in documentation/shared/design-system-inventory.md.

What it is

The hunter identity row used everywhere: avatar + display_name, with star badge and (later) verified mark — e.g. submissions in the review queue, comments, leaderboards.

What you need to create

A molecule: Avatar, display name (truncating), MissionTier (small), optional verified, optional sub-line (XP / @short_name).

Hints

  • Sizes: default (40px avatar) and small (32px) for dense tables
  • Avatar already has a fallback for missing images — lean on it

Definition of done

// packages/ui/src/molecules/user-lockup.tsx
// Kitchen sink page at apps/ds/kitchen-sink/app/molecules/user-lockup/
// Register as "wip" in app/lib/routes.ts; only UX/user approval permits "ready"
// Verify: yarn workspace @npolyhunter/ui build && npx tsc --noEmit (in apps/ds/kitchen-sink)
// Then update documentation/shared/design-system-inventory.md -> Status: built