Setup
Installation
Using a dependency manager
- Yarn
- NPM
yarn add cotton-box
npm install cotton-box
With UNPKG
For development
<script src="https://www.unpkg.com/cotton-box@<VERSION>/lib/umd/index.js" crossorigin></script>
For production
<script src="https://www.unpkg.com/cotton-box@<VERSION>/lib/umd/index.min.js" crossorigin></script>
Then replace <VERSION>
with the version that you need.