Launch week50% off a year of AuteurSee plans
SpacesGet Pro
All components

Cookie banner Free

Slides up once with two honest choices, remembers the answer, and steps out of the way.

Character
Playful
Sign up free to download

Use it for

  • Sites that set non-essential cookies.

Not for

  • Sites that don’t: you don’t need one.

Props

Read from the component’s own TypeScript, so it’s always current.

PropTypeDefault
onChoose(all: boolean) => void
storageKeystring | null'cookies-ok'

Make it better with a skill

Add one to your agent and it uses Cookie banner the way it was designed.

Page structureFree

Decides where it goes on the page and what sits around it.

$npx velvo skill page-structure
Read the skill
Less is moreFree

One of these per screen is plenty. This skill keeps it that way.

$npx velvo skill less-is-more
Read the skill

Specs

Category
Surfaces
Tier
Free
Built with
React and TypeScript
Files
16
Size
304 KB
Needs
framer-motion
Install
npx velvo add cookie-banner
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo free licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

surfacesfreereact
NextGlare card