JSPM

antd

0.10.0-beta19
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1665455
  • Score
    100M100P100Q184079F
  • License MIT

一个 UI 设计语言

Package Exports

  • antd
  • antd/lib
  • antd/lib/affix
  • antd/lib/alert
  • antd/lib/alert/index
  • antd/lib/badge
  • antd/lib/badge/index
  • antd/lib/breadcrumb
  • antd/lib/breadcrumb/index
  • antd/lib/button
  • antd/lib/button/button
  • antd/lib/button/button-group
  • antd/lib/button/index
  • antd/lib/button/index.js
  • antd/lib/carousel
  • antd/lib/checkbox
  • antd/lib/checkbox/index
  • antd/lib/checkbox/index.js
  • antd/lib/collapse
  • antd/lib/collapse/index
  • antd/lib/datepicker
  • antd/lib/dropdown
  • antd/lib/dropdown/index
  • antd/lib/form
  • antd/lib/form/Form
  • antd/lib/form/FormItem
  • antd/lib/form/index
  • antd/lib/index
  • antd/lib/index.css
  • antd/lib/index.js
  • antd/lib/input-number
  • antd/lib/input-number/index.js
  • antd/lib/layout
  • antd/lib/layout/index
  • antd/lib/menu
  • antd/lib/menu/index
  • antd/lib/message
  • antd/lib/message/index
  • antd/lib/modal
  • antd/lib/modal/confirm
  • antd/lib/modal/index
  • antd/lib/modal/index.js
  • antd/lib/notification
  • antd/lib/notification/index
  • antd/lib/pagination
  • antd/lib/popconfirm
  • antd/lib/popconfirm/index
  • antd/lib/popover
  • antd/lib/popover/index
  • antd/lib/popover/index.js
  • antd/lib/progress
  • antd/lib/radio
  • antd/lib/radio/group
  • antd/lib/radio/index
  • antd/lib/radio/index.js
  • antd/lib/radio/radio
  • antd/lib/select
  • antd/lib/select/index
  • antd/lib/select/index.js
  • antd/lib/slider
  • antd/lib/slider/index.js
  • antd/lib/spin
  • antd/lib/steps
  • antd/lib/steps/index
  • antd/lib/switch
  • antd/lib/switch/index
  • antd/lib/switch/index.js
  • antd/lib/table
  • antd/lib/tabs
  • antd/lib/tabs/index
  • antd/lib/tag
  • antd/lib/tag/index
  • antd/lib/timeline
  • antd/lib/timeline/index
  • antd/lib/tooltip
  • antd/lib/tooltip/index
  • antd/lib/tree
  • antd/lib/tree/index
  • antd/lib/upload
  • antd/lib/upload/index
  • antd/lib/upload/index.js
  • antd/package
  • antd/package.json
  • antd/style/index.less

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (antd) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.