Skip to content

aeria-checkbox

Example

Terms of Use accepted?
no
vue
<script setup lang="ts">
const tosAccepted = ref(false)
</script>

<template>
  <aeria-checkbox
    v-model="tosAccepted"
    :property="{
      type: 'boolean',
    }"
  >
    Accept Terms of Use
  </aeria-checkbox>

  <i>Terms of Use accepted? {{ tosAccepted ? 'yes' : 'no' }}</i>
</template>

Released under the MIT License.