Each example is a complete page that runs on this site. Open one and use your browser's View Source to read it. Every example is plain HTML files plus a few small JavaScript modules, loaded with <import-element>. The source is in apps/examples on GitHub.
Todo A store persisted to localStorage, getters for filters and counts, keyed list rows, inline editing with tick() and focus.
Kanban board Columns and cards in a persisted store, native drag and drop, keyboard moves with custom events, a card editor in a dialog.
Chess A full game with legal moves, check, mate and draws, a computer opponent, board flipping and a promotion dialog. Logic lives in an imported module.
Dashboard A sidebar layout, breadcrumb, tabs, charts, a data table with pagination, a command palette and a dropdown menu, all from REALM UI.
Weather City search and a forecast from the Open-Meteo API through fetch attributes, with loading and error states, a chart and a unit switch.
Contacts Create, read, update and delete over a JSON API (served by a service worker) with forms, fetch attributes, validation, dialogs and confirmations.
Chat Conversations with message bubbles, attachments and a scroller that sticks to the newest message. Replies arrive through element-bound timers, with a typing indicator and unread badges.
Shop A product list, product pages and a cart as plain HTML pages without a router, sharing one persisted store. Checkout validates its form and confirms with a dialog.
Notes Markdown notes with a live preview rendered through a sanitised html slot, search, pinning, keyboard shortcuts and a persisted store.
Expenses An expense form, a sortable and filterable table, monthly totals, a chart by category and a CSV export, all derived from one persisted store.
GitHub explorer The public GitHub API through fetch attributes only: debounced search, profiles, sorted and paginated repositories, loading skeletons and rate-limit errors.
Minesweeper Three difficulty levels, replayable seeded boards, a timer bound to the element, keyboard play, best times saved in the browser and win or lose dialogs.
Page sections built from REALM UI components. All of them are defined in one file, blocks.html.
Many docs pages include live demos you can read and change:
Updated 26 October 2026 · Edit this page on GitHub · View as Markdown