# Motion Phase B — UI Kit Implementation Plan

> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans or subagent-driven-development. Steps use checkbox (`- [ ]`) syntax.

**Goal:** Motion-polish remaining shared UI primitives for premium presence.

**Architecture:** Reuse `overlayVariants` / `springSnappy` / `easeOutExpo` from `lib/motion.ts`; wrap Radix overlay content with Motion where safe; CSS+layoutId for tabs; micro-springs for checkbox/switch.

**Tech Stack:** Radix, Motion, Tailwind, existing design tokens

## Global Constraints

- Premium presence; `useReducedMotion` everywhere transforms run
- No business-logic / API changes
- Verify: `npx tsc --noEmit`
- Commit only if user asks

---

### Task 1: Overlay primitives

**Files:** `dialog.tsx`, `alert-dialog.tsx`, `sheet.tsx`, `popover.tsx`, `tooltip.tsx`, `hover-card.tsx`

- [x] Motion + rounded-xl + ring shadow on content; purple-consistent focus
- [x] `tsc`

### Task 2: Form controls

**Files:** `input.tsx`, `textarea.tsx`, `checkbox.tsx`, `switch.tsx`, `radio-group.tsx`

- [x] Focus/checked Motion + primary styles
- [x] `tsc`

### Task 3: Tabs, accordion, table, toasts

**Files:** `tabs.tsx`, `accordion.tsx`, `table.tsx`, `toast.tsx`, `sonner.tsx`

- [x] Tabs active pill + content fade; accordion/table/toast polish
- [x] `tsc` + acceptance

---
