Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsOverlays & feedback

Cookie Consent

A bottom consent card with equal-weight Accept and Reject, Customise to expand category switches, and an onChange callback as its only effect.

Preview

Pebble Journal

How we cut our token set from 214 to 61 values, and what we kept.

Cookies, briefly

We use a few cookies to keep you signed in and, if you allow it, to learn what to improve. Cookie policy

Cookies, briefly

We use a few cookies to keep you signed in and, if you allow it, to learn what to improve. Cookie policy

  • Sign-in, security and your settings. The site can’t work without these.

  • Remember your theme, language and layout between visits.

  • Anonymous usage counts that tell us which pages help.

  • Measure campaigns and show relevant offers elsewhere.

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
categoriesConsentCategory[]defaultCategories{ id, label, description?, required? }. Required ones are always on.
defaultChoicesRecord<string, boolean>all offStarting switch positions, e.g. a saved choice.
onChange(choices, action: "accept" | "reject" | "save") => void—The only effect. Persist the choice here; nothing is stored internally.
open / defaultOpen / onOpenChangeboolean / boolean / (open) => void— / true / —Visibility. A choice closes the card.
defaultCustomisingbooleanfalseStart with the category switches showing.
title / description / policyHrefReactNode / ReactNode / stringshort defaults / "#cookies"Copy and the policy link.
classNamestring—Position the card, e.g. fixed inset-x-4 bottom-4.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