Le bouton est un élément d’interaction avec l’interface permettant à l’utilisateur d’effectuer une action.
Documentation<button class="fr-btn">
Label bouton
</button>
<button class="fr-btn fr-btn--sm">
Label bouton SM
</button>
<button class="fr-btn fr-btn--lg">
Label bouton LG
</button>
<button class="fr-btn" disabled>
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-right">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
L’exemple ci-dessous montre la possibilité d'appliquer le style du bouton secondaire sur un élément de type "lien" <a>. A n'appliquer qu'en cas exceptionnel d'impossibilité technique d'utiliser un <button>.
<a class="fr-btn" href="#[url - à modifier]">
Label bouton
</a>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
<button class="fr-btn fr-btn--secondary" disabled>
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left fr-btn--secondary">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-right fr-btn--secondary">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
L’exemple ci-dessous montre la possibilité d'appliquer le style du bouton secondaire sur un élément de type "lien" <a>. A n'appliquer qu'en cas exceptionnel d'impossibilité technique d'utiliser un <button>.
<a class="fr-btn fr-btn--secondary" href="#[url - à modifier]">
Label bouton
</a>
<button class="fr-btn fr-btn--tertiary">
Label bouton
</button>
<button class="fr-btn fr-btn--tertiary" disabled>
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left fr-btn--tertiary">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-right fr-btn--tertiary">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--tertiary" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
L’exemple ci-dessous montre la possibilité d'appliquer le style du bouton secondaire sur un élément de type "lien" <a>. A n'appliquer qu'en cas exceptionnel d'impossibilité technique d'utiliser un <button>.
<a class="fr-btn fr-btn--tertiary" href="#[url - à modifier]">
Label bouton
</a>
<button class="fr-btn fr-btn--tertiary-no-outline">
Label bouton
</button>
<button class="fr-btn fr-btn--tertiary-no-outline" disabled>
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left fr-btn--tertiary-no-outline">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-right fr-btn--tertiary-no-outline">
Label bouton
</button>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--tertiary-no-outline" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
L’exemple ci-dessous montre la possibilité d'appliquer le style du bouton secondaire sur un élément de type "lien" <a>. A n'appliquer qu'en cas exceptionnel d'impossibilité technique d'utiliser un <button>.
<a class="fr-btn fr-btn--tertiary-no-outline" href="#[url - à modifier]">
Label bouton
</a>
<ul class="fr-btns-group">
<li>
<button class="fr-btn fr-btn--secondary" id="button-531">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-532">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-533">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--sm">
<li>
<button class="fr-btn fr-btn--secondary" id="button-535">
Label bouton SM
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-536">
Label bouton SM
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-537">
Label bouton SM
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--lg">
<li>
<button class="fr-btn fr-btn--secondary" id="button-539">
Label bouton LG
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-540">
Label bouton LG
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-541">
Label bouton LG
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--icon-left">
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left" id="button-543">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left fr-btn--secondary" id="button-544">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left fr-btn--secondary" id="button-545">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline">
<li>
<button class="fr-btn" id="button-547">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-548">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline">
<li>
<button class="fr-btn fr-btn--secondary" id="button-550">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-551">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline-sm">
<li>
<button class="fr-btn" id="button-553">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-554">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline-md">
<li>
<button class="fr-btn" id="button-556">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-557">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline-lg">
<li>
<button class="fr-btn" id="button-559">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-560">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--right fr-btns-group--inline-reverse fr-btns-group--inline-sm">
<li>
<button class="fr-btn" id="button-562">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-563">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--equisized fr-btns-group--inline">
<li>
<button class="fr-btn" id="button-565">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-566">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-567">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--right fr-btns-group--equisized fr-btns-group--inline">
<li>
<button class="fr-btn" id="button-569">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-570">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-571">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--center fr-btns-group--equisized fr-btns-group--inline">
<li>
<button class="fr-btn" id="button-573">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-574">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-575">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--equisized">
<li>
<button class="fr-btn" id="button-577">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-578">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-579">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--right fr-btns-group--equisized">
<li>
<button class="fr-btn" id="button-581">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-582">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-583">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--center fr-btns-group--equisized">
<li>
<button class="fr-btn" id="button-585">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-586">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary" id="button-587">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group">
<li>
<button class="fr-btn fr-icon-checkbox-circle-line" id="button-589" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" id="button-590" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" id="button-591" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline">
<li>
<button class="fr-btn fr-icon-checkbox-circle-line" id="button-593" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" id="button-594" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" id="button-595" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
</ul>