Passer au contenu principal
MiniStat
DeprecatedCompact label + value row — 12px label on left, 14px/700 value on right, with 1px bottom border. Used in Ticket Sales Breakdown side card. Superseded by StatCard (atom — covers the compact-metric use case with full token coverage).
Categorymolecules
Source
patterns/molecules/ministat.htmlAI HintUse for grouped UI patterns. Combine atoms into functional units.
Compact stat tile.
MiniStat
Content & Layout — Family 6
Compact stat tile.
Usage
Compact stat tile. Refer to the DS component index for full prop details.
import { MiniStat } from '@epasslive/design-system'Props
Preview
MiniStat
Prop
Type
Required
Default
Description
labelstringRequired
—No description.
valuestring | numberRequired
—No description.
progressnumberOptional
—0-100, renders a ProgressBar component below the row
Quick use:
<MiniStat />Accessibility
ARIA rolegroup
Type
1 ruleARIA
1 ruleUsage
Import
tsxSnippet
import { MiniStat } from "@epasslive/design-system"Example 1
tsxSnippet
<MiniStat />Example 2
tsxSnippet
<MiniStat variant="default" />Anti-patterns
— Do not hardcode data in molecules
— Avoid complex business logic in molecules