@ipaat/vue3-tailwind3-cookie-comply

1.1.2 • Public • Published

Vue3 Tailwind Cookie Comply 🍪

A Vue 3 compatible component to handle cookie consent styled with Tailwind CSS 3.

License npm npm bundle size

Features

  • 🔹 Small bundle size
  • 🙅‍♂️ No extra external dependencies
  • 🤖 Optionated and customizable data structure for the modal content
  • 👐 Emit events on user actions, so you can use your handlers
  • 📱 Default responsive layout
  • 🗄️ Highly customizable through slots
  • 🚪 Usage of Vue3 Teleport to render the modal anywhere in your app
  • 💅 Looks amazing
  • 🌙 Dark mode from scratch
  • ⚖️ TTDSG, DSGVO & ePrivacy Directive compliant

Heavily inspired by Airbnb's cookie consent UI
and https://github.com/yaiks/vue-cookie-comply

Demo

Check out a demo page using Vue 3, Tailwind CSS 3, Vite and vue3-tailwind3-cookie-comply: DEMO PAGE

Documentation

Check out the documentation page: DOCUMENTATION PAGE

Contributing

Feel free to open an issue with bugs, suggestions for features, enhancements, weird behaviours, questions and more. Also, feel more than welcome to open an PR to fix something you came across or improve the code 🚀

Package Sidebar

Install

npm i @ipaat/vue3-tailwind3-cookie-comply

Weekly Downloads

136

Version

1.1.2

License

MIT

Unpacked Size

61.7 kB

Total Files

11

Last publish

Collaborators

  • ipaat