Solacepace's Custom Widget is a powerful tool that lets advanced users create and embed their own mini web apps using HTML, CSS, and JavaScript.
From simple visual elements to interactive features, you can bring your own ideas to life—directly inside your workspace.
The Custom Widget consists of three input areas:
All code is instantly rendered inside the widget, so you can see your changes in real time as you edit.
You can write code using <html>
, <style>
, and <script>
tags like this:
<html>
<div class="hello">Hello!</div>
</html>
<style>
.hello {
background-color: red;
color: white;
padding: 10px;
}
</style>
<script>
console.log("Hello from custom widget!");
</script>
This approach lets you build self-contained web components, all within a single widget.
The possibilities are endless, including:
It's your canvas—use your imagination.
You can also use <iframe>
to embed external content. For example:
⚠ Note: For security reasons, some JavaScript features are restricted. Scripts run in a sandboxed environment, so not all functionality is guaranteed to work, especially features that interact with the broader browser or external APIs. We recommend building incrementally and testing as you go.
While extremely powerful, the Custom Widget assumes basic knowledge of HTML, CSS, and JavaScript. To avoid errors or unexpected behavior, start small and build up gradually.
If you're experimenting with new ideas, tools like CodePen are great for prototyping before transferring code into Solacepace.
Solacepace’s Custom Widget is the ultimate extension tool for creators who want to build their workspace by hand.
Whether you're embedding a utility, styling your space, or integrating outside content, the only real limit is your imagination.
So go ahead—experiment, tinker, and create your perfect digital space.