Cookie Manager screenshot

Cookie Manager

Author Avatar Theme by Boxfish studio
Updated: 18 Nov 2025
20 Stars

An easy-use Svelte package to help control the visitor's cookie consent.

Categories

Overview

Sveltekit Cookie Manager is an easy-to-use Svelte package that helps control visitors’ cookie consent. It centralizes the management of multiple cookie consents and allows for cookie management of services such as Google Analytics Universal and Google Analytics 4.

Features

  • Display a customizable popup to accept or reject cookies.
  • Create a cookie library showing details about the site’s necessary cookies and additional cookies, including the cookie name, provider name and URL, cookie category, purpose, expiry, and type.
  • Provide radio inputs to allow or reject all cookies, and a button to update preferences.

Installation

To install Sveltekit Cookie Manager, you can use either npm or yarn.

npm install sveltekit-cookie-manager

or

yarn add sveltekit-cookie-manager

Summary

Sveltekit Cookie Manager is a package that simplifies the management of cookie consent for Svelte applications. It provides features such as displaying a customizable cookie consent popup and creating a cookie library with detailed information about the cookies used on the site. The package supports services such as Google Analytics Universal and Google Analytics 4. Installation is straightforward using npm or yarn. Once installed, developers can easily integrate and customize the cookie consent experience for their Svelte applications.