Close button and carets
Close button
Use the generic close icon for dismissing content like modals and alerts. Just add .close
class on a button
or a
. For a larger close icon add .close-lg
class too.
Regular size:
.close
Large size:
.close-lg
Carets
Use carets to indicate dropdown functionality and direction.
This carets are available on 3 sizes and 4 colours (default, disabled, primary and secondary). Use the .caret
for the default caret and addition class if you'd like a different size or color. Check the classes and examples below.
Default:
Normal state:
Open state:
.caret
Open state:
.open
on parent Multiples options:
.caret-large-default
.caret-large-disabled
.caret-large-primary
.caret-large-secondary
.caret-small-default
.caret-small-disabled
.caret-small-primary
.caret-small-white
<!-- Close button - .close and .close.lg -->
<button type="button" class="close"></button>
<button type="button" class="close close-lg"></button>
<!-- Carets - .caret -->
<span class="caret"></span>
<span class="caret caret-large-disabled"></span>
<!-- Caret (open state) - .open -->
<div class="open">
<span class="caret"></span>
</div>