Download the PHP package filafly/filament-logo-tools without Composer
On this page you can find all versions of the php package filafly/filament-logo-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-logo-tools
Logo Tools for Filament
A Filament plugin that adds enhanced logo and sidebar controls to your panel. All features are implemented through Filament's native plugin system, render hooks, and CSS — no view overrides required.
Requirements
- PHP 8.2+
- Filament v4 or v5
Installation
You can install the package via Composer:
Publish the assets:
Register the plugin in your panel provider:
Icon Logo
Display a compact icon when the sidebar is collapsed, replacing the full brand logo. Only renders when the panel has sidebarCollapsibleOnDesktop() enabled.
iconLogo(string | Htmlable | Closure | null $logo)
The icon shown when the sidebar is collapsed. Accepts a file path (rendered as <img>), an Htmlable instance (rendered inline), or a Closure.
darkModeIconLogo(string | Htmlable | Closure | null $logo)
A separate icon for dark mode. When set, the light and dark variants swap automatically. If not set, the single iconLogo is used in both modes.
iconLogoHeight(string | Closure | null $height)
The CSS height of the icon logo. Defaults to 1.5rem.
Logo Section
Control the appearance of the logo section area in the topbar and sidebar header.
logoSectionBackground(array | string | bool $color = true)
Adds an inverted background to the logo section — dark background in light mode, light background in dark mode. The full brand logo's light/dark variants are swapped automatically to match.
logoSectionBorder(string | Closure | null $color = 'rgb(0 0 0 / 0.1)')
Adds a vertical border on the trailing edge of the logo section. Works with or without logoSectionBackground().
logoSectionPadding(string | Closure | null $padding)
Adds inline-start padding to the logo section.
collapsedLogoSectionWidth(string | Closure | null $width)
Overrides the collapsed width of the logo section in the topbar. Filament's --collapsed-sidebar-width CSS variable (4.5rem) is not always visually accurate, so this lets you fine-tune alignment.
Collapse Button
Customize the sidebar collapse/expand button appearance and behavior.
collapseButtonPosition(CollapseButtonPosition $position)
Controls whether the collapse button appears to the left or right of the logo. Automatically set to Right when an icon logo is configured.
When positioned right, the button is rendered as a small edge button sitting on the border of the logo section — similar to apps like Linear and Notion.
collapseButtonStyle(CollapseButtonStyle | string $style)
Sets the shape of the collapse button when positioned on the logo section edge. Accepts the enum or a string ('circle', 'rounded', 'square').
expandButtonIcon(string | BackedEnum | null $icon)
Overrides the icon shown on the expand button (when sidebar is collapsed).
collapseButtonIcon(string | BackedEnum | null $icon)
Overrides the icon shown on the collapse button (when sidebar is expanded).
Full Example
Credits
- Nolan Nordlund
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-logo-tools with dependencies
filament/filament Version ^4.0 || ^5.0
spatie/laravel-package-tools Version ^1.92