@performing/cookie-popup-gdpr

Simple and easy to use cookie popup for GDPR compliance
1,088 1
Install
npm install @performing/cookie-popup-gdpr
Latest Version:1.0.17
Vue:3
License:MIT
Last Updated:Feb 27, 2026
Links: GitHub  ·  npm
Maintainer: giorgiopogliani

Simple cookie popup to ask consent.

image

Installation

npm install @performing/cookie-popup-gpdr

Usage

import '@performing/cookie-popup-gdpr'
import '@performing/cookie-popup-gdpr/dist/style.css'

useCookies({
  description: 'We use cookies...',
  acceptButtonText: 'Accept All',
  rejectButtonText: 'Reject All',
  saveButtonText: 'Save',
  customizeButtonText: 'Customize',
}, {
  necessary: { 
    default: true, 
    optional: false, 
    title: 'Necessary:',
    description: 'This type of cookie is necessary',
  },
  statistics: { 
    default: false, 
    optional: true, 
    title: 'Statistics:',
    description: 'This type of cookie is for gather statistics',
  },
}, (p) => { 

  if (p.statistics) {
    // gather statistics  
  }

});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Related Packages

@allomambo/galletita

Extra simple privacy policy solution

4,509
vue-cookie-accept-decline

Show a banner with text, a decline button, and an accept button on your page.

120,908 146
vue-cookie-toggler

GDPR cookies consent modal.

1,707 6
vc-popup-base

vc-popup-base

1,618
@netipar/consent-vue3

Unstyled Vue 3 composables and components for Laravel Consent

320 0

Version History

Version Released Vue License
1.0.17 ^3.2.25 MIT
1.0.16 ^3.2.25 MIT
1.0.15 ^3.2.25 MIT
1.0.14 ^3.2.25 MIT
1.0.13 ^3.2.25 MIT