# Declarative data attributes # Progressive enhancement

JavaScript utilities

Reusable, component-agnostic behaviors for interaction, data handling, layout and animation.

Scripts

Authoring principles

  • Keep scripts component-agnostic and reusable.
  • Use explicit data attributes prefixed with `data-js-` for configuration.
  • Prefer progressive enhancement so markup still works without JavaScript.
  • Document every behavior with a live example and attribute reference.