An enterprise-class UI design language and React UI library
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
afc163 83f969b2be
style: Button support gradient background (#46192)
* style: Button support gradient background

* chore: fix test case
20 hours ago
.codesandbox chore: fix codesandbox ci (#45698) 4 weeks ago
.dumi docs: color block display bug (#46207) 20 hours ago
.github ci: remove argos usage (#46185) 2 days ago
.husky
alias chore: umd version will try to reuse global `@ant-design/cssinjs` first (#46009) 1 week ago
components style: Button support gradient background (#46192) 20 hours ago
docs docs: fix link (#46058) 1 week ago
scripts ci: remove argos usage (#46185) 2 days ago
tests chore: add ci to test antd.min.js (#46108) 5 days ago
typings
.antd-tools.config.js
.depslintrc.js
.dockerignore
.dumirc.ts docs: live demo (#45383) 1 month ago
.editorconfig
.eslintignore
.eslintrc.js chore: add lodash eslint (#45627) 1 month ago
.gitignore ci: use puppeteer image in gh actions (#46100) 5 days ago
.gitpod.yml
.jest.image.js
.jest.js chore: add ci to test antd.min.js (#46108) 5 days ago
.jest.node.js
.jest.site.js
.ncurc.js ci: timed check for dependency updates (#45593) 4 weeks ago
.npmignore
.npmrc chore: update pupperteer and sharp npmmirror (#44727) 3 months ago
.prettierignore
.prettierrc style: remove importOrderSeparation from prettier config (#44336) 3 months ago
.remarkrc.js chore(deps): update dependency remark-cli to v12 (#45039) 2 months ago
.stylelintrc.js
.surgeignore
CHANGELOG.en-US.md docs: 5.11.5 (#46104) 5 days ago
CHANGELOG.zh-CN.md docs: 5.11.5 (#46104) 5 days ago
CNAME
CODE_OF_CONDUCT.md
LICENSE
README-zh_CN.md ci: remove argos usage (#46185) 2 days ago
README.md docs: Add ossinsight github widgets in README (#46195) 2 days ago
SECURITY.md
biome.json chore: migrate rome to biome (#44522) 3 months ago
contributors.json chore: update contributors list (#45971) 2 weeks ago
index-style-only.js
index-with-locales.js
index.js
jest-puppeteer.config.js ci: make puppeteer works when reusing node_modules (#46107) 4 days ago
package.json chore: upgrade deps (#46197) 1 day ago
renovate.json
tsconfig.json feat: bump antd-tools (#45101) 2 months ago
webpack.config.js chore: migrate to webpack@5 (#45926) 1 week ago

README.md

Ant Design

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

CI status codecov NPM version NPM downloads

FOSSA Status

Follow Twitter Renovate status dumi Issues need help

Performance Stats of ant-design/ant-design - Last 28 days

English | 中文

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 based on CSS-in-JS.

🖥 Environment Support

  • Modern browsers
  • Server-side Rendering
  • Electron
Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
Edge last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm install antd
yarn add antd
pnpm add antd

🔨 Usage

import { Button, DatePicker } from 'antd';

export default () => (
  <>
    <Button type="primary">PRESS ME</Button>
    <DatePicker placeholder="select date" />
  </>
);

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or clone locally:

$ git clone git@github.com:ant-design/ant-design.git
$ cd ant-design
$ npm install
$ npm start

Open your browser and visit http://127.0.0.1:8001 , see more at Development.

🤝 Contributing PRs Welcome

Active Contributors of ant-design/ant-design - Last 28 days

Let's build a better antd together.

We welcome all contributions. Please read our Contributing Guide first. You can submit any ideas as Pull Requests or as GitHub Issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)

If you are a collaborator, please follow our Pull Request Principle to create a Pull Request with our Pull Request Template.

Let's fund issues in this repository

❤️ Sponsors and Backers