Custom HTML documents
Nexo Maker supports fully custom HTML-based components, making it easy to design rich user interfaces for your tools and extensions.
Last updated
Nexo Maker supports fully custom HTML-based components, making it easy to design rich user interfaces for your tools and extensions.
Last updated
To load external HTML or CSS files into your pluginβs UI, you can use the loadFile()
function provided by the API. This is particularly powerful when combined with defineStyle()
, which merges your HTML and CSS into a single renderable component.
You can pair loadFile()
with defineStyle()
to render a complete HTML document with CSS styling directly inside the Nexo Maker UI.
doc.html
style.css
loadFile()
with defineStyle()
Modularity: Keep your UI structure and styling cleanly separated.
Maintainability: Easier to update layout and design without touching JS logic.
Flexibility: Use the same HTML and CSS in multiple places or expansions.