Skip to main content

JavaScript

Browser bundles

We distribute several JavaScript files, each of which "bundles" different parts of the system so that you can tailor it to your site without the need for a custom build process.

Our browser bundles (with the .js filename extension) conform to the Universal Module Definition (UMD) spec, and—barring availability of browser globals such as window and document—should run in both web browsers and Node.js.

FileSize
dist/js/icons.js22.74 kB
dist/js/sfds.js22.79 kB

ESM

Each bundle is also available in the ECMAScript Module (ESM) format with the .mjs extension:

FileSize
dist/js/icons.mjs22.51 kB
dist/js/sfds.mjs22.51 kB