Skip to content
nexubDesign System
v11.9.0

Patterns · Marketing

StatBand

Since v3.1.0

A band of headline numbers that count up as they scroll into view. StatBandItem is named apart from the StatCard pattern. Server component.

import { StatBand } from '@nexub/marketing';
View as Markdown

Examples

Default

Teams run on Nexub

Companies
2,000+
Countries
5
On-time payroll
98%
Average rating
4.9

Props

Props
PropTypeDefaultDescription
titleReact.ReactNode—A heading above the stats.
StatBandItem valuerequiredstring | number—A number counts up from zeros when it scrolls into view; the server HTML keeps the real value.
StatBandItem labelrequiredReact.ReactNode—What the number counts.
StatBandItem prefix / suffixstring—E.g. "$" or "+".
StatBandItem tone'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub''info'The number's colour (accent roles, AA as large text).
StatBandItem formatIntl.NumberFormatOptions—Number formatting.

On iOS & Android