Web components · Stencil + Tailwind · zero build
wc-xplor
A showcase of independent web components, each built with Stencil and Tailwind, published to npm, and loaded here straight from the jsDelivr CDN. There's no framework and no build step: the whole page is one HTML file.
The components
A GraphQL demo: fetches a list of Forza Horizon 5 cars, caches it in localStorage, and shows each make's logo through the icon loader.
An SVG demo: a funnel chart whose bars animate with anime.js when you refresh the data or pick a new colour.
A playable Sudoku game. New puzzles come from a Rust API server, also deployed on Vercel.
The data and colour controls behind Funnel, without the chart: generate random values, pick a colour, and watch the store update.
How it works
One view at a time
The nav switches views using the URL hash (#sudoku and so on), so every
view has a link you can share, and Back and Forward work.
Loaded on demand
Each component's bundle is fetched from the CDN the first time you open its view, so the first visit downloads only what you see.
State survives
Every component keeps its own store, and views are hidden rather than removed, so a half-finished puzzle is still there when you come back. Each component also saves its state in localStorage, so it survives a reload too.
Always current
A small script picks up new npm releases, rewrites the version numbers in this page (including the ones above), and redeploys.