Hero 123 - Feature flag rollout demoPro

Split hero with a feature-flag panel: flip a flag, drag the rollout percentage and watch a grid of users light up in real time.

About Hero 123

Split hero with a feature-flag panel: flip a flag, drag the rollout percentage and watch a grid of users light up in real time.

Hero 123 is a pro hero block for React, built on shadcn/ui and Tailwind CSS. It ships as 126 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.

  • feature-flags
  • rollout
  • slider
  • interactive
  • dev-tools

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/hero-123

Dependencies installed automatically: lucide-react.

Uses: button, reveal, switch, utils.

Usage

import Hero123 from "@/components/blocks/hero-123"

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

FAQ