Dismiss
  • Scroll up
  • Toggle Theme
  • View as Mobile

Style Guard

Style Guard is a small DX package family for catching missing CSS Module class references during development.

The runtime package wraps CSS Module objects with a proxy, while the Babel plugin can apply that guard automatically in development builds.

Why it matters

CSS Module regressions are easy to miss when a class name is removed or renamed. Style Guard turns those mistakes into immediate development errors instead of quiet UI breakage.