Swap

Attribute Type Documentation Default Value
Required id * :string
active :boolean false
label :string "Toggle"
appearance :string
class :any
rest :global
Required on * :slot
<:on>ON</:on>
Required off * :slot
<:off>OFF</:off>