Skip to content
cookie-banner / 4.6.11

cookie-banner 4.6.11

Install from the command line:
Learn more about npm packages
$ npm install @dusk-network/cookie-banner@4.6.11
Install via package.json:
"@dusk-network/cookie-banner": "4.6.11"

About this version

Dusk UI Kit - Organism - CookieBanner

Storybook Docs

Installation

npm i -D @dusk-network/cookie-banner

Usage

<script>
  import CookieBanner from "@dusk-network/cookie-banner";
  import Button from "@dusk-network/button";
  import Control from "@dusk-network/control";

  let showBanner;
</script>

<Control>
  <Button on:click="{() => (showBanner = !showBanner)}">Toggle Cookie Banner</Button>
</Control>
<CookieBanner acceptLabel="Accept" settingsLabel="Settings" showBanner="{showBanner}">
  <p>
    We and selected partners and related companies, use cookies and similar technologies as
    specified in our Cookies Policy. You agree to consent to the use of these technologies by
    clicking Accept, or by continuing to browse this website. You can learn more about how we use
    cookies and set cookie preferences in Settings.
  </p>
</CookieBanner>

Details


Assets

  • cookie-banner-4.6.11-npm.tgz

Download activity

  • Total downloads 63
  • Last 30 days 0
  • Last week 0
  • Today 0