Installation
Get started with Kutsu by installing it via CDN or package manager.
CDN
The easiest way to add Kutsu to your project is using a CDN. Copy and paste the <script> tag near the end of your pages, right before the closing </body> tag.
Bundle
kutsu.bundle.js includes Popper.js for the Dropdown component positioning.
<script src="https://cdn.jsdelivr.net/npm/kutsu@latest/dist/kutsu.bundle.min.js"></script>
Standalone
If you don’t need Dropdown or want to use your own Popper.js version:
<script src="https://cdn.jsdelivr.net/npm/kutsu@latest/dist/kutsu.min.js"></script>
ES Modules
Kutsu supports ES modules for modern bundlers:
import { Offcanvas, Dropdown, Scrollspy } from 'kutsu'
Package Managers
npm
npm install kutsu
pnpm
pnpm add kutsu
Yarn
yarn add kutsu