Skip to content

Bootstrap 5 Desktop Apps

Create a Bootstrap 5 Desktop project, structure its routed interface, configure Electron window behavior, and use the app toolbar to build, run, open, and package it.

A Desktop project combines Bootstrap 5 with an Electron target

Choose the Desktop project type when the application is intended to install and run as a desktop program. Bootstrap 5 provides the responsive UI, App Connect provides routing and application logic, and the Electron target provides desktop windows, local execution, packaging, and distribution.

Desktop project
Supplies desktop-specific settings and publishing controls.
Bootstrap 5
Builds the interface with grids, utilities, forms, and components.
Electron target
Builds, runs, opens, and packages the desktop application.

Open New Project and choose Desktop

Desktop is its own project category. Select it before choosing a starter so Wappler exposes the correct app metadata, Electron settings, window options, and target workflow.

Choose Bootstrap Blank

Bootstrap Blank is the focused Bootstrap 5 desktop starter. It supplies the routed app shell without filling the project with sample screens, so the window and the interface can grow around the product’s real workflow.

Set identity, routing, assets, and Electron window behavior

In the new-project options and later Project Settings, confirm the Bootstrap 5 design framework, App Connect routing, app file, styles and assets, title, application ID, version, and author. Electron settings control how the installed program opens and what desktop capabilities its window receives.

Electron setting Purpose Check before release
Width / HeightInitial window sizeFits the smallest supported display
Resizable / Fullscreen / KioskUser and presentation modeMatches the app's operating context
Always on TopWindow stackingEnabled only when the workflow needs it
Frame / TransparentNative frame and visual treatmentCustom controls remain accessible
Node IntegrationRenderer access to Node capabilitiesEnable only for a deliberate, secured need
Icons / Settings filePackaging identity and advanced configurationProduction assets and paths are final

Build one shell with routed Bootstrap 5 workspaces

Keep global navigation, shared dialogs, application state, and the routed view in the main shell. Put dashboards, records, settings, and task workspaces in content pages. Define clear routes and use route-aware links so the desktop window behaves like one cohesive application instead of a collection of browser pages.

Layer Recommended responsibility
Application shellTop bar, sidebar/offcanvas navigation, status area, shared App Connect data
Content pagesFeature screens, forms, tables, reports, and settings
RoutesStable URLs, parameters, default screen, and not-found behavior
Desktop servicesLocal files, network state, update checks, and platform handoffs

Use Bootstrap 5 for dense desktop workflows without losing responsiveness

Combine containers, rows, columns, tables, forms, navs, tabs, cards, modals, toasts, tooltips, and utility classes. Design for keyboard and pointer input, clear focus states, resizable windows, high-density data, empty/loading/error states, and the narrow layout users see when they resize or split the screen.

TIP: Desktop does not mean fixed-width. Treat every Electron window size as a responsive Bootstrap 5 viewport.

Use the app toolbar as the desktop build and packaging workflow

Run System Check, select the development or release environment, select or add the Electron platform, and review its version. Build synchronizes the app assets. Run launches the selected target, Enable Debug supports troubleshooting, Open hands the generated project to its platform tooling, and Pack creates the distributable desktop package. Output and Terminal show the commands and failures; Clear output resets the log.

Control Desktop use
Refresh ListReload the available platform and run targets
Active EnvironmentChoose the configuration embedded in the build
Platform / Remove / UpdateAdd, select, maintain, or remove Electron
Platform Guide / System CheckVerify prerequisites and target guidance
BuildSynchronize and compile the selected desktop target
Run On / Run / Enable DebugSelect, launch, and debug the application
OpenOpen the generated platform project
PackCreate a distributable Electron package
Output / Terminal / Clear outputInspect and manage operational logs

Verify the installed application, not only the preview

Test a clean production build on every desktop operating system you support. Verify app identity and version, icons, startup and shutdown, window persistence, keyboard navigation, file and network failures, offline behavior, updates, signing, installer behavior, and uninstall/reinstall. Keep native-plugin learning in a Mobile project; this desktop path stays focused on Bootstrap 5, App Connect, Electron, and desktop distribution.

Build with the production environment and inspect Output
Run the packaged app outside Wappler
Exercise every routed screen at several window sizes
Test signing, installation, update, and removal
Repeat on each supported operating system

Continue with Bootstrap 5 components or mobile app delivery

Use the Bootstrap component paths to fill out the interface. For Android and iOS delivery, start a Mobile project and follow the Bootstrap 5 mobile and Capacitor paths.