UXPin Merge lets designers use real Ant Design components directly in their prototypes, ensuring designs and code are perfectly aligned. This eliminates the need for developers to rebuild mockups, reduces inconsistencies, and speeds up workflows. With production-ready React components, designs behave exactly as they will in the final product, saving time and resources.
Key Takeaways:
- Ant Design in UXPin Merge: Drag-and-drop React components like Buttons, Tables, and DatePickers directly onto your canvas.
- Real Functionality: Components include built-in interactivity and reflect production behavior.
- Consistent Design: Use Ant Design tokens for colors, spacing, and typography to maintain uniformity.
- Efficient Handoff: Developers get JSX code directly from prototypes, avoiding translation errors.
- Proven Results: Teams report up to 50% faster development time.
Start by accessing the Ant Design library in UXPin, configure component properties, and create high-fidelity prototypes that match production standards.

How to Set Up and Use Ant Design Components in UXPin Merge
Getting Started: Accessing Ant Design in UXPin Merge

Accessing the Pre-Built Ant Design Library
Ant Design comes ready to use in UXPin Merge – no installations, external configurations, or file imports needed. Once you start a new project, the library is at your fingertips.
Here’s how to begin: Open your UXPin dashboard and click on New Project. Choose Design with Merge Components, then select Use Existing Libraries. This will instantly give you access to Ant Design.
What’s great about these components? They’re fully aligned with the production Ant Design library, meaning they function exactly as they would in a live React application.
Once the library is loaded, double-check that it’s properly integrated into your project.
Verifying Component Availability
To confirm everything’s set up, go to the Design System Libraries tab in the bottom-left corner of the UXPin Editor. From the dropdown menu, select Ant Design.
Next, glance at the sidebar to see the list of components available – like Button, Input, DatePicker, and Table. If these components appear, you’re ready to start creating prototypes that reflect production-level functionality.
Building Prototypes with Ant Design Components
Using Drag-and-Drop to Build UIs
Creating high-fidelity prototypes with Ant Design in UXPin Merge is a smooth and efficient process. All the components you need are located in the Design System Libraries tab on the left side of the screen. To start, simply drag a component – like a Button, Input, or Table – onto your canvas.
What sets this approach apart from traditional tools is that these components aren’t just static visuals; they function like actual code components. For example, when you place a DatePicker on your canvas, it behaves exactly as it would in a live React application. There’s no need to manually simulate states or interactions.
This approach significantly speeds up UI creation. Instead of building component behaviors from scratch, you’re working with pre-built, functional elements.
Once you’ve added a component, you can fine-tune its behavior and appearance using the Properties Panel.
Configuring Component Properties
After placing components on your canvas, the next step is configuring their properties to reflect real-world behavior. The Properties Panel on the right-hand side gives you access to all customization options, mirroring the React props used in production code.
Take the Button component, for example. You can adjust its Type (such as Primary, Default, Dashed, Text, or Link), enable the Danger property for actions like deletions, or activate the Loading state to display a spinner. Every change you make in the Properties Panel will reflect how the component behaves in the final product.
For broader customization, you can use Seed Tokens like colorPrimary to modify themes throughout your prototype. Ant Design’s algorithms automatically calculate and apply Map and Alias tokens across the library, ensuring consistent updates to buttons, links, and other branded elements.
If you need more precise control, UXPin Merge also includes a Custom CSS control for tweaking elements like padding, margins, and borders.
Creating Common UI Patterns
Designing common UI patterns with fully functional components bridges the gap between design and development. Enterprise applications often rely on specific patterns, such as forms for data entry, tables for presenting information, and navigation components for managing complex workflows.
For data entry forms, you can combine components like Input, DatePicker, and Select. Since Ant Design supports 69 languages for internationalization, these forms can effortlessly adapt for global use.
Data tables are another essential pattern. You can drag a Table component onto your canvas and configure its columns and data sources directly through the Properties Panel. Add Pagination for large datasets or pair it with the Statistics component to create detailed dashboards.
When it comes to navigation, Ant Design offers versatile options. Use the Breadcrumb component to display a user’s location, the Steps component for multi-step processes, or the Menu component for global navigation headers. You can even nest components by dragging "children" into "parent" containers using the canvas or the Layers Panel. This ensures proper CSS layouts, like flexbox, are applied automatically.
Because these are real code components, they come with built-in interactivity, so you don’t need to add extra effort to make them functional.
Maintaining Consistency and Scalability
Using Ant Design’s Design Tokens
Design tokens act as the backbone for keeping visual elements consistent, whether you’re working on a prototype or production code. Ant Design’s tokens for elements like color, spacing, and typography seamlessly integrate into the design canvas, bridging the gap between design and development.
When using Ant Design components in UXPin Merge, you’re tapping into the same npm package (antd) that developers rely on. This creates a true single source of truth, ensuring what you design is exactly what gets shipped. Controlled properties – such as colorPrimary, size, and type – in the Properties Panel ensure styling adheres to system specifications, eliminating inconsistencies.
To maintain this consistency on a global scale, a Global Wrapper Component can be used to load CSS files (like antd.css or custom theme files) across your entire prototype. This approach ensures uniform application of typography, colors, and spacing without needing to configure each component individually. Developers can also leverage Spec Mode during handoff to access precise token-based values, including CSS properties, spacing, and color codes.
"This is perfect for Design Systems, as nobody can mess up your components by applying the styling that isn’t permitted in the system!" – UXPin Documentation
Scaling Prototypes for Complex Systems
With a foundation of consistent design tokens, scaling prototypes for complex systems becomes a seamless process. Enterprise-level projects can grow without losing alignment between design and development. Since UXPin Merge uses components backed by actual code, scaling is straightforward – there’s no risk of the design drifting away from the codebase.
Erica Rider, a UX Architect and Design Leader, shared her team’s success syncing the Microsoft Fluent design system with UXPin Merge. With just three designers, they supported 60 internal products and over 1,000 developers. This efficiency is possible because the components enforce system constraints automatically. For instance, if a component’s CSS specifies fixed dimensions, resizing is only possible through defined prop values, keeping everything in check.
sbb-itb-f6354c6
Simplifying Handoffs to Development Teams
Design Equals Code: No Translation Required
With Ant Design in UXPin Merge, the typical challenges of handoffs between design and development teams fade away. Forget the old days when developers had to rebuild mockups from scratch – now, your designs are created using actual React code pulled directly from the antd npm package. This means developers receive prototypes that are already ready for production.
In UXPin’s Spec Mode, specifications are automatically generated with valid JSX code. Developers can simply copy this code into their projects – no need for interpretation or second-guessing. Every element in the design is tied to valid Ant Design React props, ensuring everything aligns with technical requirements.
"Imported components are 100% identical to the components used by developers. It means that components are going to look, feel and function (interactions, data) just like the real product." – UXPin Documentation
This alignment between design and code eliminates unnecessary translation, paving the way for smoother workflows. Let’s dive into how this approach minimizes rework and design inconsistencies.
Reducing Rework and Design Drift
Design drift – when the final product doesn’t match the approved designs – often occurs when separate systems are used for design and development. UXPin Merge solves this problem by creating a single source of truth. Any updates made to the Ant Design library are automatically reflected in the design editor, ensuring everyone stays on the same page.
Larry Sawyer, a Lead UX Designer, shared how impactful this system can be:
"When I used UXPin Merge, our engineering time was reduced by around 50%. Imagine how much money that saves across an enterprise-level organization with dozens of designers and hundreds of engineers."
Conclusion
Why Ant Design and UXPin Merge Work So Well Together

