bridgableplugin

bridgable_app_pattern

Get a full app shell scaffold for a framework.

bridgable_app_pattern

Returns a copy-pasteable application-pattern scaffold for one framework. Use when the user wants the full bridge app shell — topbar with hamburger menu, navigation rail, brilliance (day/dusk/night/bright) sidebar, alert button, and settings page.

Skip this for single-screen demos that don't need the shell.

Arguments

NameTypeRequiredDescription
patternstringYesWhich application pattern. Currently only "shell".
frameworkstringYesOne of: lit, react, vue, svelte, angular.

Returns

Markdown with imports, state management, layout structure, and theme wiring for the chosen framework. Drop into the project, then fill the marked content slot.

Example

bridgable_app_pattern("shell", "react")

Returns a full React app shell with:

  • ObcTopBar with hamburger toggle
  • ObcNavigationMenu with rail and flyout
  • Brilliance sidebar for theme switching
  • Alert button integration
  • Content slot for your pages

On this page