shared widgets library for my mods , but you can also use this
yep , it's a bit (fully) vibecoded , but i tried to keep it all clean
will be expanded
what's inside right now :
- signal picker — a modal signal chooser (group tabs + search + quality , factory-planner style).
three flavors: plain signal , numbers-only constant , and signal + count (pick a signal AND
how much of it , like -60 tanks)
- signal button — a slot button that shows the current signal/number and opens that picker on click.
drops straight into a condition row as an operand
- connection status — that little "connected to: ..." / input:/output: subheader bar you see on
combinator windows , with the live signal list in the tooltip
- style browser — a dev tool: a /command that opens a searchable list of every gui style with a
live preview next to each. handy for picking the right built-in style while building guis
most of this exists because the vanilla gui windows aren't reusable from mods , so the common bits had to be rebuilt by hand