
UNPKG GITHUB HOW TO
If you're new to posting issues, we ask that you read How To Ask Questions The Smart Way and How to Ask a Question in Open Source Community and How to Report Bugs Effectively prior to posting. Feel free to report bugs and issues here. If you'd like to help us improve antd, just create a Pull Request. If your company or product uses Ant Design, let us know here! Contributing # TypeScript #Īntd provides a built-in ts definition, don't install Links # Usage # import from 'antd' Īnd import stylesheets manually: import 'antd/dist/antd.css' // or 'antd/dist/antd.less' Use modularized antd #Īntd supports ES modules tree shaking by default for JS part. Note: you should import react/react-dom/moment before using antd.js. Antd is intended to be used in conjunction with a build tool, such as webpack, which will make it easy to import only the parts of antd that you are using. We strongly discourage loading the entire files this will add bloat to your application and make it more difficult to receive bugfixes and updates. You can also download these files directly from, or unpkg.

We provide antd.js antd.css and under antd/dist in antd's npm package. Import in Browser #Īdd script and link tags in your browser and use the global variable antd. If you are in a bad network environment, you can try other registries and tools like cnpm. We recommend using npm or yarn to install, it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling. You can subscribe to this feed for new version notifications: Installation # Using npm or yarn # We drop support of IE8 after, We drop support of React 15 and IE9/10 after, Version # You can set targets config if you are using umi. Modern browsers and Internet Explorer 11 (with polyfills) 🎨 Powerful theme customization in every detail. 🌍 Internationalization support for dozens of languages. ⚙️ Whole package of design resources and development tools. 🛡 Written in TypeScript with predictable static types.


📦 A set of high-quality React components out of the box. 🌈 Enterprise-class UI designed for web applications.
