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
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add banner-20Dependencies installed automatically: lucide-react, motion.
Uses: button, select, utils.
Usage
import Banner20 from "@/components/blocks/banner-20"
export default function Page() {
return <Banner20 />
}