Komps is a library of style-less Web Components for building UIs. Komps is platform-agnostic, and each component is fully tree-shakeable by any bundler. Documentation
npm install komps
import { Modal } from 'komps';
new Modal({ content: "Hello World" });For smaller bundles, import components directly instead of from the barrel:
import Modal from 'komps/modal';
import Table from 'komps/table';Each component self-registers as a custom element when imported. Sub-components (e.g., TableRow, TableCell) are registered automatically through the import chain — no extra setup needed.
Checkout details about each method on komps.js.org
npm testDocumentation is built with JSDoc and deployed to GitHub Pages via GitHub Actions on push to main.
npm run docs # build once
npm run docs:watch # rebuild on changes
npm run docs:serve # serve locallynpm publish