Stat Grid (BcStatGrid · BcStat)

Grille responsive de cartes KPI pour les dashboards et pages de synthèse.

Démo

FS actifs
42
+12%
En onboarding
18
+3 vs M-1
En attente KYB
7
stable
Bloqués
4
-2 vs M-1

Variante highlight

La carte highlight a un bord gradient gauche et la valeur en gradient text.

html
<BcStat label="Total FS actifs" value="42" trend="+12%" trend-dir="up" highlight />

Props — BcStat

PropTypeDéfautDescription
labelStringLabel uppercase (petits caps)
valueString | NumberValeur principale (Poppins Display)
unitStringUnité optionnelle affichée après la valeur
trendStringTexte du trend (ex: '+12%', '-2 vs M-1')
trend-direction'up' | 'down' | 'neutral''neutral'Couleur sémantique du trend
highlightBooleanfalseBord gradient gauche + valeur colorée
loadingBooleanfalseAffiche skeleton

Props — BcStatGrid

PropTypeDéfautDescription
colsNumber4Nb colonnes desktop
cols-mdNumber2Nb colonnes tablette
cols-smNumber1Nb colonnes mobile

Couleurs de trend

DirectionCouleurIcône
up#22c55e vert
down#dc2626 rouge
neutral--bc-sub gris