Docs
Switch Group

Switch Group

A control that allows the user to toggle between checked and not checked.

Helper text

Usage

vue
<script setup lang="ts">
import { Switch } from "wedges-vue";
</script>

<template>
  <Switch />
</template>

API Reference

Props

PropTypeDefault
alignLabels
'start' | 'end'
ariaInvalid
false | true | 'true' | 'false' | 'grammar' | 'spelling'
as
AsTag | Component
'div'
asChild
boolean
false
description
string
disabled
boolean
false
for
string
helperText
string
id
string
label
string
required
boolean
false
tooltip
string

Examples

Helper text
Helper text
Helper text
Edit this page on GitHub