PyBlade/ui
Menu⌄
DocsComponentsMode toggle

Mode toggle

Switches between light and dark mode.

Alpine.jsdepends on theme-script1 file

Installation

pyblade-ui add mode-toggle

Usage

The tag <pb-ui.mode-toggle> is available in all your templates.

<pb-ui.mode-toggle />