ant-design/README.md
2015-11-03 23:10:35 +08:00

2.7 KiB

Ant Design npm package NPM downloads Join the chat at https://gitter.im/ant-design/ant-design

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

Features

  • An enterprise-class graphical design language and framework for financial applications
  • Rich library of UI components base on React Component.
  • A Component development model based on React.
  • Backed by the npm ecosystem.
  • webpack-based debug builds supporting ES6

Install

npm install antd

For a version compatible with React 0.14+ please use our beta version of 0.10.0.

npm install antd@beta

Usage example

  • Use all components

    import { Datepicker } from 'antd';
    ReactDOM.render(<Datepicker />, mountNode);
    
  • Use on demand

    import 'antd/lib/index.css'; // only need to import once in entry module
    import Datepicker from 'antd/lib/datepicker';
    ReactDOM.render(<Datepicker />, mountNode);
    

Browser Support

Normal browsers and Internet Explorer 8+.

Contributing

We welcome all contributions, please submit any ideas as pull requests or as a GitHub issue.