jabroni-outfit
Small GUI and persistent state lib based on Vue.
9,018
3
| Install | |
|---|---|
npm install jabroni-outfit |
|
| Latest Version: | 2.1.4 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Mar 20, 2026 |
| Links: | GitHub · npm |
Maintainer: smartacephale

Jabroni Outfit GUI
Small GUI and Persistent State library based on Vue
https://smartacephale.github.io/Jabroni-Outfit-GUI/
Features
- Store vaiables are persistent by default.
- Store variable with <$> prefix are not persistent.
Usage
import { JabronioStore, JabronioGUI } from 'jabroni-outfit';
<script src="https://unpkg.com/jabroni-outfit@latest/dist/jabroni-outfit.umd.js"></script>
...
const { JabronioStore, JabronioGUI } = window.jabronioutfit;
Example
const { JabronioGUI, JabronioStore, setupScheme } = window.jabronioutfit;
const example = () => {
const store = new JabronioStore();
const scheme: SchemeInput = setupScheme([
{
title: 'Colors',
content: [
{
$color1: 'coral',
},
{
color2: 'crimson',
},
{
$color3: 'tomato',
},
{
size: 100,
type: 'range',
max: '500',
min: '0',
},
{
gradientEnabled: true,
label: 'gradient enabled',
},
{
reset: () => {
store.state.$color1 = 'darkslateblue';
store.state.color2 = 'maroon';
store.state.$color3 = 'darksalmon';
},
},
],
},
{
title: 'Advanced',
collapsed: true,
content: [
{
'clueless checkbox': false,
},
],
},
]);
new JabronioGUI(scheme, store);
function drawGradient() {
const { $color1, color2, $color3, gradientEnabled, size } = store.state;
if (!gradientEnabled) {
document.body.style.background = '#000';
return;
}
document.body.style.background = `repeating-radial-gradient(${$color1}, ${color2}, ${$color3} ${size}%)`;
}
drawGradient();
store.stateSubject.subscribe((_) => {
drawGradient();
});
store.eventSubject.subscribe((e) => {
console.log('event', e);
});
};
example();
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.1.4 | ^3.5.26 | MIT | |
| 2.1.3 | ^3.5.26 | MIT | |
| 2.1.2 | ^3.5.26 | MIT | |
| 2.1.1 | ^3.5.26 | MIT | |
| 2.1.0 | ^3.5.26 | MIT | |
| 2.0.998 | ^3.5.26 | MIT | |
| 2.0.997 | ^3.5.26 | MIT | |
| 2.0.996 | ^3.5.26 | MIT | |
| 2.0.994 | ^3.5.26 | MIT | |
| 2.0.993 | ^3.5.26 | MIT | |
| 2.0.992 | ^3.5.26 | MIT | |
| 2.0.991 | ^3.5.26 | MIT | |
| 2.0.98 | ^3.5.26 | MIT | |
| 2.0.97 | ^3.5.26 | MIT | |
| 2.0.96 | ^3.5.26 | MIT | |
| 2.0.95 | ^3.5.26 | MIT | |
| 2.0.94 | ^3.5.26 | MIT | |
| 2.0.92 | ^3.5.26 | MIT | |
| 1.6.5 | ^3.4.37 | MIT | |
| 1.6.4 | ^3.4.37 | MIT | |
| 1.4.9 | ^3.4.37 | MIT | |
| 1.4.8 | ^3.4.37 | MIT | |
| 1.4.7 | ^3.4.37 | MIT | |
| 1.4.6 | ^3.4.37 | MIT | |
| 1.4.5 | ^3.4.37 | MIT | |
| 1.4.4 | ^3.4.37 | MIT | |
| 1.4.3 | ^3.4.37 | MIT | |
| 1.4.2 | ^3.4.37 | MIT | |
| 1.4.1 | ^3.4.37 | MIT | |
| 1.4.0 | ^3.4.37 | MIT |
Showing the latest 30 of 32. See every release on npm