Banner 17 - Beta feature togglePro

Top bar inviting users to try a beta feature, with a Beta tag, feedback link and an inline switch to opt in.

About Banner 17

Top bar inviting users to try a beta feature, with a Beta tag, feedback link and an inline switch to opt in.

Banner 17 is a pro banner block for React, built on shadcn/ui and Tailwind CSS. It ships as 82 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.

  • beta
  • toggle
  • switch
  • feature-flag

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/banner-17

Dependencies installed automatically: lucide-react.

Uses: switch, utils.

Usage

import Banner17 from "@/components/blocks/banner-17"

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

FAQ