soft
218+

components that feel soft.

A minimal, springy UI library. Plain CSS and a little JS, plus React components. Light and dark. Motion that respects reduced-motion.

Browse componentsQuick start

Modules

Quick start

<link rel="stylesheet" href="soft.css"> <script src="soft.js" defer></script> <body class="sf"> <button class="sf-btn" data-sf-confetti>Hello</button> </body>

One CSS file and one JS file contain everything. Dark mode: set data-sf-theme="dark" on <html>. React: import from dist/react.