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
github-actions[bot] 06738b8e1e
chore: upgrade deps (#50631)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
5 months ago
.dumi site: fix image width issue in markdown (#50399) 5 months ago
.github chore: fix webpack config of dist bundle (#50575) 5 months ago
.husky chore: fix husky (#50078) 6 months ago
alias chore: umd version will try to reuse global `@ant-design/cssinjs` first (#46009) 1 year ago
components demo(tag): improve import type DragEndEvent for dnd-kit (#50615) 5 months ago
docs docs: add more compatibility info about style (#50517) 5 months ago
scripts docs(card): use card semantic-dom instead of table (#50390) 5 months ago
tests test: speed up test workflow (#50346) 6 months ago
typings scripts(visual-regression): show target filename (#48444) 9 months ago
.antd-tools.config.js 📚 docs: add token meta info to token system model (#39101) 2 years ago
.depslintrc.js refactor(list): rewrite with hook (#23542) 5 years ago
.dockerignore test: use azure deploy ui test report site (#24327) 5 years ago
.dumirc.ts docs: changelog 5.20.3 (#50568) 5 months ago
.editorconfig 🎨 Add emoji in commit message 6 years ago
.eslintignore Revert "chore: migrate to vitest (#42506)" (#42900) 2 years ago
.eslintrc.js docs: format code (#48309) 10 months ago
.gitignore ci: add stackblitz templates (#49841) 7 months ago
.gitpod.yml Added Gitpod support (#14307) 6 years ago
.jest.image.js test: Update image snapshot logic (#46529) 1 year ago
.jest.js test: Update image snapshot logic (#46529) 1 year ago
.jest.node.js test: Update image snapshot logic (#46529) 1 year ago
.jest.site.js Revert "chore: migrate to vitest (#42506)" (#42900) 2 years ago
.lintstagedrc.json refactor: add boime lint and fix lint errrors (#49536) 7 months ago
.ncurc.js chore: do not update @ant-design/cssinjs (#48222) 10 months ago
.npmignore chore: 📦 Optimize npm package size (#23698) 5 years ago
.npmrc chore: update pupperteer and sharp npmmirror (#44727) 1 year ago
.prettierignore refactor: add boime lint and fix lint errrors (#49536) 7 months ago
.prettierrc style: remove importOrderSeparation from prettier config (#44336) 1 year ago
.remarkrc.js chore(deps): update dependency remark-preset-lint-recommended to v7 (#48479) 9 months ago
.surgeignore docs: v5 site upgrade (#38328) 2 years ago
BUG_VERSIONS.json docs(): release 5.18.3 (#49491) 7 months ago
CHANGELOG.en-US.md docs: changelog 5.20.3 (#50568) 5 months ago
CHANGELOG.zh-CN.md docs: changelog 5.20.3 (#50568) 5 months ago
CNAME chore: update CNAME 2 years ago
CODE_OF_CONDUCT.md chore: add remark lint (#23457) 5 years ago
LICENSE 🌱 Upgrade LICENSE 6 years ago
README-zh_CN.md docs: add more compatibility info about style (#50517) 5 months ago
README.md chore: reduce typo (#50404) 5 months ago
SECURITY.md chore: add prettier ignore and format demo (#27270) 4 years ago
biome.json chore: fix webpack config of dist bundle (#50575) 5 months ago
codecov.yml test: make a strict codecov rule (#50571) 5 months ago
contributors.json chore: update contributors.json (#49560) 7 months ago
index-style-only.js refactor: add boime lint and fix lint errrors (#49536) 7 months ago
index-with-locales.js chore: Remove locale-provider (#41289) 2 years ago
index.js Add `variable.less` to support css variable (#31496) 3 years ago
jest-puppeteer.config.js ci: make puppeteer works when reusing node_modules (#46107) 1 year ago
mako.config.json chore: turn off sourcemap (#50473) 5 months ago
package.json chore: upgrade deps (#50631) 5 months ago
renovate.json chore: Configure Renovate (#32494) 3 years ago
tsconfig-old-react.json docs: Support semantic preview (#47332) 12 months ago
tsconfig.json feat: tsconfig enable strict (#47998) 10 months ago
webpack.config.js chore: fix webpack config of dist bundle (#50575) 5 months 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

Changelog · Report Bug · Request Feature · 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 use opensumi.run, a free online pure front-end dev environment.

opensumi.run

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

Top Contributors of ant-design/ant-design - Last 28 days Performance Stats of ant-design/ant-design - Last 28 days
New participants of ant-design - past 28 days

Let's build a better antd together.

We warmly invite contributions from everyone. Before you get started, please take a moment to review our Contributing Guide. Feel free to share your ideas through Pull Requests or GitHub Issues. If you're interested in enhancing our codebase, explore the Development Instructions and enjoy your coding journey! :)

For collaborators, adhere to our Pull Request Principle and utilize our Pull Request Template when creating a Pull Request.

Let's fund issues in this repository

❤️ Sponsors and Backers