You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
afc163 7fa4e7aed3
Fixed Modal width when screen size smaller than 768px
6 years ago
.circleci chore: store package-lock.json as artifact 6 years ago
.github ⚙️ upgrade code style 6 years ago
components Fixed Modal width when screen size smaller than 768px 6 years ago
docs 📝 Add react-highlight-words in recomendation 6 years ago
scripts auto prettier and auto git add 6 years ago
site 💄 site: use Button in home page 6 years ago
tests 💄 use chalk in console.log 6 years ago
typings support prettier 6 years ago
.codecov.yml 🚨 coverage precision to 1 6 years ago
.editorconfig 🎨 Add emoji in commit message 6 years ago
.eslintignore 🌱 remove blank 6 years ago
.eslintrc.js support prettier 6 years ago
.gitignore Revert "Use less @plugin" (#13613) 6 years ago
.jest.js Migrate jest new configuration 6 years ago
.jest.node.js fix test ci (#13659) 6 years ago
.prettierignore support prettier 6 years ago
.prettierrc support prettier 6 years ago
.remarkrc.js Add remark lint (#13906) 6 years ago
.stylelintrc Revert "Use less @plugin" (#13613) 6 years ago
.travis.yml 🆙 use node 11 in travis 6 years ago
AUTHORS.txt merge master 6 years ago
CHANGELOG.en-US.md update changelog 6 years ago
CHANGELOG.zh-CN.md update changelog 6 years ago
CODE_OF_CONDUCT.md ️ Upgrade some details of docs and code style 6 years ago
LICENSE 🌱 Upgrade LICENSE 6 years ago
README-zh_CN.md 📝 update badges 6 years ago
README.md 📝 update badges 6 years ago
crowdin.yml Update Crowdin configuration file 6 years ago
index-with-locales.js support prettier 6 years ago
index.js support prettier 6 years ago
netlify.toml site: more verbose redirects 7 years ago
package.json Add remark lint (#13906) 6 years ago
tsconfig.json support prettier 6 years ago
tsconfig.test.json Remove allowSyntheticDefaultImports (#8218) 7 years ago
tslint.json support prettier 6 years ago
webpack.config.js update antd-tools & bisheng version 6 years ago

README.md

Ant Design

An enterprise-class UI design language and React implementation.

CircleCI branch Codecov npm package NPM downloads Issues need help

Dependencies DevDependencies Total alerts Language grade: JavaScript 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! :)

Let's fund issues in this repository