Start Here
Getting SmarkForm
The current release is 0.25.0. Use the versioned URLs below for production so an upstream release cannot change your app unexpectedly.
Use either ESM or UMD from jsDelivr:
https://cdn.jsdelivr.net/npm/smarkform@0.25.0/dist/SmarkForm.esm.jshttps://cdn.jsdelivr.net/npm/smarkform@0.25.0/dist/SmarkForm.umd.jsSee Getting SmarkForm for help choosing a distribution format.
For experiments, demos, and training, these unpinned URLs resolve to the latest published package version. Avoid them in production:
https://cdn.jsdelivr.net/npm/smarkform/dist/SmarkForm.esm.jshttps://cdn.jsdelivr.net/npm/smarkform/dist/SmarkForm.umd.jsAs discussed in the Download Section, you can also find the CSS used in our Examples Section as CDN resources.
Just insert the following lines in your <head> section.
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/bitifet/SmarkForm@0.25.0/dist/examples/smarkform_layout_sample.css'>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/bitifet/SmarkForm@0.25.0/dist/examples/smarkform_styles_sample.css'>
As for SmarkForm modules, if you want to always get the latest available example CSS files, you can use the following links instead:
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/bitifet/SmarkForm/dist/examples/smarkform_layout_sample.css'>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/bitifet/SmarkForm/dist/examples/smarkform_styles_sample.css'>