Components

Self-contained components

Buttons

Buttons, buttons, buttons: everybody gets buttons!

Default

Come and see:

<p>Come and see: <button class="btn">The default button</button></p>

Colors

Play with all the button colors:

The primary button

<p><button class="btn">The default button</button></p>
<p><a href="#" class="btn btn-primary">The primary button</a></p>
<p><button class="btn btn-secondary">The secondary button</button></p>
<p><button class="btn btn-tertiary">The tertiary button</button></p>
<p><button class="btn btn-white">The white button</button></p>
<p><button class="btn btn-black">The black button</button></p>
<p><button class="btn btn-gray-light">The gray-light button</button></p>
<p><button class="btn btn-gray">The gray button</button></p>
<p><button class="btn btn-gray-dark">The gray-dark button</button></p>

Sizes

From .btn-sm to .btn-xl, one will fit.

<p><button class="btn btn-black btn-sm">The small button</button></p>
<p><button class="btn btn-black">The default button</button></p>
<p><button class="btn btn-black btn-lg">The large button</button></p>
<p><button class="btn btn-black btn-xl">The extra large button</button></p>
<p><button class="btn btn-black btn-block">The block button</button></p>

Disabled

Here are the disabled looks for the buttons:

<p><button class="btn" disabled>The default button</button></p>
<p><button class="btn btn-primary" disabled>The primary button</button></p>
<p><button class="btn btn-secondary" disabled>The secondary button</button></p>
<p><button class="btn btn-tertiary" disabled>The tertiary button</button></p>
<p><button class="btn btn-white" disabled>The white button</button></p>
<p><button class="btn btn-gray-light" disabled>The gray-light button</button></p>
<p><button class="btn btn-gray" disabled>The gray button</button></p>
<p><button class="btn btn-gray-dark" disabled>The gray-dark button</button></p>

Icons

Brandaris uses Entypo+ for icons.

<p><button class="btn btn-black btn-sm"><span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 .4C4.697.4.399 4.698.399 10A9.6 9.6 0 0 0 10 19.601c5.301 0 9.6-4.298 9.6-9.601 0-5.302-4.299-9.6-9.6-9.6zm.896 3.466c.936 0 1.211.543 1.211 1.164 0 .775-.62 1.492-1.679 1.492-.886 0-1.308-.445-1.282-1.182 0-.621.519-1.474 1.75-1.474zM8.498 15.75c-.64 0-1.107-.389-.66-2.094l.733-3.025c.127-.484.148-.678 0-.678-.191 0-1.022.334-1.512.664l-.319-.523c1.555-1.299 3.343-2.061 4.108-2.061.64 0 .746.756.427 1.92l-.84 3.18c-.149.562-.085.756.064.756.192 0 .82-.232 1.438-.719l.362.486c-1.513 1.512-3.162 2.094-3.801 2.094z"/></svg></span> The small button</button></p>
<p><button class="btn btn-black"><span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 .4C4.697.4.399 4.698.399 10A9.6 9.6 0 0 0 10 19.601c5.301 0 9.6-4.298 9.6-9.601 0-5.302-4.299-9.6-9.6-9.6zm.896 3.466c.936 0 1.211.543 1.211 1.164 0 .775-.62 1.492-1.679 1.492-.886 0-1.308-.445-1.282-1.182 0-.621.519-1.474 1.75-1.474zM8.498 15.75c-.64 0-1.107-.389-.66-2.094l.733-3.025c.127-.484.148-.678 0-.678-.191 0-1.022.334-1.512.664l-.319-.523c1.555-1.299 3.343-2.061 4.108-2.061.64 0 .746.756.427 1.92l-.84 3.18c-.149.562-.085.756.064.756.192 0 .82-.232 1.438-.719l.362.486c-1.513 1.512-3.162 2.094-3.801 2.094z"/></svg></span> The default button</button></p>
<p><button class="btn btn-black btn-lg"><span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 .4C4.697.4.399 4.698.399 10A9.6 9.6 0 0 0 10 19.601c5.301 0 9.6-4.298 9.6-9.601 0-5.302-4.299-9.6-9.6-9.6zm.896 3.466c.936 0 1.211.543 1.211 1.164 0 .775-.62 1.492-1.679 1.492-.886 0-1.308-.445-1.282-1.182 0-.621.519-1.474 1.75-1.474zM8.498 15.75c-.64 0-1.107-.389-.66-2.094l.733-3.025c.127-.484.148-.678 0-.678-.191 0-1.022.334-1.512.664l-.319-.523c1.555-1.299 3.343-2.061 4.108-2.061.64 0 .746.756.427 1.92l-.84 3.18c-.149.562-.085.756.064.756.192 0 .82-.232 1.438-.719l.362.486c-1.513 1.512-3.162 2.094-3.801 2.094z"/></svg></span> The large button</button></p>
<p><button class="btn btn-black btn-xl"><span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 .4C4.697.4.399 4.698.399 10A9.6 9.6 0 0 0 10 19.601c5.301 0 9.6-4.298 9.6-9.601 0-5.302-4.299-9.6-9.6-9.6zm.896 3.466c.936 0 1.211.543 1.211 1.164 0 .775-.62 1.492-1.679 1.492-.886 0-1.308-.445-1.282-1.182 0-.621.519-1.474 1.75-1.474zM8.498 15.75c-.64 0-1.107-.389-.66-2.094l.733-3.025c.127-.484.148-.678 0-.678-.191 0-1.022.334-1.512.664l-.319-.523c1.555-1.299 3.343-2.061 4.108-2.061.64 0 .746.756.427 1.92l-.84 3.18c-.149.562-.085.756.064.756.192 0 .82-.232 1.438-.719l.362.486c-1.513 1.512-3.162 2.094-3.801 2.094z"/></svg></span> The extra large button</button></p>
<p><button class="btn btn-primary btn-block"><span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 .4C4.697.4.399 4.698.399 10A9.6 9.6 0 0 0 10 19.601c5.301 0 9.6-4.298 9.6-9.601 0-5.302-4.299-9.6-9.6-9.6zm.896 3.466c.936 0 1.211.543 1.211 1.164 0 .775-.62 1.492-1.679 1.492-.886 0-1.308-.445-1.282-1.182 0-.621.519-1.474 1.75-1.474zM8.498 15.75c-.64 0-1.107-.389-.66-2.094l.733-3.025c.127-.484.148-.678 0-.678-.191 0-1.022.334-1.512.664l-.319-.523c1.555-1.299 3.343-2.061 4.108-2.061.64 0 .746.756.427 1.92l-.84 3.18c-.149.562-.085.756.064.756.192 0 .82-.232 1.438-.719l.362.486c-1.513 1.512-3.162 2.094-3.801 2.094z"/></svg></span> The block button</button></p>
On this page