Migrated repository
Go to file
2019-05-06 10:18:05 +08:00
.circleci
.github 📝 upgrade PR template 2019-04-23 20:13:09 +08:00
components Merge branch 'master' into feature 2019-05-05 10:33:51 +08:00
docs merge master 2019-04-24 21:10:28 +08:00
scripts add api collection script & update input-number doc (#16253) 2019-04-23 18:01:39 +08:00
site fix: typescript definition update (#16202) 2019-04-20 23:38:02 +08:00
tests 🆙 use @ant-design/create-react-context of MIT 2019-04-16 12:18:39 +08:00
typings
.antd-tools.config.js
.codecov.yml
.depslintrc.js
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.gitpod.yml
.jest.js
.jest.node.js
.npmignore
.prettierignore prettier md demo (#16188) 2019-04-21 14:58:19 +08:00
.prettierrc prettier md demo (#16188) 2019-04-21 14:58:19 +08:00
.remarkrc.js
.stylelintrc.json 💄 Fix less code style 2019-04-15 11:05:06 +08:00
.travis.yml
AUTHORS.txt
azure-pipelines.yml
CHANGELOG.en-US.md fix review warning 2019-05-06 10:18:05 +08:00
CHANGELOG.zh-CN.md fix review warning 2019-05-06 10:18:05 +08:00
CNAME
CODE_OF_CONDUCT.md
crowdin.yml
index-with-locales.js
index.js
LICENSE
netlify.toml
package.json refactor: Upgrade rc-tree-select to support pure React motion (#16402) 2019-05-05 10:11:51 +08:00
README-zh_CN.md
README.md
tsconfig.json Upgrade TypeScript ECMAScript support from es7 (= ECMAScript 2016) to es2017 (= ECMAScript 2017) (#16340) 2019-05-01 18:25:18 +08:00
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