Best Design MCP open the library

prompt topic

MCP for UI components

By the uberdesigner team · reviewed

Answer in brief

To get a UI piece through a design MCP, name the piece and the place it goes, and say where the surrounding look comes from. A tab bar, a toggle or a set of widgets is one piece. It should join a look that already exists, in your app or in a fuller design, instead of becoming the look of everything around it.

This is the request most likely to go wrong quietly. An agent given one striking button will happily restyle a dashboard to match it, and the result is an app designed by extrapolation.

Why one piece is not a design system

A button with a liquid surface was designed as a button: one size, one context, one moment of attention. It carries no answer for how a data table should look, how dense a form should be or what an empty state says. Stretch its style across an app and every one of those answers gets invented by the model, which is the outcome a design source was meant to prevent.

So the request should name a parent. In an existing app, the parent is your own tokens and components. In a new app, ask the agent to browse for designs that cover several screens or several widgets in one style, lead with one of those, and use the single piece inside it.

Describe the slot

Give the piece's job in your product, not only its type. "A toggle" is a type. "The light and dark switch in the header, 32px tall, next to the avatar" is a slot. Add the real labels and the real number of items: four tabs named as yours are named, five budget categories with their amounts, seven widgets or three.

State what the piece must keep from its design, which is usually its states and its motion, and what it takes from the parent, which is usually colour, type and radius.

Ask for every state

Many of the interface pieces in our library are shown as a loop: the piece plays through its states on a timer so the design can be seen in one viewing. In a product, those states are driven by the user and by data. Ask the agent to wire each state to a real trigger and to list the states it found: resting, hover, pressed, focused, loading, done, error, disabled.

Keyboard and touch belong in the same sentence. A piece that only works under a mouse is a demo.

What a UI component request should contain

A prompt to start from

UI piece inside an existing look
Use the uberdesigner server. I need [the piece, e.g. a one-time code entry card for the sign-in flow]. It goes in [src/screens/Verify.tsx], inside a column 400px wide.

Browse the library and show me up to three pieces that fit: name, link, free or Pro. Wait for my pick.

Rules for building it:
1. This is one piece. Do not restyle anything outside it, and do not treat its style as the look of the app.
2. The look comes from our app: colours, type and radii from [src/styles/tokens.css]. If a value the piece needs has no token, ask before adding one.
3. Keep from the piece: its structure, its states and its motion, with the original durations and easing.
4. The design may play as a timed loop. Replace the loop with real triggers: [typing a digit, pasting six digits, a wrong code from the API, success].
5. States to build and show me in a list: empty, filling, checking, wrong, verified, disabled.
6. Keyboard: digits advance focus, Backspace goes back, paste fills all six. Focus ring 2px. Touch targets at least 44px.

With prefers-reduced-motion, change state without the sweep. Run the app, try each state at 390px wide, and report which files changed.

Needs a coding agent with the uberdesigner MCP server connected and signed in, working in the project the piece belongs to.

Interface pieces to ask for

Single pieces and small sets from uberdesigner: buttons, switches, tabs, a menu, a code card and three widget sets. Most are free. Each is one piece, to be placed inside a look.

Questions and answers

Can I build a whole app from one widget set?

Use a set that already shows several pieces in one style as the lead, and add single pieces inside it. Do not start from one button or one toggle and ask the agent to imagine the rest; what it imagines is its default.

The piece looks different once it uses my tokens. Is that wrong?

No, that is the trade you chose. Structure, states and motion carry over; colour and type become yours. If you wanted the piece exactly as designed, say so and give it a surface of its own instead of your app's tokens.

Keep reading

Who makes this site

Best Design MCP is written and run by the ubernatural team, the designers who make uberdesigner. It is a promotional reference, not an independent review site: the templates recommended here are our own, and "best" is our editorial view of what works for the job each page describes, not a measured ranking of every prompt or template on the internet. Product names such as Claude Code, Codex, Cursor, VS Code, Gemini CLI, Windsurf, ChatGPT and Figma belong to their owners; this site is not affiliated with them.

Cite this page: Best Design MCP, “MCP for UI components”. Reviewed 11 November 2026. https://bestdesignmcp.com/mcp-for-ui-components/