JSPM

antd

1.0.0-beta.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1665455
  • Score
    100M100P100Q184077F
  • License MIT

一个 UI 设计语言

Package Exports

  • antd
  • antd/dist/antd
  • antd/dist/antd.css
  • antd/dist/antd.min.css
  • antd/lib
  • antd/lib/affix
  • antd/lib/alert
  • antd/lib/alert/index
  • antd/lib/badge
  • antd/lib/badge/ScrollNumber
  • 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/calendar
  • antd/lib/calendar/Header
  • antd/lib/calendar/locale/en_US
  • antd/lib/calendar/locale/zh_CN
  • antd/lib/card
  • antd/lib/card/index
  • antd/lib/carousel
  • antd/lib/cascader
  • antd/lib/cascader/index.js
  • antd/lib/checkbox
  • antd/lib/checkbox/Group
  • antd/lib/checkbox/index
  • antd/lib/checkbox/index.js
  • antd/lib/col
  • antd/lib/col/index
  • antd/lib/col/index.js
  • antd/lib/collapse
  • antd/lib/collapse/index
  • antd/lib/date-picker
  • antd/lib/date-picker/RangePicker
  • antd/lib/date-picker/index
  • antd/lib/date-picker/index.js
  • antd/lib/date-picker/locale/en_US
  • antd/lib/date-picker/locale/zh_CN
  • antd/lib/date-picker/wrapPicker
  • antd/lib/dropdown
  • antd/lib/dropdown/dropdown
  • antd/lib/dropdown/dropdown-button
  • antd/lib/dropdown/index
  • antd/lib/form
  • antd/lib/form/Form
  • antd/lib/form/FormItem
  • antd/lib/form/index
  • antd/lib/icon
  • antd/lib/icon/index
  • antd/lib/index
  • antd/lib/index.css
  • antd/lib/index.js
  • antd/lib/input
  • antd/lib/input-number
  • antd/lib/input-number/index.js
  • antd/lib/input/Group
  • antd/lib/input/Input
  • antd/lib/input/index
  • antd/lib/input/index.js
  • antd/lib/layout
  • antd/lib/layout/index
  • antd/lib/locale-provider
  • antd/lib/locale-provider/en_US
  • antd/lib/locale-provider/index
  • antd/lib/locale-provider/ru_RU
  • antd/lib/menu
  • antd/lib/menu/index
  • antd/lib/message
  • antd/lib/message/index
  • antd/lib/modal
  • antd/lib/modal/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/pagination/MiniSelect
  • antd/lib/popconfirm
  • antd/lib/popconfirm/index
  • antd/lib/popover
  • antd/lib/popover/index
  • antd/lib/popover/index.js
  • antd/lib/progress
  • antd/lib/progress/progress
  • antd/lib/radio
  • antd/lib/radio/group
  • antd/lib/radio/index
  • antd/lib/radio/index.js
  • antd/lib/radio/radio
  • antd/lib/radio/radioButton
  • antd/lib/rate
  • antd/lib/rate/index
  • antd/lib/rate/index.js
  • antd/lib/row
  • antd/lib/row/index
  • antd/lib/row/index.js
  • 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/table/util
  • antd/lib/tabs
  • antd/lib/tabs/index
  • antd/lib/tag
  • antd/lib/tag/index
  • antd/lib/time-picker
  • antd/lib/time-picker/index.js
  • antd/lib/time-picker/locale/en_US
  • antd/lib/time-picker/locale/zh_CN
  • antd/lib/timeline
  • antd/lib/timeline/index
  • antd/lib/tooltip
  • antd/lib/tooltip/index
  • antd/lib/transfer
  • antd/lib/transfer/operation
  • antd/lib/transfer/search
  • antd/lib/tree
  • antd/lib/tree-select
  • antd/lib/tree-select/index
  • antd/lib/tree-select/index.js
  • 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 Dependency Status 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 design language and high quality UI style.
  • Rich library of UI components base on React Component.
  • A npm + webpack + babel + dora workflow.

Install

npm install antd

Usage example

import { DatePicker } from 'antd';
ReactDOM.render(<DatePicker />, mountNode);

Import style:

import 'antd/lib/index.css';  // or 'antd/style/index.less'

Use components on demand by writing as import DatePicker from 'antd/lib/date-picker' or use babel-plugin-antd.

Browser Support

Normal browsers and Internet Explorer 8+.

IE8 issues

TypeScript

///<reference path='./node_modules/antd/type-definitions/antd.d.ts'/>
...

Contributing

We welcome all contributions, please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as a GitHub issue. If you'd like to improve code, check out the Development Instruction and have a good time! :)