Migrated repository
Go to file
2020-07-14 11:02:17 +08:00
.circleci use node 14 image in circleci 2020-07-09 15:35:46 +08:00
.codesandbox
.github fix typo of pr template (#25381) 2020-07-02 12:16:44 +08:00
components docs: fix layout demo (#25602) 2020-07-13 19:35:15 +08:00
docs docs: fix typo (#25608) 2020-07-14 11:02:17 +08:00
scripts docs: 4.4.1 changelog (#25442) 2020-07-06 12:44:21 +08:00
site Update RecommendPage.tsx (#25574) 2020-07-10 22:41:33 +08:00
tests fix: Form List warning (#24867) 2020-06-09 18:10:43 +08:00
typings
.antd-tools.config.js
.codecov.yml
.depslintrc.js
.dockerignore test: use azure deploy ui test report site (#24327) 2020-05-25 17:40:57 +08:00
.editorconfig
.eslintignore
.eslintrc.js fix eslint 2020-06-29 10:45:50 +08:00
.gitignore test: 🚀 New Image Snapshots (#24003) 2020-05-20 19:47:49 +08:00
.gitpod.yml
.jest.image.js test: 🚀 New Image Snapshots (#24003) 2020-05-20 19:47:49 +08:00
.jest.js test: fix jest with less import (#24900) 2020-06-11 09:59:01 +08:00
.jest.node.js test: remove tsconfig.test.json (#24390) 2020-05-22 13:37:41 +08:00
.jest.site.js
.npmignore
.prettierignore
.prettierrc
.remarkrc.js
.stylelintrc.json
.travis.yml
AUTHORS.txt
azure-pipelines.yml test: use azure deploy ui test report site (#24327) 2020-05-25 17:40:57 +08:00
CHANGELOG.en-US.md docs: 4.4.2 changelog (#25579) 2020-07-11 16:25:03 +08:00
CHANGELOG.zh-CN.md docs: 4.4.2 changelog (#25579) 2020-07-11 16:25:03 +08:00
CNAME
CODE_OF_CONDUCT.md
CODEOWNERS
crowdin.yml
docker-compose.yml test: use azure deploy ui test report site (#24327) 2020-05-25 17:40:57 +08:00
Dockerfile.ui-test test: fix buildkite/puppeteer version (#25007) 2020-06-15 23:31:45 +08:00
index-with-locales.js
index.js
LICENSE
lighthouserc.js test: Update lighthouse-ci.yml (#24598) 2020-05-30 20:37:06 +08:00
package.json chore: upgrade react-slick to reduce bundle size (#25599) 2020-07-13 14:36:55 +08:00
README-pt_BR.md docs: 🌈 Add Components overview page (#24491) 2020-05-31 11:48:34 +08:00
README-zh_CN.md docs: 🌈 Add Components overview page (#24491) 2020-05-31 11:48:34 +08:00
README.md 🛡 update dependabot badge 2020-06-07 21:53:32 +08:00
tsconfig.json
webpack.config.js Fix relative-ci setup (#25523) 2020-07-09 10:27:32 +08:00

Ant Design

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

CircleCI status CI status codecov NPM version NPM downloads

david deps david devDeps Total alerts FOSSA Status Issues need help

Follow Twitter Gitter Gitter [SemVer stability]

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
yarn add antd

🔨 Usage

import { Button, DatePicker } from 'antd';

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

And import style manually:

import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'

TypeScript

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

🌍 Internationalization

Dozens of languages supported in antd, see i18n.

⌨️ 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

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 by collaborator template.

Let's fund issues in this repository

❤️ Sponsors and Backers