StackPanel

Modules

Builtin Stackpanel modules and their internals

Stackpanel ships with a set of builtin modules that provide integrated tooling for common development workflows. Each module is a directory under nix/stackpanel/modules/ with a standard structure:

  • meta.nix — Pure data: name, description, icon, category, tags, feature flags, flake inputs
  • module.nix — Options and configuration logic
  • ui.nix — Studio panel definitions
  • default.nix — Entry point that imports the above

Modules are auto-discovered — drop a new directory into nix/stackpanel/modules/ and it's available immediately.

For fast metadata access without full Nix evaluation:

config.stackpanel._moduleMetas.<module-id>

Builtin Modules

Writing a New Module

Use the _template/ directory as a starting point:

cp -r nix/stackpanel/modules/_template nix/stackpanel/modules/my-module

See Writing Extensions for the full guide, and the Module Template for the annotated starter files.

On this page