Demos
The same three views, a household-chores dashboard, an account settings form and a
warehouse orders admin view, built six ways to show that domestic-ui works with plain HTML and with common frameworks.
Every view uses the same native markup, the stack, cluster and grid layout primitives, and
the atom APIs: data-text, data-button, data-field,
data-badge and the role="switch" checkbox, written exactly as in
examples/atoms/. Every view sits in the
app shell (<dui-app-shell>: app bar with a <dui-menu>, main
navigation, footer). The orders view follows examples/app-shell.html:
a page header, a filter bar with two <dui-combobox>
typeaheads, a <dui-table> data table with a data-density toggle, and the selected order in the
order details sidebar as a data-list-detail list and detail.
Source and run instructions are on GitHub.
- Accessibility checker (
demos/a11y/): Checks the built demo apps the same way the repository checksexamples/: Playwright with axe (tagswcag2a,wcag2aa,wcag21a,wcag21aa,wcag22aa), in light and dark, with every<details>opened and checked again. - Angular (
demos/angular/): The dashboard, account settings and orders views in Angular 22: standalone components, three routes ('','settings'and'orders') with Angular Router, atitleper route, androuterLinkActivewithariaCurrentWhenActive="page"for the current link. - Astro (
demos/astro/): The dashboard, account settings and orders views as three static Astro pages (src/pages/index.astro,src/pages/settings.astroandsrc/pages/orders.astro) sharingsrc/layouts/Base.astro. - React (
demos/react/): The dashboard, account settings and orders views in React 19 with Vite, as a three-page multi-page app (index.html,settings.htmlandorders.html). - Svelte (
demos/svelte/): The dashboard, account settings and orders views in Svelte 5 with Vite, as a three-page multi-page app (index.html,settings.htmlandorders.html). - Plain HTML (
demos/vanilla/): The dashboard, account settings and orders views as three static HTML files, with no build step. - Vue (
demos/vue/): The dashboard, account settings and orders views in Vue 3 with Vite, as a three-page multi-page app (index.html,settings.htmlandorders.html) of single-file components.
Views
The plain HTML views run live on this site (each Open live link). The framework apps need a build; run them locally as demos/README.md explains.
- Dashboard: Household chores: counts due, overdue and done, household members, and a table of upcoming chores with a filter disclosure. Open live. Source: Plain HTML, React, Angular, Astro, Vue, Svelte.
- Account settings: A long form in titled sections: profile, region, email frequency, notification switches and a note for the household, with Save and Cancel in an action bar. Open live. Source: Plain HTML, React, Angular, Astro, Vue, Svelte.
- Orders: A warehouse admin view: page header, filter bar with typeaheads, a data table with a density toggle, and the selected order in the auxiliary sidebar. Open live. Source: Plain HTML, React, Angular, Astro, Vue, Svelte.