Cookie Banner
Consent for cookies, linked to the Cookies page.
We use cookies to understand how the library is used. See Cookies.
Live preview · click to try it
Variants
3 named variants. Layer names match the names below.
We use cookies to understand how the library is used. See Cookies.
BarCookie Banner / Bar
We use cookies to understand how the library is used. See Cookies.
CardCookie Banner / Card
We use cookies to understand how the library is used. See Cookies.
CornerCookie Banner / Corner
States
We use cookies to understand how the library is used. See Cookies.
Cookie Banner / Shown
We use cookies to understand how the library is used. See Cookies.
Cookie Banner / Settings
We use cookies to understand how the library is used. See Cookies.
Cookie Banner / Dismissed
Usage
Do
- Sites that add analytics or embeds.
Don't
- Sites that set no cookies. Loculi ships it hidden.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Bar · Card · Corner | Bar |
| Body | String | We use cookies to understand how the library is used. See Cookies. |
| Accept / Reject | String | Accept · Reject |
Styles it uses
Surface/RaisedInk/PrimaryInk/SecondaryOverlay/ShadowAccent/AcidLine/Strong
Text: Body · Button M · Legal
Accessibility
- Keyboard reachable with a visible 3px State/Focus ring.
- Interactive parts use real buttons and links with accessible names.