PHPackages                             devletes/filament-pinnable-navigation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. devletes/filament-pinnable-navigation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

devletes/filament-pinnable-navigation
=====================================

Pinnable navigation support for Filament 5 panels.

v1.0.6(1mo ago)121.1k↑64.8%2[1 PRs](https://github.com/devletes/filament-pinnable-navigation/pulls)MITPHPPHP ^8.2CI failing

Since Mar 18Pushed 1mo agoCompare

[ Source](https://github.com/devletes/filament-pinnable-navigation)[ Packagist](https://packagist.org/packages/devletes/filament-pinnable-navigation)[ Docs](https://github.com/devletes/filament-pinnable-navigation)[ RSS](/packages/devletes-filament-pinnable-navigation/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (7)Dependencies (12)Versions (10)Used By (0)

Filament Pinnable Navigation
============================

[](#filament-pinnable-navigation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6cc0b0feb13c3829749e37aae96a669d742dd04fe82b99d28f75fc4cf0d80ab9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devletes/filament-pinnable-navigation)[![Total Downloads](https://camo.githubusercontent.com/564b59e8132fa561b0fd89f940b143089936db9e3f4593960cbd0ee2fc201d01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devletes/filament-pinnable-navigation)[![License](https://camo.githubusercontent.com/c42b013539bb70975f8aeb10c27a640251c902033eac668f9ce57b5130b19bfc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devletes/filament-pinnable-navigation)[![GitHub Stars](https://camo.githubusercontent.com/55d3c46c4ff9561223566093c36c909e6c56335a010a8d556a5606cca89dd686/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6465766c657465732f66696c616d656e742d70696e6e61626c652d6e617669676174696f6e3f7374796c653d666c61742d737175617265)](https://github.com/devletes/filament-pinnable-navigation/stargazers)

Allow users to dynamically pin sidebar navigation items to a pinned group.

Requirements
------------

[](#requirements)

- PHP `^8.2`
- Filament `^5.0`

Installation
------------

[](#installation)

```
composer require devletes/filament-pinnable-navigation
```

Register the plugin on any panel:

```
use Devletes\FilamentPinnableNavigation\PinnableNavigationPlugin;
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        ->default()
        ->id('admin')
        ->path('admin')
        ->plugin(PinnableNavigationPlugin::make());
}
```

Configuration
-------------

[](#configuration)

Publish the config file if you want to customize behavior:

```
php artisan vendor:publish --tag="pinnable-navigation-config"
```

Default configuration:

```
return [
    'database_enabled' => false,
    'table_name' => 'pinned_navigation_items',
    'group_title' => 'Pinned',
    'group_icon' => 'heroicon-o-star',
    'pin_icon' => 'heroicon-o-star',
    'unpin_icon' => 'heroicon-s-star',
    'show_in_resource' => true,
    'accordion_mode' => true,
];
```

Configuration options:

- `database_enabled`: Persist pins in the database instead of browser localStorage.
- `table_name`: Database table used when database persistence is enabled.
- `group_title`: Label used for the synthetic pinned group.
- `group_icon`: Optional icon shown for the pinned group.
- `pin_icon`: Icon used when an item is not pinned.
- `unpin_icon`: Icon used when an item is already pinned.
- `show_in_resource`: Show the page-header pin toggle on Filament resource index pages.
- `accordion_mode`: Keep only one managed navigation group open at a time. Disable it to fall back to Filament's default grouped navigation behavior.

Persistence
-----------

[](#persistence)

By default, pin state is stored in browser localStorage per panel and authenticated user. No migration is required in this mode.

If you want to persist pins in the database instead:

1. Publish the config file.
2. Publish the package migrations.
3. Set `database_enabled` to `true`.
4. Run migrations.

```
php artisan vendor:publish --tag="pinnable-navigation-migrations"
php artisan migrate
```

Usage
-----

[](#usage)

- Grouped navigation items can be pinned from the sidebar.
- When `show_in_resource` is enabled, the current resource page can also be pinned or unpinned from the page header.
- Pinned items are shown in a dedicated group at the top of the sidebar.

Screenshots
-----------

[](#screenshots)

### Pin navigation items from the sidebar

[](#pin-navigation-items-from-the-sidebar)

[![Sidebar item available to pin](docs/images/none-pinned.png)](docs/images/none-pinned.png)

### Dedicated pinned group

[](#dedicated-pinned-group)

[![Pinned group with one item](docs/images/one-pinned.png)](docs/images/one-pinned.png)

### Multiple pinned items

[](#multiple-pinned-items)

[![Pinned group with multiple items](docs/images/two-pinned.png)](docs/images/two-pinned.png)

Need something custom?
----------------------

[](#need-something-custom)

We build production Filament panels and plugins for teams that want to ship fast without compromising on polish. If you need a custom feature, an extended variant of this package, or a fully bespoke component built for your stack, we can help.

- **Browse the rest of our Filament work:** [filament.devletes.com](https://filament.devletes.com)
- **Get in touch:**

Typical engagements: new Filament plugins, custom resources/widgets/actions, theme + UX work, integrations with your existing services, and one-off tailored forks of our open-source packages.

Credits
-------

[](#credits)

- [Salman Hijazi](https://www.linkedin.com/in/syedsalmanhijazi/)

License
-------

[](#license)

MIT. See [LICENSE.md](LICENSE.md).

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance89

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

7

Last Release

56d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0db9372e4286b99db446cceebc313afe89b9af65175a29476c6dfb9a404b9a3a?d=identicon)[devletes](/maintainers/devletes)

---

Top Contributors

[![salmanhijazi](https://avatars.githubusercontent.com/u/4691666?v=4)](https://github.com/salmanhijazi "salmanhijazi (22 commits)")[![bernhardh](https://avatars.githubusercontent.com/u/642292?v=4)](https://github.com/bernhardh "bernhardh (2 commits)")

---

Tags

pluginlaravelnavigationfilamentfilament-plugin

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/devletes-filament-pinnable-navigation/health.svg)

```
[![Health](https://phpackages.com/badges/devletes-filament-pinnable-navigation/health.svg)](https://phpackages.com/packages/devletes-filament-pinnable-navigation)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

196.5k14](/packages/wsmallnews-filament-nestedset)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

209175.5k8](/packages/bezhansalleh-filament-google-analytics)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12451.0k](/packages/jibaymcs-filament-tour)[aymanalhattami/filament-context-menu

context menu (right click menu) for filament

10039.0k](/packages/aymanalhattami-filament-context-menu)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

30122.2k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
