Semantic description list of headline stats with labels, optional hints and column presets.
Design intent
Proof sections repeat the same number/label cluster. StatBand standardizes the scale, dividers and responsive columns, and uses dl semantics so the number-to-label relationship is real structure, not styled divs.
npx @slipstream-ui/cli@latest add stat-band- Active teamsVerified for your workspace
- 350+
- Monthly usersAligned to your goals
- 5,000+
- Projects shippedBrought to production
- 12,000+
- Open roles
- 12
- Customers
- 48
- Regions
- 9
- Support
- 24/7
- Deadlinesclosing soon
- 3
- Events this month
- 12
- Studios listed
- 48
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items | StatItem[] | required | Stats to display: value, label and optional hint. |
| columns | 2 | 3 | 4 | 3 | Desktop column count. |
| align | 'left' | 'center' | 'center' | Copy alignment. |
| size | 'sm' | 'md' | 'lg' | 'md' | Value scale. |
| divided | boolean | true | Draw dividers between stats at sm and up. |
| variant | 'plain' | 'panel' | 'plain' | Surface treatment; 'panel' is a bordered strip of hairline-separated cells for data pages. |
| valueClassName | string | — | Extra classes for the value element, e.g. font-mono for tabular numerals. |
Anti-patterns
validate_usage is the MCP tool that rejects these mistakes: the same list agents see over MCP and in the canonical markdown.
Don't use StatBand for app KPIs
Use MetricCard when the value needs a delta, trend or loading state. StatBand is a marketing proof strip.
tsx// Avoid<StatBand items={[{ value: '+12%', label: 'MRR' }]} />// Prefer<MetricCard label="MRR" value="$48k" delta="+12%" trend="up" />
Accessibility
- Renders dl/dt/dd so each number is structurally paired with its label.
- Labels are read before values even though the value appears first visually.
Content guidelines
Stats
- Use one unit per stat
- Include a sign or plus when the number is a floor
- Keep labels to three words
Good examples
- 12,000+ deals annually
Bad examples
- Lots of deals
Composition
Compose with Section: StatBand sits inside a Section so the surface tone and padding come from the band
<Section tone="inverse"><StatBand items={stats} /></Section>
Related components: MetricCard, Hero, Section
Dependencies
What the registry installs alongside this component. Package imports already include these.
npm packages
- class-variance-authority
- clsx
- tailwind-merge
Browser support
| Browser | Tested versions |
|---|---|
| Chrome | 111+ (Mar 2023) |
| Edge | 111+ (Mar 2023) |
| Firefox | 121+ (Dec 2023) |
| Safari | 17.2+: macOS & iOS (Dec 2023) |
Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA, the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.