Settings panel component for Pure Admin.
Provides runtime-configurable settings for theme, color variant, mode,
layout width, sidebar behavior, display options, and font preferences.
Theme/variant/mode selectors are populated dynamically from /api/themes/manifests.
All settings persist to localStorage via the PureAdminSettings JS hook.
Examples
<.settings_panel />
<.settings_panel default_theme="audi" />
Summary
Functions
Renders the floating settings panel.
Functions
Renders the floating settings panel.
Theme, color variant, and mode selectors are populated dynamically
by the JS hook from /api/themes/manifests. All other controls use
data-setting attributes bound to localStorage.
Attributes
id(:string) - Defaults to"settingsPanel".default_theme(:string) - Defaults tonil.class(:string) - Defaults tonil.- Global attributes are accepted.