Cookie Bar Component

Functionality

  • Loads at the time the page is rendered.
  • Clicking "ACCEPT" sets a cookie to the users browser.
  • If the cookie is set the cookie bar will not display again.
  • Clearing cookies will display the cookie banner.
  • The cookie banner is sticky to the bottom of the site and will sit above any page content.

Usage

Code Example:

Add the component to the application where it will be loaded globally. I.e., footer, layouts

The Cookie Bar component is already included in the application and can be found in the footer component. It is included here becuase it will be made globally available in all layouts that include the footer component.

<client-only">
    <CookieBar />
</client-only>
    
Back to Components
See the CDC recommendation

INDICATION

HEPLISAV-B is indicated for prevention of infection caused by all known subtypes of hepatitis B virus in adults 18 years of age and older.

IMPORTANT SAFETY INFORMATION

Do not administer HEPLISAV-B to individuals with a history of severe allergic reaction (e.g., anaphylaxis) after a previous dose of any hepatitis B vaccine or to any component of HEPLISAV-B, including yeast.