Buttons - TL;DR:
Ce contenu n’est pas encore disponible dans votre langue.
The base class: o-btn
link The base class: o-btno-btn
To style an element as a button, use the o-btn
o-btn
Button modifiers
link Button modifiersTo add specific styles to a button, add a modifier class to the o-btn
Example: Brand Gradient Button
link Example: Brand Gradient Buttono-btn + o-btn-brand-gr
Example: Outline Button
link Example: Outline Buttono-btn + o-btn-outline
Combine modifiers
link Combine modifiersYou can combine multiple modifiers to create a button with multiple styles.
o-btn + o-btn-accent-gr + o-btn-outline
Check all available modifiers in the Button Modifiers documentation.
Buttons Customization
link Buttons CustomizationTo customize the buttons, use the buttons CSS custom properties.
If you modify the o-btn
Customized o-btn
You can also create your own modifier classes to add specific styles to a button.
Custom modifier