HTML Library

The StaticKit HTML library is designed for environments where you are authoring plain HTML (instead a framework like React). If you are using a static site generator like Jekyll, Hugo, or Middleman, this is the library for you.

Source on GitHub | npm package


The CDN method is the quickest way to get up and running.

Just place our <script> tag anywhere on your page:

<script defer src=""></script>


  sk('form', 'init', { 
    // ...

Note that our script is loaded asynchronously, so it will never impact your site's performance.

If you have a modern JavaScript pipeline in place, it's best to install StaticKit as a dependency:

npm install @statickit/html

In your JavaScript file:

import sk from '@statickit/html'

sk('form', 'init', { 
  // ...