Build a modal component with vue.js

How to create a reusable and accessible modal component in Vue.js using slots and props