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.
- Showing a short cookie or privacy consent message.
- Linking to a cookie policy or privacy policy page.
- Letting users choose
allornecessarycookies. - Handling the selected consent type with the
cookieAcceptedevent.
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.