TypeScript CSS JavaScript Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci chore: use one worker on ci Aug 1, 2018
.github Only lock issues May 1, 2018
components Update TreeProps.onCheck callback signature. Aug 19, 2018
docs doc: tweak use-with-create-react-app doc Aug 18, 2018
scripts Fix lint problems from eslint-config-airbnb@17 Jun 22, 2018
site site: move script to body bottom Aug 17, 2018
tests test: fix react mock Jul 23, 2018
typings Refactor button click effect implementation Aug 8, 2018
.codecov.yml 删除手误 Jul 22, 2018
.editorconfig Add editorconfig Jul 15, 2015
.eslintignore fix eslint in package.json (#11705) Aug 10, 2018
.eslintrc.js upgrade eslint-config-airbnb Jun 27, 2018
.gitignore Ignore package-lock.json Oct 9, 2017
.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 Avatar custom size (#11419) Aug 2, 2018
CHANGELOG.en-US.md adding changlog for 3.8.2 (#11782) Aug 18, 2018
CHANGELOG.zh-CN.md adding changlog for 3.8.2 (#11782) Aug 18, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jun 24, 2017
LICENSE Fix outdated Copyright Mar 15, 2016
README-zh_CN.md Add circleci badges Aug 9, 2018
README.md Add circleci badges Aug 9, 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 3.8.2 Aug 18, 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

CircleCI Status 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(中文)

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

中文 README

3.0 Released Now! 🎉🎉🎉

Announcing Ant Design 3.0

Features

  • An enterprise-class UI design system for desktop 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

Let's build a better antd together PRs Welcome

Read our contributing guide.

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

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