Description
Vodal is a modal dialog component for Vue with built-in animations. You install it with npm, then open and close the dialog with a show prop. It has options for the dialog width and height, the unit of measurement, whether a mask shows behind it, whether a close button appears, and whether it closes when Escape is pressed or the mask is clicked. You can set the animation duration and add custom styles to the dialog and the mask. There are ten animation types, including zoom, fade, flip, door, rotate and four slide directions. The component fires a hide event when the dialog starts to close and a clickMask event when the mask is clicked. The README includes a short usage example and a props table with defaults. Vodal is aimed at Vue developers who want a modal with animation without writing the animation code themselves. The project is public on GitHub, and the README also mentions a React version.…
Highlights
- Ten built-in animation types
- Custom width, height and styles
- Mask, close button and Escape options
- Hide and clickMask events
Ratings & Reviews
No ratings yet
Be the first to rate vodal.
People also visit

v-dialogs
A simple and powerful dialog, including Modal, Alert, Mask and Toast modes
vodal FAQ
What is Vodal?
A Vue modal dialog component with entrance and exit animations.
How do I install it?
Run npm i -S vodal in your project, then use the component and control it with the show prop.
Which animations are available?
Zoom, fade, flip, door, rotate, slideUp, slideDown, slideLeft and slideRight.
Can I close it with the Escape key?
Yes. The closeOnEsc option turns this on, and it is off by default.
What are the best vodal alternatives?
Popular alternatives to vodal include @kouts/vue-modal, vue-final-modal and v-dialogs. See all vodal alternatives
















