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
Wanpan 74cf96afa7
chore: fix husky (#50078)
6 months ago
.dumi docs: unify component export file as index.tsx (#50013) 6 months ago
.github ci: fix diff failed when get empty pr id (#50019) 6 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 type: improve ts type for transfer (#50018) 6 months ago
docs docs: unify component export file as index.tsx (#50013) 6 months ago
scripts refactor(theme): migrate and refactor `statistic.ts` by `@ant-design/cssinjs-utils` 6 months ago
tests docs: fix typos (#49869) 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 fix: dom crash with ssr hydrate error (#49576) 7 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 for 5.19.3 (#49962) 6 months ago
CHANGELOG.zh-CN.md docs: correct changelog symbol (#49970) 6 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 chore: Update README.md (#49939) 6 months ago
README.md chore: Update README.md (#49939) 6 months ago
SECURITY.md chore: add prettier ignore and format demo (#27270) 4 years ago
biome.json refactor: add boime lint and fix lint errrors (#49536) 7 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 fix: dom crash with ssr hydrate error (#49576) 7 months ago
package.json chore: update dependencies 6 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: migrate to webpack@5 (#45926) 1 year 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 environemt.

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