Pick designs in your app.
Type /variants and your coding agent adds design options to your running app. Keep the one you like.
Installation prompt
In your coding agent
- Claude Code
- Codex
- Cursor
- Gemini CLI
- OpenCode
/variants improve my recipe page
localhost:3000/recipes/lemon-pasta
How it works
@assistant-ui/variants renders the options your agent writes.
// The Method group from the demo above
<Variants id="variants-demo-method" label="Method" default="side-by-side">
<Variant id="side-by-side" label="Side by side"><MethodSideBySide /></Variant>
<Variant id="stacked" label="Stacked"><MethodStacked /></Variant>
<Variant id="cards" label="Step cards"><MethodStepCards /></Variant>
</Variants>- In the page, not a mockup. Options render with your real data and breakpoints.
- Shareable picks. A ?variant= link reproduces what you see.
- Notes for the agent. ⌥-click to leave a note that travels with your pick.
- No wrapper element. Your layout and selectors see exactly what ships.
- Refused in production. A production build won't render an undecided <Variants>.
Set it up today.
Installation prompt