File Diff vs similar
2 options side by side. Our @design-infra pieces render live under the design system you choose; upstream pieces show their live demo where the host allows embedding, otherwise a screenshot with a link to the real thing. Pick or pass, then copy the feedback for your agent.
- No preview yetOpen live demo ↗state · press — subtledrop-inRefinedTechnical
motion · medium cost · respects reduced motion
Human-in-the-loop approval card: the chosen option expands to fill the card and the alternatives collapse away, so the decision reads as final; destructive options get bg-destructive/10. All shadcn tokens (bg-background, border-border, text-muted-foreground) and useReducedMotion throughout — the free, theme-aware alternative to beautifui/approval-card (no foundation.css --accent clash). Pass resolvedId when replaying a transcript.
$npx shadcn@latest add @smoothui/ai-approval - No preview yetOpen live demo ↗state — subtledrop-inRefinedTechnical
motion + svg · medium cost · respects reduced motion
Context-window meter: a ring that fills and shifts to amber at warningAt / red at dangerAt without ever changing size, with a token breakdown on open. Warning/danger colours are fixed oklch; the rest is tokens. Good for chat headers and agent consoles that should show budget pressure quietly.
$npx shadcn@latest add @smoothui/ai-context-meter
Feedback for your agent
Pick or pass on each option (add a reason if you like), then paste this back into your agent's chat.
From design-infra compare — File Diff vs similar: (no picks yet) Compare: https://www.owencoonahan.xyz/design-infra/compare?ids=smoothui/ai-approval,smoothui/ai-context-meter&label=File+Diff+vs+similar