All components
Primitives

Switch

Button-based boolean switch for settings that apply immediately.

Playground

Change the inputs, watch the outputs and copy the usage code.

Switch

A real qzSwitch.

Inputs

Events

No events yet. Interact with the preview to see them here.

Switch — expanded preview

Example

Switch
Loading demo…

Install

npm install @quartz-headless/core @quartz-headless/primitives

// exports
import { SwitchDirective } from '@quartz-headless/primitives';

Prefer owning the source? Copy it with the CLI.