v-easy-dialog
Simple to use, plug-and-play, and nice defaults out-of-the-box.
Features
- Handles Esc button interaction
- Automatically traps focus within Dialog
- Stackable
- Handles scrollable dialog content
- Dialogs will mount to body instead of inline
- Smooth transition
- Optional
persistent
prop for when you require user's input to proceed - Optional
fullscreen
mode. - Can automatically focus on desired element when launched.
Installation
npm i v-easy-dialog
or
yarn add v-easy-dialog
Usage
Import as component
Examples
These examples use TailwindCSS to illustrate how you might want add your own styling to achieve certain effects (e.g. scrollable dialog content) but TailwindCSS is NOT a requirement.