GitHub

Switch

llms.txt

Example

With Label

Usage

		
<Switch bind:checked />

API Reference

Switch

A toggle control that switches between on and off states. Built on top of the bits-ui Switch primitive.

Property
checked
onCheckedChange
disabled
name
required
value
class
ref