Actions
Bouton .btn
Déclenche une action. Forme pilule, ressort au survol, rond fléché .arr quand l'action fait avancer dans un parcours.
- Utiliser pour
- Inscrire, réserver, payer, lancer une série, passer à l'étape suivante, ouvrir une modale.
- Ne pas utiliser pour
- Naviguer vers une autre page dans un texte (
.link), filtrer (.chip-filter), choisir une option (.seg,.choice). - Anatomie
- Conteneur pilule · libellé (Poppins 600, 15 px) · rond fléché optionnel
.arr(30 px) ou icône à gauche (18 px). - Variantes
primaryrose ·ink·lime·peach·white·white-rose·ghost. Pas de variante « danger » : une action destructive se fait eninkdans une modale de confirmation. Taillessm36 px · défaut 44 px ·lg60 px.blockpleine largeur.shinereflet (1 seul par page, CTA héros).- États
- Survol (soulèvement + flèche +3 px) · actif (scale .98) · focus (anneau framboise 3 px) ·
disabled/aria-disabled· chargementaria-busy="true"(le rond devient un spinner). - Tokens
--color-action-primary,--color-action-primary-hover,--pill,--tap,--ease-spring,--dur-3.- Accessibilité
<button type="button">pour une action,<a href>pour une navigation. Le rond fléché est décoratif (aria-hidden). Hauteur min. 44 px. Un bouton désactivé doit être accompagné d'un texte qui explique pourquoi.
Code HTML
<div class="sg-row">
<button class="btn btn-primary" type="button">Je m'inscris <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
<button class="btn btn-ink" type="button">Réserver une leçon <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
<button class="btn btn-ghost" type="button">Voir les tarifs</button>
<button class="btn btn-white" type="button">Plus tard</button>
<button class="btn btn-peach" type="button">Parler à un conseiller <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
</div>Code HTML
<div class="sg-row">
<button class="btn btn-lime" type="button">Je calcule mon budget <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
<button class="btn btn-white-rose" type="button">Je m'inscris <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
<button class="btn btn-ghost on-dark" type="button">En savoir plus</button>
</div>Code HTML
<div class="sg-col" style="max-width:420px">
<div class="sg-row">
<button class="btn btn-primary btn-sm" type="button">Petit <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
<button class="btn btn-primary" type="button">Défaut <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
<button class="btn btn-primary btn-lg" type="button">Grand <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
</div>
<button class="btn btn-ink" type="button"><svg class="icon" aria-hidden="true"><use href="#i-calendar"/></svg> Ajouter à mon agenda</button>
<button class="btn btn-primary btn-block" type="button">Lancer ma première série <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
</div>Code HTML
<div class="sg-row">
<button class="btn btn-primary" type="button" disabled>Simuler un dossier complet <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
<button class="btn btn-primary" type="button" aria-busy="true">Paiement en cours <span class="arr" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span></button>
</div>- Un seul bouton rose visible ; les autres actions en
ink,ghostouwhite. - Deux
.btn-primarycôte à côte, ou un bouton rose pour « Annuler ». - Un verbe à l'infinitif ou à la 1re personne : « Réserver », « Je m'inscris ».
- Le rond fléché sur un bouton qui ferme ou annule : il signifie « avancer ».