Learn how to turn Figma designs into production‑ready code using Pro Blocks, shadcn MCP and Figma MCP.

Recently, shadcn introduced CLI 3.0 with namespaced registries and new MCP. In response, we’ve updated the shadcndesign registry to take full advantage of the new CLI, making it simpler than ever to install our resources.
In this article, you’ll learn how to use the newest shadcn MCP and Figma MCP together with our products to build websites faster than ever. Start with the overview video below, which walks through creating a simple site using our Figma kit and Pro Blocks in Cursor with the new MCPs.
layout.tsx file to import the font family you used in Figma.next.config.ts file to accept the images from Figma.import type { NextConfig } from "next";
const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: "http",
hostname: "localhost",
port: "3845",
pathname: "/assets/**",
},
],
},
};
export default nextConfig;
You are good to go! Now, we can convert our Figma design to code.
1. Use Figma MCP. List Pro Blocks component instance names used to build the selected page.
2. Use shadcn MCP. Install proper pro blocks matching the names of the items from figma, for example "Pro Blocks / LP Navbar / 1." translates to "@shadcndesign/lp-navbar-1"
3. In app/page.tsx, build a page using these components in the order we have in Figma.
4. Call figma MCP and replace the content in the installed pro blocks. Don’t change styling yet. Replace texts, and use images from Figma.
5. Replace logo in navbar and footer with the logo from Figma.
I changed the styling in the hero section. Call Figma MCP and apply the proper colors and spacing.
That’s it! You’ve translated your design from Figma to production‑ready code using shadcn CLI 3.0, the updated shadcndesign registry, and shadcn and Figma MCP. From here, you can:
Keep iterating. Your Figma-to-code pipeline is now set up for rapid, maintainable shipping.
Sometimes things don't go perfectly. Here are a few common issues and how to solve them.
next.config.ts file. A small typo can prevent images from loading correctly. Also, ensure the Figma plugin is running.Founder @ shadcndesign.com

A practical guide to theming shadcn/ui with CSS variables: OKLCH tokens, dark mode, custom brand palettes, and applying a full theme in minutes.

How shadcn/ui charts actually work: what ChartContainer does, how ChartConfig drives colors, and what breaks when you move from Recharts 2 to Recharts 3.

How shadcn/ui registries actually work: registry.json, URL resolution, styles, and namespaces — explained by a team that runs a production registry.