awcodes/light-switch

Add a light, dark, and system theme switcher to the authentication pages of a Filament panel.
136,058 48
Install
composer require awcodes/light-switch
Latest Version:v3.1.0
PHP:^8.2
License:MIT
Last Updated:Oct 2, 2026
Links: GitHub  ·  Packagist
Maintainer: awcodes

Light Switch

Add a light, dark, and system theme switcher to the authentication pages of a Filament panel.

Latest Version MIT Licensed Total Downloads GitHub Repo stars Filament Version

Documentation

The full documentation lives at docs.aw.codes/light-switch.

Compatibility

Filament version Package version
3.x 1.x
4.x 2.x
4.x & 5.x 3.x

Installation

composer require awcodes/light-switch

The plugin needs a custom theme, a Tailwind @source line for its views, and registration on your panel. See Installation for those steps.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

awcodes/filament-gravatar

Replace a Filament panel's default avatar provider with one backed by Gravatar.

234,408 32
awcodes/filament-badgeable-column

Display additional context as badges alongside a Filament table column or infoli...

723,405 148
awcodes/filament-table-repeater

A modified version of the Filament Forms Repeater to display it as a table.

995,934 267
awcodes/filament-curator

A media picker and manager for Filament, with Glide-backed image transformations...

459,022 443
awcodes/matinee

OEmbed field for Filament Panel and Form Builders.

11,320 22

Version History

Version Released PHP License
v3.1.0 ^8.2 MIT
v3.0.0 ^8.2 MIT
v2.0.2 ^8.2 MIT
v2.0.1 ^8.2 MIT
v2.0.0 ^8.2 MIT
Pre-releases (1)
Version Released PHP License
v2.0.0-beta.1 ^8.2 MIT