Logo marquee
A quiet, continuously moving row of brand marks with a pause control.
Headline numbers that count up in view, each with a tiny visual that proves it and a context line on hover, plain or in a hairline grid.
npx shadcn@latest add @silicon-ui/stats-bandnpx shadcn@latest add @silicon-ui/stats-bandInstall the dependencies.
npm install motionCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/blocks/stats-band/stats-band.tsxcomponents/silicon-ui/blocks/stats-band/stats-band-data.tscomponents/silicon-ui/blocks/stats-band/stats-band.module.csscomponents/silicon-ui/blocks/stats-band/stats-band-world.tscomponents/silicon-ui/segmented-control/segmented-control.tsx sharedcomponents/silicon-ui/segmented-control/segmented-control.module.css sharedInstall the foundation once per app for the design and motion tokens: npx shadcn@latest add @silicon-ui/silicon-foundation
StatsBand| Prop | Type | Default |
|---|---|---|
statsThree or four stats read best. | Stat[] | exampleStats |
layout`plain` lets the stats float on whitespace; `divided` sets them in a hairline grid ruled above and below. | StatsBandLayout
| "plain" |
title | string | — |
description | string | — |
durationSeconds each number takes to count up. Defaults to 1.6. | number | 1.6 |
localeNumber formatting locale. Fixed by default so server and client agree. | string | "en-US" |
className | string | — |
Also accepts the props of HTMLAttributes.