Buttons are the most common interactive element on a website, used to trigger actions, submit forms, or navigate users. Amazium provides simple, adaptable button styles to meet various design needs.
The default button style is versatile and used in most cases where a primary action isn’t required.
<a href="#" class="btn">...</a>
<button class="btn">...</button>
<input class="btn" value="..." type="button">
<input class="btn" value="..." type="submit">
<input class="btn" disabled value="..." type="button">
Buttons can convey different meanings using color-coded styles:
<a href="#" class="btn btn--info">...</a>
<a href="#" class="btn btn--negative">...</a>
<a href="#" class="btn btn--positive">...</a>
<a href="#" class="btn btn--warning">...</a>
Ghost buttons are used for less prominent actions, offering a subtle alternative to traditional buttons. Ghost buttons can change color on hover using these classes:
<a href="#" class="btn btn--ghost">...</a>
<a href="#" class="btn btn--ghost btn--hoverInfo">...</a>
<a href="#" class="btn btn--ghost btn--hoverNegative">...</a>
<a href="#" class="btn btn--ghost btn--hoverPositive">...</a>
<a href="#" class="btn btn--ghost btn--hoverWarning">...</a>
Buttons are available in multiple sizes to fit different layouts and use cases.
<a href="#" class="btn btn--sm">...</a>
<a href="#" class="btn btn--md">...</a>
<a href="#" class="btn btn--lg">...</a>
Button groups allow you to visually and functionally group multiple buttons together as a single unit. This is useful for related actions such as navigation, toggles, or grouped controls.
Buttons inside a .btn-group are displayed inline with no spacing between them, creating a connected appearance.
<div class="btn-group">
<a href="#" class="btn">...</a>
<a href="#" class="btn">...</a>
</div>