Black Box Feature

A how-it-works section with the product as a black box and its steps beside it. The box opens one face per step on its own while a hairline fills under the step that's playing; point at a step and its face opens, point at a face and its step lights up, pick one and it stays.

Feature Section

Built with Black Box

Uses motion, clsx, tailwind-merge

Open in ChatGPTOpen in Claude

Installation

The CLI writes components/black-box-feature.tsx, the components it's built with (components/ui/black-box.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-feature

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 { BlackBoxFeature } from "@/components/black-box-feature";

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

Built with

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