r/reactjs • • 14h ago

Built a set of spring-physics React UI primitives for AI agent workflows (tool timelines, approval gates, diff reviews); 3 are free via shadcn CLI

https://sks-agent-ux.vercel.app/

I built these because most AI agent interfaces I was working on felt stiff compared to tools like Linear or Cursor, and I kept rebuilding the same streaming/tool-call/approval patterns from scratch.

Everything is built with React, Tailwind CSS, and Motion (spring physics, zero layout jitter, prefers-reduced-motion support) and distributed through a shadcn-compatible registry (@sks) so it works with npx shadcn add and shadcn mcp.

Free components (no key needed):

- thinking-shimmer — reasoning shimmer with live elapsed timer

- tool-call-pill — spring-morphed pill across pending, running, and settled states

- streaming-text — token-by-token fade-in with zero layout jitter

Pro kit (9 components): reasoning-accordion, agent-timeline, approval-gate, citation-hover-card, context-meter, artifact-split-pane, voice-waveform, prompt-command-bar, and diff-review-card.

Live interactive playground: https://sks-agent-ux.vercel.app

Happy to answer any questions about the spring configs, layout animations, or setting up a custom shadcn registry!

0 Upvotes

0 comments sorted by