Skill Wiki v0.1.0
rule @community/rule-kpi-card-secondary-variation

Kpi Card Secondary Variation

When rendering a 2×2 KPI grid, vary the secondary element in each card. Choose from the variation toolkit: trend % + arrow, mini progress bar (h-2), comparison text ('vs 380 last week'), sparkline (inline h-8 chart), sta…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 2 in
Tokens
181/267/919
$ prime install @community/rule-kpi-card-secondary-variation

Projection

Always in _index.xml · the agent never has to ask for this.

KpiCardSecondaryVariation [rule] v1.0.0

In a 2x2 KPI grid, vary the secondary element across cards. Use each secondary type in at most 2 of the 4 cards. The most important metric goes top-left. Extracted from StyleSeed DESIGN-LANGUAGE.md §62 (github.com/bitjaru/styleseed, MIT).

When rendering a 2×2 KPI grid, vary the secondary element in each card. Choose from the variation toolkit: trend % + arrow, mini progress bar (h-2), comparison text ('vs 380 last week'), sparkline (inline h-8 chart), status dot (● Active), sub-metric breakdown ('Desktop 60% · Mobile 40%'). Use at most 2 cards with the same secondary element in a 4-card grid. The most important metric sits top-left (reading order).

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-kpi-card-secondary-variation/atom.yaml

Compiled at 2026-05-07