<template>
  <div @click="visible = !visible">
    <slot name="trigger"></slot>
  </div>
  <div v-if="visible">
    <slot></slot>
  </div>
</template>

<script setup>
import { ref } from 'vue'

const visible = ref(false)
</script>
