1
Install via Composer
2
Publish assets
This package uses Filament’s asset management system:This publishes the CSS to
public/css/andreia/filament-ui-switcher/, where Filament loads and browser-caches it automatically.Run
php artisan filament:assets again after every package update to pick up the latest assets.3
Publish the config (optional)
config/ui-switcher.php — see Configuration for every option.4
Publish the view (optional)
5
Register the plugin
Add it to your Filament panel provider (e.g. A ⚙️ settings icon now appears in your topbar.
app/Providers/Filament/AdminPanelProvider.php):6
Register the vendor directory in your theme (recommended)
Filament recommends a custom theme so its Tailwind classes get picked up. Add this package’s vendor directory to your theme’s Then rebuild:
theme.css (usually resources/css/filament/admin/theme.css):Customize icon position
By default, the settings icon appears before the user menu (USER_MENU_BEFORE) in the topbar. Point it at any Filament render hook instead:
USER_MENU_BEFORE (default), USER_MENU_AFTER, TOPBAR_START, TOPBAR_END, GLOBAL_SEARCH_BEFORE, GLOBAL_SEARCH_AFTER, or any custom render hook you’ve defined.

