Skip to content

aeria-switch

Example

Toggle me
Active?
no
vue
<script setup lang="ts">
const toggle = ref(false)
</script>

<template>
  <aeria-switch v-model="toggle">
    Toggle me
  </aeria-switch>

  <i>Active? {{ toggle ? 'yes' : 'no' }}</i>
</template>

Released under the MIT License.