StackPanel

Modules

Builtin Stackpanel modules and their internals

Bundled Stackpanel modules provide tooling for common development workflows. Within the Stackpanel repository they generally have this 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

A consumer project does not copy its module into the Stackpanel repository. Publish stackpanelModules.default from a flake or put a project-local module in .stack/modules/. Studio and stack module list --all use stackpanel.modulesListAll for both bundled and external modules.

Builtin Modules

OxLint is an installable registry module; see the user guide for installation and adoption.

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