Skip to main content

Setup

Installation

Using a dependency manager

yarn add 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.