Skip to content

Compatibility matrix

Compatibility depends on the helper type. Foundation does not require React.

AreaReactNext.jsVueAngularAstroViteNode
SCSS tokens/mixinsYesYesYesYesYesYesNo
cx and guardsYesYesYesYesYesYesYes
DOM/a11yBrowserClient onlyBrowserBrowserClient onlyBrowserNo
SEO/build HTMLYesYesYesYesYesYesYes
Client-side metadataBrowserClient onlyBrowserBrowserClient onlyBrowserNo

Recommended Node version for docs and ecosystem builds: 24.x.

Supported compatibility

  • Node: the package declares support for Node >=20. Ecosystem documentation scripts are validated with Node 24.x.
  • Modules: Foundation is published as ESM. Consumers should use ESM imports or a compatible bundler.
  • Browsers: DOM helpers target modern browsers with standard DOM APIs.
  • SSR: importing Foundation during SSR is safe. Helpers that mutate document should run only on the client or receive an explicit documentRef.
  • Frameworks: Foundation does not depend on React, Vue, Angular, Astro or Next.js. Each framework decides where DOM/client-side helpers run.