Banner 20 - Region suggestion with selectPro

Locale suggestion bar asking visitors to switch region, with a region select, continue button and dismiss.

About Banner 20

Locale suggestion bar asking visitors to switch region, with a region select, continue button and dismiss.

Banner 20 is a banner block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 114 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • language
  • region
  • locale
  • select

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add banner-20

Dependencies installed automatically: lucide-react, motion.

Uses: button, select, utils.

Usage

import Banner20 from "@/components/blocks/banner-20"

export default function Page() {
  return <Banner20 />
}

FAQ