D
.circleci
chore: Update config.yml (#42823)
.codesandbox
docs: upgrade codesandbox to react 18 (#36951)
.dumi
site: optimize site scroll bar dark mode style (#44588)
.github
chore: Update pr-contributor-welcome.yml (#44340)
.husky
chore: remove redundant .gitignore file (#42336)
components
fix: slider track draggale range height/width error (#44503)
docs
chore: typo (#44579)
scripts
chore(deps): update dependency typedoc to ^0.25.0 (#44443)
tests
docs: bump theme-editor (#44171)
typings
Revert "chore: migrate to vitest (#42506)" (#42900)
.antd-tools.config.js
📚 docs: add token meta info to token system model (#39101)
.depslintrc.js
refactor(list): rewrite with hook (#23542)
.dockerignore
test: use azure deploy ui test report site (#24327)
.dumirc.ts
docs: font flash in home page (#44333)
.editorconfig
:art: Add emoji in commit message
.eslintignore
Revert "chore: migrate to vitest (#42506)" (#42900)
.eslintrc.js
chore: disabled compat/compat in test files (#44496)
.gitignore
docs: Component page support history log (#43974)
.gitpod.yml
Added Gitpod support (#14307)
.jest.image.js
Revert "chore: migrate to vitest (#42506)" (#42900)
.jest.js
docs: bump theme-editor (#44171)
.jest.node.js
Revert "chore: migrate to vitest (#42506)" (#42900)
.jest.site.js
Revert "chore: migrate to vitest (#42506)" (#42900)
.npmignore
chore: 📦 Optimize npm package size (#23698)
.npmrc
chore: specify npm as the package manager (#42611)
.prettierignore
chore: remove useless scripts (#38622)
.prettierrc
style: remove importOrderSeparation from prettier config (#44336)
.remarkrc.js
chore: add remark lint (#23457)
.stylelintrc.js
chore: stylelint plugin upgrade (#40883)
.surgeignore
docs: v5 site upgrade (#38328)
AUTHORS.txt
chore: remove email from AUTHORS.txt (#43740)
biome.json
chore: migrate rome to biome (#44522)
CHANGELOG.en-US.md
docs: v5.8.5 (#44461)
CHANGELOG.zh-CN.md
docs: v5.8.5 (#44461)
CNAME
chore: update CNAME
CODE_OF_CONDUCT.md
chore: add remark lint (#23457)
index-style-only.js
chore: remo format and remove prettierrc arrowParens (#38722)
index-with-locales.js
chore: Remove locale-provider (#41289)
index.js
Add `variable.less` to support css variable (#31496)
jest-puppeteer.config.js
Revert "chore: migrate to vitest (#42506)" (#42900)
LICENSE
🌱 Upgrade LICENSE
package.json
fix: slider track draggale range height/width error (#44503)
README-ar_EG.md
chore: update README (#44589)
README-ja_JP.md
chore: update README (#44589)
README-pt_BR.md
chore: update README (#44589)
README-sp_MX.md
chore: update README (#44589)
README-uk_UA.md
chore: update README (#44589)
README-zh_CN.md
chore: update README (#44589)
README.md
chore: update README (#44589)
renovate.json
chore: Configure Renovate (#32494)
SECURITY.md
chore: add prettier ignore and format demo (#27270)
tsconfig.json
Revert "chore: migrate to vitest (#42506)" (#42900)
tsconfig.node.json
chore: Migrate CJS to ESM (#41809)
webpack.config.js
chore: adjust ci to save size-limit build time (#44148)

Ant Design

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

English | Português | 简体中文 | Українською | Spanish | 日本語 | العربية

✨ 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

Firefox

Chrome

Safari

Electron
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

📦 Install

npm install antd
yarn add antd

🔨 Usage

import React from 'react';
import { Button, DatePicker } from 'antd';

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

TypeScript

antd is written in TypeScript with complete definitions, check Use in TypeScript to get started.

🌍 Internationalization

Dozens of languages are supported in antd, see i18n.

🔗 Links

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

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

Read our contributing guide and let's build a better antd together.

We welcome all contributions. Please read our CONTRIBUTING.md 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 collaborator template.

❤️ Sponsors and Backers