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">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--sm">
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton SM
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton SM
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton SM
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--lg">
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton LG
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton LG
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
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">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left fr-btn--secondary">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--icon-left fr-btn--secondary">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline">
<li>
<button class="fr-btn">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline">
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline-sm">
<li>
<button class="fr-btn">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline-md">
<li>
<button class="fr-btn">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--inline-lg">
<li>
<button class="fr-btn">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
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">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--equisized fr-btns-group--inline">
<li>
<button class="fr-btn">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
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">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
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">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group fr-btns-group--equisized">
<li>
<button class="fr-btn">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
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">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
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">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton long
</button>
</li>
<li>
<button class="fr-btn fr-btn--secondary">
Label bouton plus long
</button>
</li>
</ul>
<ul class="fr-btns-group">
<li>
<button class="fr-btn fr-icon-checkbox-circle-line" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" 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" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
<li>
<button class="fr-btn fr-icon-checkbox-circle-line fr-btn--secondary" title="[À MODIFIER - Label bouton]">
Label bouton
</button>
</li>
</ul>