PyBlade/ui
Menu⌄
DocsComponentsSwitch

Switch

A toggle between on and off, on a native checkbox.

1 file

Installation

pyblade-ui add switch

Usage

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

<pb-ui.switch name="notifications" checked />

Examples

In a form