Seven copy-paste CSS components in one dependency-free file (docs/bits.css).
No framework, no build step, light/dark aware via light-dark().
Live demo: https://hako-lab.github.io/css-bits/
Bits: bit-btn (gradient button) · bit-card · bit-toggle (switch from a plain checkbox) ·
bit-skeleton (shimmer loader) · bit-badge · bit-field (floating label input) ·
bit-tip (pure-CSS tooltip).
<link rel="stylesheet" href="bits.css">
<button class="bit-btn">Get started</button>Copy the whole file or just the -- bit: block you need. MIT licensed.