shadcn-vue/apps/www/registry/new-york/example/CheckboxDemo.vue
2024-11-21 11:52:31 +08:00

16 lines
390 B
Vue

<script setup lang="ts">
import { Checkbox } from '@/lib/registry/new-york/ui/checkbox'
</script>
<template>
<div class="flex items-center space-x-2">
<Checkbox id="terms" />
<label
for="terms"
class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
>
Accept terms and conditions
</label>
</div>
</template>