Download
đź“– Table of Contents
SmarkForm
SmarkForm is distributed as an ES module and a UMD bundle. The minified builds are approximately 116 KB.
Latest version
Older versions
For older releases, select the matching version or tag in the GitHub repository, then download the ESM or UMD file from its dist/ directory.
Other Resources
CSS
SmarkForm is a layout-agnostic library, so you are free to design your layout and styles to your liking.
The layout and stylesheets below are optional examples from the Legacy Examples archive. SmarkForm does not require them.
- Layout: ⤵️ SmarkForm_layout_sample.css
- Styles: ⤵️ SmarkForm_styles_sample.css
To learn how to use these styles, inspect the Legacy Examples source.
Boilerplate Template
Alternatively, start with the empty boilerplate template:
- Boilerplate template: ⤵️ SmarkForm_legacy_template.html
The template loads SmarkForm (UMD) from jsDelivr and references the sample stylesheets by filename. Keep the template and CSS files together to use those styles. See the CDN guide for versioned and latest library links.
This mean that you don’t need to worry about downloading them or adjusting any url.
…but, at the same time, if you don’t want to rely on CDN resources you will need to download the assets from this page and update the
<head>section of this template accordingly.