Logo
Home
Custom Business App DevelopmentSee how to launch a custom management system in 4 weeksSeamless Legacy & New System IntegrationSee how data moves automatically across systemsAI Workers: Automate Repetitive TasksLearn how to hire your first AI workerAI-Powered Insights: Turn Data into ValueSee how AI unlocks the value in your data and knowledgeIn-Depth Business Bottleneck DiagnosisBook a free 1-on-1 bottleneck diagnosis
BlogProjectsAbout
Tauri Icon Checker/GeneratorValidate PNG / SVG files against Tauri icon input requirementsDeepSeek API Usage AnalysisUpload CSV bills and analyze DeepSeek API usage across multiple dimensionsAI Email Processing Desktop WorkbenchAI extracts order data from emails and outputs to Feishu/Notion/CRM in one click
HomeBlogProjectsAboutPrivacy PolicyTerms of Service
LinkedInEmailhello@mindrose.xyz

© 2026 Mindrose Team. All rights reserved.

  1. Home
  2. Projects
  3. 【Open Source】Mendix Ecosystem Expansion: Native Button Component Encapsulation Based on Ant Design
【Open Source】Mendix Ecosystem Expansion: Native Button Component Encapsulation Based on Ant Design

【Open Source】Mendix Ecosystem Expansion: Native Button Component Encapsulation Based on Ant Design

April 20, 2023·Gavin·
MendixReactAntdOpen Source Component

Background

While helping numerous large enterprises with Mendix low-code development, we found that Mendix's native Button component often falls short when facing complex B2B business scenarios. For example: lacking rich state expressions (such as ghost buttons, danger operation buttons), lacking fine-grained size control, and lacking distinct visual hierarchies when building high-density data platforms.

To allow Mendix developers to focus more on business logic rather than spending a lot of time adjusting UI styles, the Mindrose team (as core contributors to the Mendix-Antd open-source project) decided to introduce the industry-recognized excellent enterprise-level UI library Ant Design into the Mendix ecosystem.


The Challenge

  1. Ecosystem Isolation: Mendix has its own closed Widget system. How to seamlessly bridge complex Antd components from the React ecosystem into Mendix Pluggable Widgets is a major challenge.
  2. Property Mapping: Need to convert Antd Button's rich APIs (Type, Shape, Size, Danger, etc.) into graphical properties that are easy for business developers to understand and configure in Mendix Studio Pro.
  3. Event Binding: Must ensure that the component not only looks consistent but also perfectly responds to Mendix's Action trigger mechanism (such as executing Microflow, Nanoflow, or opening a page).

Our Solution

Based on the Mendix Pluggable Widget API and React, we deeply encapsulated the Mx Antd Button component.

1. Comprehensive Visual and Interaction Mapping

We completely opened the core capabilities of Ant Design Button to Mendix developers:

  • 5 Core Types: Primary, Default, Dashed, Text, Link, helping developers easily build primary and secondary visual hierarchies on pages.
  • 3 State Modifiers: Danger (warning for dangerous operations), Ghost (ghost button, adapting to complex backgrounds), Disabled (disabled state).
  • Shape Control: Supports Large/Middle/Small sizes, as well as Default, Circle, Round, and Block (full width) shapes.

2. Ultimate Developer Experience (DX)

In Mendix Studio Pro, we designed an extremely intuitive configuration panel (Property panel) for this component. Developers only need to select through simple dropdown boxes to complete the button style configuration and bind it to any Mendix OnClick event.


Open Source Impact

As part of the Mendix-Antd open-source initiative, this component greatly enriches the UI ecosystem of the Mendix community:

  • Development Efficiency Boost: Frontend style adjustment time reduced by 80%, developers no longer need to write cumbersome custom CSS (Sass).
  • Enterprise-Level UI Quality: Instantly equips Mendix applications with a premium texture comparable to modern hand-coded frontend projects.
  • Community Contribution: The project is open-sourced on GitHub and provides a complete online Demo environment for global Mendix developers to use and customize for free.

Try it out

Online Demo: Mendix Antd Widget Demo

Source Code (GitHub): GavinCnod/mendix-antd-button

Installation Guide

  1. Download the .mpk file from GitHub Release.
  2. Place it in your Mendix project directory {YourMendixProjectFolder}/widgets/.
  3. Synchronize the project in Studio Pro, and you can drag and drop the Antd Button from the toolbox.

Project Links

GithubDemo

Related Projects

【Open Source】Mendix Native Popconfirm Component Based on Ant Design
April 20, 2023
[Tool] DeepSeek API Usage Analysis Dashboard — Pure Frontend Multi-Dimensional Visualizer
June 11, 2026
【Case Study】Multinational Logistics Corp: Agile Core System Reconstruction with Mendix
August 15, 2025
Previous
【Case Study】Multinational Precision Components Manufacturer: Independent Website Reconstruction & SEO Growth
Next
【Open Source】Mendix Native Popconfirm Component Based on Ant Design
Contact Us
You can reach us via: