Third-party libraries
All of them may be included in commercial products under their licenses.
| Library | Version | License | Used on |
|---|---|---|---|
| Bootstrap | 5.3.3 | MIT | Every page |
| Tabler Icons | 3.19.0 | MIT | Every page |
| Plus Jakarta Sans | Font | SIL OFL 1.1 | Every page |
| ApexCharts | 3.54.1 | MIT | Every page with the sidebar; charts on four dashboards and Charts |
| FullCalendar | 6.1.21 | MIT | Calendar |
| SortableJS | 1.15.7 | MIT | Kanban, Drag & drop |
| DataTables | 2.3.8 | MIT | Data tables |
| jQuery | 3.7.1 | MIT | Data tables only, for DataTables |
| Flatpickr | 4.6.13 | MIT | Form pickers |
| Tom Select | 2.6.2 | Apache-2.0 | Form pickers |
| FilePond | 4.32.12 | MIT | File upload |
| FilePond plugins | 4.6.12 · 1.2.9 · 2.2.8 | MIT | Image preview, file type and file size checks on File upload |
| SweetAlert2 | 11.26.25 | MIT | SweetAlert |
| Quill | 2.0.3 | BSD-3-Clause | Text editor |
| marked | 12.0.2 | MIT | Text editor (Markdown preview) |
| DOMPurify | 3.1.6 | MPL-2.0 or Apache-2.0 | Text editor (cleans the preview HTML) |
| jsvectormap | 1.6.0 | MIT | Maps |
| Font Awesome Free | 7.3.1 | Icons CC BY 4.0, fonts SIL OFL 1.1, code MIT | Icons |
| Bootstrap Icons | 1.13.1 | MIT | Icons |
| Phosphor Icons | 2.1.2 | MIT | Icons |
The FilePond plugins are image preview (4.6.12), file type validation (1.2.9) and file size validation (2.2.8). DataTables loads together with its Bootstrap 5 styling package, datatables.net-bs5, of the same version.
The date picker (sl-datepicker.js) and the file uploader (sl-upload.js) are part of Selaras itself, not third-party libraries.
Font Awesome needs a credit
The Font Awesome Free icons are licensed under CC BY 4.0, which requires a credit. If your product ships Font Awesome icons, mention it in your credits, about page or documentation, and keep the license comment at the top of its CSS file.
A credit line you can use:
Icons by Font Awesome Free (fontawesome.com), licensed under CC BY 4.0. In Selaras, Font Awesome is loaded only on UI Kit › Icons, as one of three optional icon sets. The built-in icons everywhere else are Tabler Icons, under the MIT license.
Where the files are
Every library is included in the download, in assets/vendor/ — one folder per library, with its license file next to it. The font is there too, in assets/vendor/plus-jakarta-sans/. Nothing loads from a CDN, so the pages work offline and on an intranet.
The pages link to those files in three places:
src/partials/head.html— the font, the Bootstrap CSS and Tabler Icons, for every page.src/layout.html,src/layout-auth.html,src/layout-error.htmlandsrc/layout-store.html— the Bootstrap JavaScript;src/layout.htmlalso loads ApexCharts.- The
"styles"and"scripts"lists in the meta line of a page insrc/pages/— every other library, only on that page.
Update a library
The versions are listed in vendor.json. The script tools/vendor.mjs copies them into assets/vendor/: the listed files, the fonts and images their stylesheets refer to, and the license.
- Read the release notes of the new version first (see Before you upgrade a library), then change its version in
vendor.json. - Run the script. It needs Node.js 18 or newer and an internet connection — for this step only.
node tools/vendor.mjs - Rebuild with
node build.mjs. Library links get a version stamp too, so browsers load the new files instead of old copies from their cache. - Check the pages that use the library — the table above lists them — in light and dark mode.
The script replaces the whole assets/vendor/ folder, so keep your own files elsewhere, for example in assets/js/. Paths that start with assets/ are adjusted automatically for the Indonesian pages in id/.
Prefer a CDN? Replace a local path with the CDN address of the same version, for example https://cdn.jsdelivr.net/npm/apexcharts@3.54.1/dist/apexcharts.min.js, and rebuild.
Remove a library you don’t use
Most libraries load only on the page that uses them, through that page’s "styles" and "scripts" meta. Removing one never affects the other pages. To drop a UI Kit page and its library:
- Delete the page source, for example
src/pages/ui-pickers.html, and its scriptassets/js/ui-pickers.js. - Remove its entry from the
NAVlist inbuild.mjs. The search on the 404 page is built from the same list, so it updates too. - Rebuild with
node build.mjs, then delete the old built files (ui-pickers.htmlandid/ui-pickers.html) — the build does not remove pages it no longer makes. - Optional: delete the library’s skin from
assets/css/selaras.css. Each skin sits under its own heading comment, such asFlatpickr 4.6orTom Select 2.6.
To keep a page but drop one of its libraries, remove the URL from the page’s meta and the code that calls the library in the page script.
Shared libraries
- Bootstrap and Tabler Icons are used by every page — dropdowns, modals, tooltips, the grid and all icons depend on them. Keep them.
- ApexCharts loads on every page with the sidebar. If you don’t need charts, remove its line from
src/layout.html; the pages keep working, only the charts are not drawn. Remove the chart cards from the dashboards as well. - jQuery is needed only by DataTables. SortableJS is used by Kanban and Drag & drop, and FullCalendar by the Calendar app.
Before you upgrade a library
Selaras is built and tested with the versions above. Before moving to a newer version, read its changelog and its license — terms can change between versions.
- ApexCharts — version 3.54.1 is MIT. Check the license of any later version before you upgrade, because it may be different.
- FullCalendar — Selaras uses the standard bundle, which is MIT. FullCalendar also sells premium plugins (such as timeline and resource views) under a commercial license. They are not included; add them only if you buy that license.
- SweetAlert2 — the included version has been reviewed. Read the release notes of a newer version before upgrading.
Selaras restyles these libraries closely. After an upgrade, check the dashboards, the charts and the UI Kit pages in both light and dark mode.
Credits
Selaras is built on the work of the open-source projects listed above. Thank you to their authors and contributors: Bootstrap, Tabler Icons, ApexCharts, FullCalendar, SortableJS, jQuery, DataTables, Flatpickr, Tom Select, FilePond, SweetAlert2, Quill, marked, DOMPurify, jsvectormap, Font Awesome, Bootstrap Icons, Phosphor Icons and the Plus Jakarta Sans typeface.
Each library keeps its own license. Its license text is included next to its files in assets/vendor/.