Migrated repository
Go to file
2019-07-19 17:35:04 +08:00
.circleci
.github 📝 update PULL_REQUEST_TEMPLATE 2019-07-16 11:56:58 +08:00
components 🐛 Fix Button danger style when type is ghost 2019-07-19 17:35:04 +08:00
docs Fixed typo in use-with-create-react-app.en-US.md 2019-07-18 13:10:01 +02:00
scripts 🔧 move scripts to antd-tools 2019-06-28 12:18:34 +08:00
site 📝 Add components count in component page 2019-07-17 19:52:21 +08:00
tests fix dekko test (#17707) 2019-07-18 15:13:23 +08:00
typings
.antd-tools.config.js
.codecov.yml
.depslintrc.js
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.gitpod.yml
.jest.js fix(test): Jest with ES Modules of react-dnd (#17607) 2019-07-13 10:29:47 +08:00
.jest.node.js fix(test): Jest with ES Modules of react-dnd (#17607) 2019-07-13 10:29:47 +08:00
.npmignore
.prettierignore
.prettierrc
.stylelintrc.json
.travis.yml
AUTHORS.txt
azure-pipelines.yml
CHANGELOG.en-US.md docs: update changelog (#17739) 2019-07-19 16:35:25 +08:00
CHANGELOG.zh-CN.md docs: update changelog (#17739) 2019-07-19 16:35:25 +08:00
CNAME
CODE_OF_CONDUCT.md
crowdin.yml
index-with-locales.js
index.js
LICENSE
netlify.toml chore: Update netfly config 2019-06-27 18:50:45 +08:00
package.json docs: update changelog (#17739) 2019-07-19 16:35:25 +08:00
README-zh_CN.md 📝 update links 2019-07-01 11:05:17 +08:00
README.md 📝 update links 2019-07-01 11:05:17 +08:00
renovate.json style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
tsconfig.json
tsconfig.test.json
tslint.json
webpack.config.js

Ant Design

An enterprise-class UI design language and React implementation.

Build Status CircleCI branch Codecov npm package NPM downloads

Dependencies DevDependencies Total alerts FOSSA Status Issues need help

Gitter Join the chat at https://gitter.im/ant-design/ant-design

English | 简体中文

Features

  • An enterprise-class UI design system for web applications.
  • A set of high-quality React components out of the box.
  • Written in TypeScript with predictable static types.
  • The whole package of development and design resources and tools.

🖥 Environment Support

  • Modern browsers and Internet Explorer 9+ (with polyfills)
  • Server-side Rendering
  • Electron
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
IE9, IE10, IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm install antd
yarn add antd

🔨 Usage

import { DatePicker } from 'antd';
ReactDOM.render(<DatePicker />, mountNode);

And import style manually:

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

Or import components on demand.

TypeScript

See Use in TypeScript.

🌍 Internationalization

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