muhsubeqi / filament-studio-theme
Modern Editorial Studio theme plugin for Filament v5 — customizable dark full-height sidebar, precision collapsed icon rail, warm #FAF9F6 canvas, glass topbar with chevron-double collapse toggle, left global search, borderless desktop user profile, and optional split login page.
Package info
github.com/muhsubeqi/filament-studio-theme
Language:CSS
pkg:composer/muhsubeqi/filament-studio-theme
Requires
- php: ^8.3
- filament/filament: ^5.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A clean, modern Editorial Studio theme plugin for Filament v5 featuring a customizable full-height dark sidebar, precision collapsed icon rail, refined glass topbar with left-aligned global search, borderless desktop user profile, and an optional split-screen login page.
Preview
Admin Dashboard Theme
Optional Studio Split Login Page
Features
- Customizable Full-Height Dark Sidebar: Scrollbar-free dark sidebar (
#0c0a09by default) with fluent API methods to customize the sidebar background and active item colors. - Precision Collapsed Icon Rail (
4.5rem): Clean40×40pxsquare icon tiles with subtle active rings and amber dot indicators for badged items. - Refined Topbar & Double-Chevron Toggle: Translucent glass topbar, crisp
36×36pxcollapse/expand button («/») with directional micro-animation, and left-aligned Global Search (Ctrl+K/Cmd+K). - Borderless Desktop User Profile: Displays the user's avatar, name, email, and chevron directly in the desktop topbar (stays compact on mobile).
- Filament-Default Light Canvas: Respects Filament's clean light neutral canvas and topbar by default, with optional
->contentBackground()and->topbarBackground()customization. - Optional Split-Screen Studio Login: Built-in English two-column login page that can be disabled (default Filament login), enabled (
->studioLogin()), or replaced with your own customLoginclass. - Zero Vite Setup Required: Registers its standalone stylesheet automatically via
FilamentAsset.
Requirements
- PHP
^8.3 - Laravel
12/13 - Filament
^5.0
Installation
Install the package via Composer:
composer require muhsubeqi/filament-studio-theme
Publish the Filament assets:
php artisan filament:assets
To update to the latest version later:
composer update muhsubeqi/filament-studio-theme php artisan filament:assets
Usage
Quick Start
Register StudioThemePlugin in your AdminPanelProvider:
use Filament\Panel; use Muhsubeqi\FilamentStudioTheme\StudioThemePlugin; public function panel(Panel $panel): Panel { return $panel ->default() ->id('admin') ->path('admin') ->login() ->plugin( StudioThemePlugin::make() ->brandName('MyApp') ->brandSubtitle('Admin Studio') ); }
Full Configuration Example
Customize sidebar/topbar/content colors and enable the optional split-screen Studio Login page:
use Filament\Panel; use Muhsubeqi\FilamentStudioTheme\StudioThemePlugin; public function panel(Panel $panel): Panel { return $panel ->default() ->id('admin') ->path('admin') ->plugin( StudioThemePlugin::make() ->brandName(fn (): string => config('app.name')) ->brandLogo(asset('images/logo.svg')) ->collapsedBrandLogo(asset('images/logo-mark.svg')) ->brandSubtitle('Admin Studio') ->sidebarWidth('16.5rem') ->sidebarBackground('#0f172a') ->sidebarActiveColor( background: 'rgba(16, 185, 129, 0.18)', border: 'rgba(52, 211, 153, 0.35)', icon: '#34d399', text: '#ffffff', ) ->accentColor('#059669', '#047857') ->topbarBackground('rgba(255, 255, 255, 0.92)') ->contentBackground('#f9fafb') ->studioLogin() ->loginCopy( eyebrow: 'Operations Studio', headline: 'Your operations control center in one dashboard.', description: 'Manage resources, users, transactions, and system settings cleanly, quickly, and securely.', highlights: [ ['title' => 'Centralized Management', 'description' => 'Manage all resources and operations from a unified panel.'], ['title' => 'Fast Navigation', 'description' => 'Compact collapsible sidebar, Ctrl+K global search, and focused workflows.'], ['title' => 'Built-in Security', 'description' => 'Protected by encrypted sessions and role-based access control.'], ], ) ->backHomeUrl(url('/'), 'Back to Website') ); }
Native Filament Panel Overrides
Any standard Filament panel configuration you define in your PanelProvider (->brandName(), ->brandLogo(), ->brandLogoHeight(), ->colors(), ->font(), ->maxContentWidth(), ->sidebarWidth(), ->globalSearchKeyBindings()) is automatically respected — Studio Theme will not overwrite your existing panel settings unless you explicitly pass the corresponding option on StudioThemePlugin::make().
When you use Filament's native ->brandLogo() and collapse the sidebar, Studio Theme automatically displays a crisp brand monogram (derived from brandName) in the collapsed rail — or you can specify a dedicated square icon via ->collapsedBrandLogo(...).
Configuration Reference
| Method | Default | Description |
|---|---|---|
->brandName(string|Closure|Htmlable $name) |
Panel brandName() / config('app.name') |
Brand title in the sidebar header and login page. |
->brandLogo(string|Closure|Htmlable|null $logo) |
Built-in SVG icon | Custom logo image URL (asset(...) / Storage::url(...)), Closure, View, or HtmlString (inline SVG). |
->collapsedBrandLogo(string|Closure|Htmlable|null $logo) |
Falls back to brandLogo() |
Optional separate icon/mark for the collapsed sidebar rail (40×40px). |
->brandSubtitle(?string $subtitle) |
null (hidden) |
Optional monospace subtitle under the brand title & login badge. Hidden when omitted. |
->sidebarWidth(string $width) |
'16.5rem' |
Desktop expanded sidebar width. |
->sidebarBackground(string $color) |
'#0c0a09' |
Sidebar background color (expanded and collapsed). |
->sidebarActiveColor($background, $border, $icon, $text) |
Soft cobalt | Active navigation item colors (background, border, icon, text). |
->accentColor(string $color, ?string $hover) |
'#1d4ed8' |
Primary accent color for buttons, focus rings, and topbar hover states. |
->topbarBackground(string $color) |
'rgba(255, 255, 255, 0.92)' |
Topbar background color. |
->contentBackground(string $color) |
'#f9fafb' |
Main content area background color. |
->studioLogin(bool|string $login = true) |
false |
false keeps Filament's default login; true enables StudioLogin; or pass a custom Login::class. |
->loginCopy(...) |
Built-in English copy | Customize eyebrow, headline, description, highlights, cardEyebrow, footerNote, and asideFooterNote. |
->backHomeUrl(?string $url, string $label) |
null (hidden) |
Optional back link URL and label on the login page. Hidden when omitted. |
->brandLogos(bool $condition = true) |
true |
Use built-in expanded & collapsed sidebar logo views. |
->doubleChevronIcons(bool $condition = true) |
true |
Use heroicon-o-chevron-double-left / right for sidebar collapse/expand. |
->fullContentWidth(bool $condition = true) |
true |
Sets maxContentWidth(Width::Full). |
Publishing Assets (Optional)
Publish the stylesheet if you want full manual CSS control:
php artisan vendor:publish --tag=studio-theme-css
Publish the Blade views if you want to customize the logo, user menu, or login templates:
php artisan vendor:publish --tag=studio-theme-views
Troubleshooting
- Theme styles not appearing: Refresh Filament assets and clear caches, then hard-refresh your browser (
Ctrl+Shift+R):
php artisan filament:assets php artisan optimize:clear
- Disable dark mode: Chain
->darkMode(false)on your Filament panel configuration.
License
The MIT License (MIT). Please see LICENSE for more information.

