domestic-ui GitHub

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 checks examples/: Playwright with axe (tags wcag2a, 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, a title per route, and routerLinkActive with ariaCurrentWhenActive="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.astro and src/pages/orders.astro) sharing src/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.html and orders.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.html and orders.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.html and orders.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.

Search