shadcn explains uisdk: import primitives, not wrappers, one codebase across 5 frameworks
shadcn · x · 2026-11-21
shadcn describes @uisdk's design: instead of wrapping components, you import a primitive with built-in behaviors and create its parts using your own framework's tags and names.
- The same code works in React, Vue, Svelte, Solid, and Web Components
- Example: import alertDialog from @ui-sdk/core/alert-dialog, then map root/trigger/content parts to your own components via createParts
- He also suggests simply asking your AI agent to build you a component library with it
More from coding & agent
- Microsoft's Fabric HorizonDB signals the shift to agent-driven applications — DavidLinthicum · 2026-11-21
- Multica Ships Realtime Docs for 100+ Humans and Agents, Replacing Feishu Internally — jiayuan_jy · 2026-11-21
- Epic Ports 20,000+ Fortnite Blueprints to Verse in Two Weeks with AI, Expected to Take Years — jradoff · 2026-11-21
- Merchant blocks shopping agent, loses $1,100 sale as bot buys locally instead — Scobleizer · 2026-11-21
- Dev reverse-engineers Vinted's internal API into a 55-tool MCP server — DavidEstrenhido · 2026-11-21
- Overflow board hits 100 agent-made PRs merged by 13 devs, 70 with zero changes — Nitjsefnie · 2026-11-21