Tranché hyperprotéiné
Moment : base quotidienne
RTB : Point 1 · Point 2
Cible : Cible exemple
Carte avec barre latérale (numéro + label) et contenu structuré (titre, moment, RTB, cible).
bpm.highlightBox(label="DAILY", title="Tranché hyperprotéiné", moment_description="base quotidienne")| Prop | Type | Défaut | Requis | Description |
|---|---|---|---|---|
value | number | — | Oui | Numéro affiché dans la barre gauche. |
label | string | — | Oui | Texte sous le numéro (ex. "DAILY"). |
title | string | — | Oui | Titre principal du contenu. |
momentDescription | string | null | — | Non | Texte affiché après le libellé "Moment :" (en italique, gris). |
rtbPoints | string[] | null | — | Non | Points RTB (affichés séparés par ·). |
targetPoints | string | string[] | null | — | Non | Points Cible (chaîne ou liste). |
barColor | string | null | #212121 | Non | Couleur de la barre latérale (hex, rgb ou nom CSS). |
bpm.highlightBox(value=1, label="DAILY", title="Produit phare")bpm.highlightBox(value=2, label="WEEKLY", title="Objectif", moment_description="ce mois", bar_color="#048dc3")