GitHub

Toggle

llms.txt

Example

Usage

		
<Toggle bind:pressed>Toggle</Toggle>

API Reference

Toggle

A two-state button that can be toggled on or off. Built on top of the bits-ui Toggle primitive.

Property
pressed
onPressedChange
variant
size
disabled
class
ref