Using Ant Design components within UXPin Merge allows you to create prototypes that are ready for production – no extra rework needed. Since you’re working directly with React code from the antd npm package, the designs you create translate seamlessly into production-ready code. Teams leveraging UXPin Merge have reported speeding up their product development process by as much as 10x compared to traditional workflows.
What makes this approach so effective? Your prototype and codebase share the exact same components, eliminating misunderstandings and ensuring consistency. Properties, states, and interactions are all aligned from the very beginning, reducing the risk of design drift or errors.
How to Get Started
To dive in, start by exploring the built-in Ant Design library in UXPin. You can simply drag and drop components onto the canvas to create interactive prototypes – no complicated setup required. Play around with component properties and experiment with UI patterns. Plus, with Spec Mode, you’ll see how UXPin generates production-ready JSX code in real time.
For teams using custom design systems, UXPin Merge makes it easy to integrate your own component libraries. The Merge Component Manager helps map properties and ensures your designs stay in sync with your development codebase. This tight integration keeps your products consistent and efficient from start to finish.
Design Using Your Favorite React UI Libraries

FAQs
How do Ant Design components in UXPin Merge enhance the design-to-development process?
Using Ant Design components in UXPin Merge streamlines the workflow between design and development, offering a code-first approach. These components are pulled directly from the React library that developers use, meaning any updates made in the code repository instantly appear in the UXPin editor. This ensures designers and developers are always aligned, working from the same up-to-date source, and eliminates the need to recreate or redraw elements already in production.
Prototypes created with Ant Design in Merge function just like the final product, complete with realistic interactions and data-driven states. This reduces inconsistencies, speeds up feedback, and improves user testing. Plus, features like built-in version control and npm integration make it easy for teams to access the latest updates or custom design system builds, simplifying collaboration and minimizing handoff issues.
How can I use Ant Design components in a new UXPin project?
To start incorporating Ant Design components into your UXPin projects, just follow these straightforward steps:
- Step 1: Open your UXPin dashboard and either create a new project or open an existing one. Navigate to the Merge tab within the editor.
- Step 2: Add a new library using the npm integration. Click on Add Library and select the npm option.
- Step 3: Give the library a name, like "Ant Design", so it’s easy to find in your Libraries list later.
- Step 4: Input the Ant Design npm package name (
antd) and pick the version you want to use (e.g., "Latest"). - Step 5: If necessary, include any additional dependencies or assets, like CSS URLs or icons, in the provided fields.
- Step 6: Save your library. UXPin will automatically sync the Ant Design components.
- Step 7: Once the sync is complete, you can simply drag and drop Ant Design components onto your canvas to craft interactive, high-fidelity prototypes.
By following these steps, you’ll integrate Ant Design into UXPin smoothly, allowing you to design with production-ready components in no time.
How does UXPin Merge maintain consistency between design and code?
UXPin Merge bridges the gap between design and development by connecting React component libraries directly from sources like a Git repository, Storybook, or an npm package. These components act as a single source of truth, ensuring that updates – whether it’s props, interactions, or styles – are automatically reflected in the UXPin editor.
By using this approach, teams can create high-fidelity prototypes that closely resemble production-ready components. This eliminates the usual inconsistencies between design and development. Plus, features like built-in version control and update notifications make collaboration smoother, keeping designs perfectly in sync with the latest code changes.