Skip to content

Theme Manager — Reference

Reference · Advanced · Bootstrap 5

Theme Manager settings and behavior. Settings include ID, Key, Theme, Theme.

Bootstrap 5 component. Add the component and configure its properties in the Inspector.

Name Description
IDID for the theme switch component. Sets the component id attribute. Use a stable id if you reference this component from other scripts or need a consistent selector. Bootstrap docs: Color modes Required. Default: "". Attribute: id.
KeyStorage key used to persist the theme. Sets the key used to store the chosen theme (typically in localStorage). Use a unique key per project/app to avoid collisions. Bootstrap docs: Color modes Default: "theme". Attribute: key.
ThemeTheme to apply. Selects which theme (color mode) to apply. Bootstrap 5.3 supports light/dark via the data-bs-theme attribute. Bootstrap docs: Color modes Options: Auto (auto), Light (light), Dark (dark) Default: "auto". Attribute: theme.
Name Description
ThemeDefault: "".
Name Description
KeyChoose dynamic data binding. Represents the current storage key used for theme persistence. Mostly useful for App Connect state binding and debugging. Bootstrap docs: Color modes
ThemeChoose dynamic data binding. Represents the currently applied theme (color mode) value. Use this for conditional UI logic (e.g. swap logos based on theme). Bootstrap docs: Color modes