An enterprise-class UI design language and React UI library
Go to file
2018-11-28 12:22:30 +08:00
.circleci chore: use one worker on ci 2018-08-01 10:53:06 +08:00
.github Update issue templates 2018-11-16 19:02:29 +08:00
components Correct type 2018-11-27 23:43:37 +08:00
docs 📝 improve document images 2018-11-22 22:31:48 +08:00
scripts Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
site improve getDerivedStateFromProps return value 2018-11-13 18:03:57 +08:00
tests New Component Skeleton (#11226) 2018-08-22 23:34:36 +08:00
typings new icon display 2018-09-02 20:59:37 +08:00
.codecov.yml ⚙️ update .codecov.yml 2018-11-28 12:15:47 +08:00
.editorconfig 🎨 Add emoji in commit message 2018-11-12 14:18:16 +08:00
.eslintignore 🌱 remove blank 2018-11-28 12:21:44 +08:00
.eslintrc.js upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
.gitignore 🌱 update gitignore 2018-11-28 12:22:30 +08:00
.jest.js 🌱 upgrade testRegex code style 2018-11-28 12:20:58 +08:00
.jest.node.js 🌱 Add comment 2018-11-28 12:19:06 +08:00
.stylelintrc Upgrade dev deps and fix lints (#8358) 2017-11-29 21:00:16 +08:00
.travis.yml 🆙 use node 11 in travis 2018-11-28 12:17:49 +08:00
AUTHORS.txt 👷 update authors list 2018-11-12 19:10:27 +08:00
CHANGELOG.en-US.md add change log 2018-11-24 23:17:46 +08:00
CHANGELOG.zh-CN.md add change log 2018-11-24 23:17:46 +08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-24 22:07:16 +08:00
crowdin.yml Update Crowdin configuration file 2018-11-26 23:53:52 +08:00
index-with-locales.js Fix eslint error 2018-11-16 21:06:41 +08:00
index.js Fix eslint error 2018-11-16 21:06:41 +08:00
LICENSE 🌱 Upgrade LICENSE 2018-11-28 12:16:59 +08:00
netlify.toml site: more verbose redirects 2018-04-19 17:23:38 +08:00
package.json use resize observer to check textarea size (#13295) 2018-11-27 13:46:42 +08:00
README-zh_CN.md ✏️ 2018-11-10 00:31:53 +08:00
README.md add Landing to README 2018-11-08 14:29:35 +08:00
tsconfig.json Enable noImplicitAny 2017-11-22 12:16:53 +08:00
tsconfig.test.json Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
tslint.json Use local tslint config; simplify editor configuration (#10450) 2018-05-10 00:36:19 +08:00
webpack.config.js 🔧 Use webpackbar in antd-tools and bisheng 2018-11-10 12:42:11 +08:00

Ant Design

An enterprise-class UI design language and React-based implementation.

CircleCI branch Codecov Dependencies DevDependencies

npm package NPM downloads Percentage of issues still open 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 --save

🔨 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

$ 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! :)