01
Overview
Renders a key-metrics section by composing StatisticGroup and Statistic cards.
Usage
02
When to use
Use when
- Showing key outcomes such as uptime, customers, revenue, or latency in landing-page copy.
- Presenting a short metrics band between hero/features and pricing sections.
Avoid when
- Comparing plan pricing and feature lists across tiers. Use Pricing section instead
- Rendering freeform cards that are not structured numeric metrics. Use Feature section instead
03
Examples
StatisticsSection
StatisticsSection composing StatisticGroup + Statistic for a marketing KPI band with trends.
04
Props
| Name | Type | Default | Required | Bindable | Description |
|---|---|---|---|---|---|
as | 'section' | 'div' | 'section' | Wrapper element tag. | ||
title | text | Optional section heading text. | |||
description | text | Optional section description text. | |||
stats | StatisticsSectionItem[] | req | Statistics to render via StatisticGroup + Statistic. | ||
columns | StatisticGroupColumns | 'auto' | Columns forwarded to StatisticGroup. | ||
variant | 'default' | 'cards' | 'shared-borders' | 'cards' | Variant forwarded to StatisticGroup. | ||
label | text | 'Key metrics' | Accessible label forwarded to StatisticGroup. | ||
maxWidth | 'prose' | 'narrow' | 'wide' | 'full' | 'wide' | Max width token forwarded to Container. |