Black Box Hero

A hero for an AI product that shows its work. A question drops down a wire into a glossy black box, its three faces open in turn with what each part did for that question, and the answer comes back up beside it. Point at a face to hold it open. Under it, four numbers in oversized type roll into place.

Hero Section

Built with Black Box and Odometer

Uses motion, clsx, tailwind-merge

Open in ChatGPTOpen in Claude

Installation

The CLI writes components/black-box-hero.tsx, the components it's built with (components/ui/black-box.tsx and components/ui/odometer.tsx) and lib/utils.ts, and installs motion, clsx and tailwind-merge. It needs the @keyframeui registry in components.json; add it once per project.

npx shadcn@latest add @keyframeui/black-box-hero

Then put it where the section goes. The copy, links and data sit in constants at the top of the file, so making it yours starts there.

app/page.tsx
import { BlackBoxHero } from "@/components/black-box-hero";

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

Built with

Each of these is a component on its own, with its own examples and props. The block installs them for you.