Skyline Stats

A stats section where the chart is a city: each team is a tower as tall as its count of release trains, with the number on a sign on its roof. Hover or focus a tower and it lights up floor by floor while the others dim. Beside it, a serif headline and three figures in a ruled list.

Stats Section

Built with Skyline

Uses motion, clsx, tailwind-merge

Open in ChatGPTOpen in Claude

Installation

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

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 { SkylineStats } from "@/components/skyline-stats";

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

Built with

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