---
title: "Discussion on \"How to create a re-usable modal in VueJS with TailwindCSS\" | Hashnode"
description: "Discussion on \"How to create a re-usable modal in VueJS with TailwindCSS\". A modal is an element that pops up in front of other content on a website and disables the main page. Users must then complete some action on the modal or close it before returning to the main page.\nWebsites often use a modal to focus the user's atte..."
url: "https://hashnode.com/posts/create-beautiful-modal-vuejs-tailwindcss/612c5f9a2858872661b9c876"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to create a re-usable modal in VueJS with TailwindCSS](https://dpkreativ.hashnode.dev/create-beautiful-modal-vuejs-tailwindcss?utm_source=hashnode&utm_medium=feed)

A modal is an element that pops up in front of other content on a website and disables the main page. Users must then complete some action on the modal or close it before returning to the main page. Websites often use a modal to focus the user's atte...

Aug 30, 2021 · 9 min read · dpkreativ.hashnode.dev  
Updated Jul 7, 2022  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#vuejs](https://hashnode.com/tag/vuejs)
-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Divine Orji](https://hashnode.com/@dpkreativ)

@dpkreativ

  
[View profile](https://hashnode.com/@dpkreativ)

Software Engineer

I am a software engineer passionate about building fast, scalable apps with beautiful user interfaces.

## Responses 1

Markdown supported · ⌘↵ to post

[Gift Uhiene](https://hashnode.com/@Giftea)

[Aug 30, 2021](https://hashnode.com/posts/create-beautiful-modal-vuejs-tailwindcss/612c5f9a2858872661b9c876/comment/612c66d52858872661b9c90f)

Awesome 👍🏼

[Divine Orji](https://hashnode.com/@dpkreativ)

[Aug 30, 2021](https://hashnode.com/posts/create-beautiful-modal-vuejs-tailwindcss/612c5f9a2858872661b9c876/comment/612c66d52858872661b9c90f#reply-612cd40efd0bf8636d76ff8a)

Thanks Gift 🤗
