Skip to content

Examples ​

Explore working Jadis projects to see the library in action. These examples demonstrate real-world usage patterns, component composition, and state management.

Todo List ​

A classic todo list application showcasing:

Cooking ​

A recipe app, in the browser only:

Cooking, Rendered on the Server ​

The same recipes as a site Fastify renders, then taken over in the browser:

  • One route table for the server and the browser, renderRoute() and @jadis/fastify
  • Pages that load their data before the render, carried to the browser in an attribute
  • A search that works without JavaScript, a 404 for a missing recipe, a cache header for public pages
  • An interactive servings scaler once the code has loaded

It needs a Node server: run it locally.

Minesweeper ​

A fully playable Minesweeper game demonstrating:

jlib ​

A component library built on Jadis, organised in atomic design, showing:

  • Components that work as plain HTML tags and as typed classes in JSX

  • Form fields that submit like native ones

  • Theming through CSS custom properties, light and dark

  • A documentation site, itself a Jadis app, with a live playground for each component

  • Source code: github.com/bioleyl/jlib

  • Documentation: bioleyl.github.io/jlib

Getting Started ​

Ready to build your own? Follow the Installation Guide to get up and running in minutes.