DataBrowse data components
Stat
KPI tile with label, value, and trend indicator. Auto-grid with .lm-stat-grid.
Live preview
Revenue$1.28M▲ 12.4% vs Q1
Active seats18,420▲ 3.1% MoM
Risk reviews37▼ 8 open
Usage
Adapters:React stableVue stable
index.html
<div class="lm-stat">
<span class="lm-stat-label">Revenue</span>
<span class="lm-stat-value">$1.28M</span>
<span class="lm-stat-trend lm-stat-trend-up">▲ 12.4%</span>
</div>CSS classes (4)
| Class | Description |
|---|---|
lm-stat | Tile |
lm-stat-grid | Auto-fit grid |
lm-stat-label / -value / -trend | Slot typography |
lm-stat-trend-up / -down | Semantic green/red |
React props (3)
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | — |
value | string | number | — | — |
trend | { direction: 'up' | 'down'; label: string } | — | — |
Accessibility
- Use <dl><dt><dd> if it's a definition list.
- Trend indicator should not be color-only — pair with arrow + text.
Spotted something wrong? Edit this entry on GitHub.