Setup
Installation
Through dependency manager (recommended)
- NPM
- Yarn
- PNPM
- Bun
- Deno
npm install cotton-box
yarn add cotton-box
pnpm install cotton-box
bun add cotton-box
deno add npm: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.