ant-design/README.md
2015-12-06 17:40:04 +08:00

2.6 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 npm + webpack + babel workflow, supporting ES2015.

Install

npm install antd

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.