Bean Scene Boilerplate Variants
This page is the fast lookup surface for backend Vona and frontend Zova bean scenes that expose more than one CLI scaffold template.
Use it when you need to answer questions such as:
- does this bean scene support
--boilerplate=... - which variant names are currently defined
- where is the source module metadata for that scene
Shared rule
Vona and Zova follow the same practical lookup rule for bean-scene boilerplate variants:
boilerplateprovides the default template--boilerplate=webmaps toboilerplateWeb- more generally,
--boilerplate=namemaps toboilerplateName
That means the available variants are scene-defined metadata, not a universal list shared by every scene.
A practical contributor rule is:
- use the default template unless you know the scene exposes a named variant
- check this page first for current built-in examples
- if needed, verify the owning module
package.jsonmetadata before assuming a variant exists
Backend Vona
Current built-in scenes with variants
| Scene | Default metadata key | Named variant keys | Example command | Source module |
|---|---|---|---|---|
filter | boilerplate | boilerplateGlobal | npm run vona :create:bean filter log -- --module=training-student --boilerplate=global | vona-module-a-aspect |
pipe | boilerplate | boilerplateGlobal | npm run vona :create:bean pipe log -- --module=training-student --boilerplate=global | vona-module-a-aspect |
interceptor | boilerplate | boilerplateGlobal | npm run vona :create:bean interceptor log -- --module=training-student --boilerplate=global | vona-module-a-aspect |
guard | boilerplate | boilerplateGlobal | npm run vona :create:bean guard auth -- --module=training-student --boilerplate=global | vona-module-a-aspect |
middleware | boilerplate | boilerplateGlobal | npm run vona :create:bean middleware trace -- --module=training-student --boilerplate=global | vona-module-a-aspect |
ssrMenu | boilerplate | boilerplateWeb | npm run vona :create:bean ssrMenu menuTest -- --module=training-student --boilerplate=web | vona-module-a-ssr |
ssrMenuGroup | boilerplate | boilerplateWeb | npm run vona :create:bean ssrMenuGroup groupTest -- --module=training-student --boilerplate=web | vona-module-a-ssr |
These backend entries come from the current vonaModule.onions metadata in a-aspect and a-ssr.
Frontend Zova
Current built-in scenes with variants
| Scene | Default metadata key | Named variant keys | Example command pattern | Source module |
|---|---|---|---|---|
command | boilerplate | boilerplateCommandBulk, boilerplateCommandRow | npm run zova :create:bean command test -- --module=training-student --boilerplate=commandRow | zova-module-a-command |
tableCell | boilerplate | boilerplateTableActionRow | npm run zova :create:bean tableCell test -- --module=training-student --boilerplate=tableActionRow | zova-module-a-table |
These frontend entries come from the current zovaModule.onions metadata in a-command and a-table.
For the built-in command scene’s runtime model and helper-base patterns, see Command Scene Authoring.
Guidance for AI-assisted development
Do not assume every bean scene supports named variants.
For reliable AI-assisted workflow selection:
- choose
npm run vonafor backend bean scenes andnpm run zovafor frontend bean scenes - check whether the current scene is listed on this page
- if it is not listed, verify the owning module metadata before recommending
--boilerplate=... - treat this page as a current built-in lookup surface, not as a promise that all future scenes will follow the same naming set
Related guides
Use this page together with: