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.
 
 

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 DatePicker from 'antd/lib/date-picker';
    ReactDOM.render(<DatePicker />, mountNode);
    

Import style:

// only need to import once in entry module
import 'antd/lib/index.css';
// or less for modifyVars
import 'antd/style/index.less';

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.