Support WireModel Your support ensures we remain accessible to all and continue spreading innovative ideas globally.

Support us
Preserve the selected tab after a page refresh

Preserve the selected tab after a page refresh

Working with multiple tabs in your Filament ListPage and want to keep the selected tab active even after a refresh? Here's a clean solution using session state.

The trick

Just override the mount() and updatedActiveTab() methods in your ListRecords page like this:

Now when users select a tab (like Published), that tab will stay active even after they refresh the page.

Conclusion

Simple UX boost. No extra packages. All native Filament ;)

Published

May 31, 2025

Built with

Filament 3

Version

3.x

Type

free

If you have any questions or suggestions about this example: open a discussion on GitHub

©WireModel2025, All rights reserved.