Come build with us.
Stacks API v13 for Stacks 5.0
Stack API
The Stack API is for building reusable elements that people add to a Stacks page. A stack can provide content, controls, layout, behavior and supporting resources.
A stack is one element in a Stacks layout. Every item added from the library is a stack. Stacks supplies an outside container, while the bundle supplies the inner content and defines its HTML, CSS, JavaScript, PHP, configurable properties and supporting resources.
In this documentation, Stacks refers to the application or platform, while stack refers to an individual page-building element created with the Stack API.
The built-in stacks reside inside the Stacks application bundle and should not be modified. Third-party stacks are installed in the Stacks application-support folder.
For development, use the .devstack extension. Stacks monitors development bundles for changes and provides additional logging. Finished products should use the .stack extension.
A stack uses a standard macOS bundle structure. Its Contents folder contains an Info.plist and a Resources folder holding templates, libraries, assets and other files required by the stack.