Change a token, watch everything update
Edit the design tokens on the left. Every component on the right reads them live. Flip the scope switch to apply your changes to this whole page.
Click any button to trigger setButtonLoading for two seconds.
Action clicked 0 times.
Loaded with the real loadComponent and closed with closeModal. Escape, outside click and focus trapping are added by this demo, since the library leaves them to you.
Click any image to magnify it with magnifyImg. The gradients are generated from your current tokens.
Running in under a minute
Link the stylesheets, import from the single entry file, and use the classes.
import { setButtonLoading, createEmptyState } from "https://ui.scybud.com/js/ui.js"; const button = document.querySelector(".btn-primary"); button.addEventListener("click", () => setButtonLoading(button, true)); createEmptyState({ container: document.getElementById("feedContainer"), title: "Nothing here yet" });
Build faster with one design system
Read the docs, open the examples, or learn the basics at learn.scybud.com.