Step 1 : Download from yarn or npm
> yarn add pretty-checkbox //or
> npm install pretty-checkbox
Alternatively, you can also use CDN link
https://cdn.jsdelivr.net/npm/pretty-checkbox@3.0/dist/pretty-checkbox.min.css
Step 2 : Add dist/pretty-checkbox.min.css file in your html or import src/pretty-checkbox.scss file in your scss file
@import '~pretty-checkbox/src/pretty-checkbox.scss';
Step 3 : Add the mark up in your file. Can be used with Bootstrap, Foundation, Bulma frameworks.
<div class="pretty p-default">
<input type="checkbox" />
<div class="state">
<label>Check</label>
</div>
</div>