Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Visual Builder
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Cookie Popup

Cookie Popup is a non-blocking consent popup for cookie and privacy choices. Use it on public pages or applications when users need to choose between accepting all cookies or only necessary cookies.

Use it for:
  • Showing a short cookie or privacy consent message.
  • Linking to a cookie policy or privacy policy page.
  • Letting users choose all or necessary cookies.
  • Handling the selected consent type with the cookieAccepted event.

Cookie Popup does not persist the choice by itself. Store the accepted consent state in a cookie, localStorage, or backend and control visible from the application. Do not use Cookie Popup as a normal Dialog, Alert, Announcement, snackbar, or settings panel.

The NgStarter Angular Cookie Popup component lets you collect a non-blocking cookie or privacy consent choice. Use on public pages or apps when users need to accept all cookies or only necessary cookies and see a short cookie/privacy message with a policy link. It includes examples for Basic Cookie Popup.

Basic Cookie Popup

Use Cookie Popup to collect a cookie consent choice, then persist that choice in your application.