🐜 A UI Design Language
Clone or download
dilidili and afc163 fix demo in date-picker doc (#12290)
ref to https://ant.design/components/calendar-cn/ and moment doc, import locale file from moment/locale just defines the locale without use.
Latest commit 0219aa2 Sep 18, 2018
Permalink
Failed to load latest commit information.
.circleci chore: use one worker on ci Aug 1, 2018
.github Update PULL_REQUEST_TEMPLATE.md Sep 5, 2018
components fix demo in date-picker doc (#12290) Sep 18, 2018
docs site: improve hr style Sep 16, 2018
scripts Fix lint problems from eslint-config-airbnb@17 Jun 22, 2018
site site: tweak header transition style Sep 16, 2018
tests New Component Skeleton (#11226) Aug 22, 2018
typings new icon display Sep 2, 2018
.codecov.yml 删除手误 Jul 22, 2018
.editorconfig Add editorconfig Jul 15, 2015
.eslintignore fix npm run lint Sep 2, 2018
.eslintrc.js upgrade eslint-config-airbnb Jun 27, 2018
.gitignore fix: can not use iconfont Sep 3, 2018
.jest.js fix eslint config (#11701) Aug 10, 2018
.jest.node.js fix eslint config (#11701) Aug 10, 2018
.stylelintrc Upgrade dev deps and fix lints (#8358) Nov 29, 2017
.travis.yml Update .travis.yml Jul 23, 2018
AUTHORS.txt update AUTHORS Sep 11, 2018
CHANGELOG.en-US.md site: improve changelog Sep 12, 2018
CHANGELOG.zh-CN.md site: improve changelog Sep 12, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jun 24, 2017
LICENSE Fix outdated Copyright Mar 15, 2016
README-zh_CN.md readme: consistent badge style (#12259) Sep 17, 2018
README.md readme: consistent badge style (#12259) Sep 17, 2018
index-with-locales.js Remove babel-plugin-add-module-exports (#8888) Jan 13, 2018
index.js adjust entry file (#4594) Jan 13, 2017
netlify.toml site: more verbose redirects Apr 19, 2018
package.json Add scripts deploy:china-mirror Sep 16, 2018
tsconfig.json Enable noImplicitAny Nov 22, 2017
tsconfig.test.json Remove allowSyntheticDefaultImports (#8218) Nov 17, 2017
tslint.json Use local tslint config; simplify editor configuration (#10450) May 9, 2018
webpack.config.js use pretty webpack bar Aug 5, 2018

README.md

Ant Design

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

CircleCI Codecov Dependencies DevDependencies

npm package NPM downloads Percentage of issues still open Gitter (English) 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.

🔗 Links

⌨️ 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! :)