<!-- primary button default --><!-- for type "primary" the modifier "--primary" can be omitted" --><buttonclass="ui-btn">...</button><buttonclass="ui-btn ui-btn--primary">...</button><!-- disabled button --><!-- add attribute "disabled" to prevent click and for the tabindex to be correct --><buttonclass="ui-btn ui-btn--disabled"disabled>...</button><!-- button with icon --><buttonclass="ui-btn ui-btn--primary">...<iclass="ui-icon ui-icon--download ui-icon--light"></i></button>
Secondary button
Normal
Disabled
Default
With icon
White outline
<!-- secondary button (transparent bg) --><buttonclass="ui-btn ui-btn--secondary">
...
<!-- we MUST have both the dark and light icons to handle hover state --><iclass="ui-icon ui-icon--download"></i><iclass="ui-icon ui-icon--download ui-icon--light"></i></button><!-- secondary white button (transparent bg) --><buttonclass="ui-btn ui-btn--secondary-white">
...
<!-- we MUST have both the dark and light icons to handle hover state --><iclass="ui-icon ui-icon--download"></i><iclass="ui-icon ui-icon--download ui-icon--light"></i></button>
Color button
Normal
Disabled
Red
Green
<!-- red button --><buttonclass="ui-btn ui-btn--red">...</button><!-- green button --><buttonclass="ui-btn ui-btn--green">...</button>
Pill button (large)
Normal
Disabled
Highlight color
Secondary
<!-- pill button highlight --><buttonclass="ui-btn ui-btn--pill ui-btn--highlight">...</button><!-- pill button secondary --><!-- same as above: dark and light icons required for hover state --><buttonclass="ui-btn ui-btn--pill ui-btn--secondary">...</button>
Pill button (small)
Normal
Disabled
Default
With icon
Default
With icon
<!-- small pill button primary --><buttonclass="ui-btn ui-btn--primary ui-btn--pill ui-btn--small">...</button><!-- small pill button secondary --><buttonclass="ui-btn ui-btn--secondary ui-btn--pill ui-btn--small">...</button>