DEV Community

Melvin Vivas
Melvin Vivas

Posted on • Updated on

Ant Design vs. Material UI

So Ant Design(54,504 stars) has surpassed Material UI(53,012 stars) in github. 😎

Which do you use? If not these 2, how do you style your UI?

You can also vote in Twitter. Will post results here once polling is closed.
Liquid error: internal

GitHub logo ant-design / ant-design

🌈 A UI Design Language and React UI library

Ant Design

An enterprise-class UI design language and React UI library.

CI status codecov NPM version NPM downloads

david deps david devDeps Total alerts

Follow Twitter FOSSA Status Discussions Issues need help

English | Português | 简体中文

✨ Features

  • 🌈 Enterprise-class UI designed for web applications.
  • 📦 A set of high-quality React components out of the box.
  • 🛡 Written in TypeScript with predictable static types.
  • ⚙️ Whole package of design resources and development tools.
  • 🌍 Internationalization support for dozens of languages.
  • 🎨 Powerful theme customization in every detail.

🖥 Environment Support

  • Modern browsers and Internet Explorer 11 (with polyfills)
  • Server-side Rendering
  • Electron
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm install antd
Enter fullscreen mode Exit fullscreen mode
yarn add antd
Enter fullscreen mode Exit fullscreen mode

🔨 Usage

import { Button, DatePicker } from 'antd'
const App = () => (
  <>
    <Button type="primary">PRESS ME</Button&gt
    <DatePicker placeholder="select date"
…
Enter fullscreen mode Exit fullscreen mode

GitHub logo mui-org / material-ui

Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

Material-UI logo

Material-UI

Quickly build beautiful React apps. Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

license npm latest package npm next package npm downloads CircleCI Coverage Status Follow on Twitter Dependabot Status Average time to resolve an issue Crowdin Open Collective backers and sponsors

Installation

Material-UI is available as an npm package.

Stable channel v4

// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
Enter fullscreen mode Exit fullscreen mode

⚠️ All ongoing work has moved to v5. The development of v4 is limited to important bug fixes, security patches and easing the upgrade path to v5.

Alpha channel v5

// with npm
npm install @material-ui/core@next @emotion/react @emotion/styled
// with yarn
yarn add @material-ui/core@next @emotion/react @emotion/styled
Enter fullscreen mode Exit fullscreen mode
Older versions

Please note that @next will only point to pre-releases; to get the latest stable release use @latest instead.

Who sponsors Material-UI?

Diamond 💎

octopus doit-intl

Diamond Sponsors are those who have pledged…

Discussion (3)

Collapse
antdesignui profile image
Ant Design

I perfer Ant Design in all my products.

Collapse
chanlito profile image
Chanlito

Right

Collapse
ohsik profile image
O

What is the difference??