@ant-design/cssinjs

Component level cssinjs resolution for antd

Usage no npm install needed!

<script type="module">
  import antDesignCssinjs from 'https://cdn.skypack.dev/@ant-design/cssinjs';
</script>

README

@ant-design/cssinjs

NPM version npm download dumi build status Codecov Dependencies DevDependencies bundle size

Component level cssinjs solution used in ant.design. It's a subset of Emotion with design token logic wrapper. Please feel free to use emotion directly if you want to find a web cssinjs solution. cssinjs related dep packages:

  • stylis
  • @emotion/hash
  • @emotion/unitless

Live Demo

https://cssinjs.vercel.app/

Install

@ant-design/cssinjs

Development

npm install
npm start

License

@ant-design/cssinjs is released under the MIT license.