domestic-ui GitHub

Principles

domestic-ui packages existing web standards and well-known patterns. Nothing here is original. The rules below come from the WHATWG HTML Living Standard, the W3C CSS specifications, WCAG 2.2, the ARIA Authoring Practices Guide (APG) and MDN Web Docs. Where we had to pick between valid options, the pick is labeled Our choice: with one line saying why.

Sections

  1. Native element first
  2. Agent-friendly by design
  3. Accessibility baseline: WCAG 2.2 AA
  4. Cascade layers
  5. Theming
  6. Motion
  7. Elevation
  8. Opinions we hold
  9. Layout primitives
  10. Web components
  11. Explainers
  12. Tooling
  13. Edges and alignment
  14. Design principles

Search