nex-ui
  • Templates
  • Docs
  • Pricing
  • FAQ
csen
Sign inGet Pro
Overview
    • Modal
    • Popover
    • Dropdown menu
    • Cookie banner
    • Confirm dialogPro
    • DrawerPro
    • Command palettePro

Ship something that moves.

Browse components
nex-ui

Components for React and Tailwind, made by one developer.

Product

  • Components
  • Tools
  • Templates
  • Pricing
  • FAQ

Resources

  • Docs
  • Changelog
  • License
  • Contact

© 2026 nex-ui. All rights reserved.

Components/Overlays

Cookie bannerFree

Accept, reject, or pick categories in the settings.

🍪 We use cookies

Some keep the site working, others help us see what to improve.

Props

Appearance

Applies to this component only and stays saved when you come back.

#ff3347
#b3122a
Preview background

Install

$npx nex-ui add cookie-banner

Usage

import { CookieBanner } from "@/components/nex-ui/cookie-banner";

<CookieBanner
  title="We use cookies"
  text="Some keep the site working, others help us see what to improve."
  accept="Accept all"
  reject="Reject"
  options={["Necessary", "Analytics", "Marketing"]}
/>
PreviousDropdown menuNextConfirm dialog