markup.tips
Use the platform. Reach for a native API before a library.

markup.tips

Performance-first, accessibility-first patterns for building modern web UIs. Each rule is a self-contained pattern an agent can apply without reading a full codebase.

Rules

Philosophy

  • Use the platform. Reach for a native API before a library.
  • Semantic HTML is free performance and free accessibility.
  • CSS custom properties > component-scoped styles for theming.
  • Offline is a feature, not an edge case.
  • Never hard-code a color. Never reduce opacity on hover.

Reference Implementation

pantry-host — a self-hosted kitchen manager. Every rule in this directory is distilled from patterns proven in that codebase.