Rendered from naming/allowed.md

Class Naming Conventions — Allowed

This gauge covers Chapter 23 after the Page Layout System chapter.

Learning goal

Adopt one class-naming convention for a page or component set, and apply it consistently. Treat Reference-style block__element as a useful convention — not as strict BEM.

Inherited tools

Everything allowed through ../layout-system/allowed.md remains available.

New concepts

Learning rules

  1. Pick one convention per page or design system surface and stick to it.
  2. Name for meaning (card__title), not appearance (big-blue-text).
  3. Prefer one element level under a block when learning (block__element).
  4. Do not mix flat names, block__element, and kebab-block __ element styles inside the same component without a reason.
  5. Class names are not semantics — landmarks and headings still come from HTML.

Not allowed

Pages

Rules to lean on

Rules on naming added beside the selector guidance in rules.md, plus rules 12, 51–53, and 72–80.