title: How to use Button bar as navigation tabs ionic
body: <p>Using the awesome ionic framework, I'm using the Button bar like the pic below :</p>
  
  <p><img src="https://i.stack.imgur.com/kvcp6.png" alt="enter image description here"></p>
  
  <p>But I want when I press a button, it should remain pressed and the others off, and when I press the second, it remains pressed and the others off.</p>
  
  <p>like this :</p>
  
  <p><img src="https://i.stack.imgur.com/pF8Rg.png" alt="enter image description here"></p>
  
  <p>here is the code : </p>
  
  <pre><code>&lt;div class="button-bar"&gt;
    &lt;a class="button"&gt;First&lt;/a&gt;
    &lt;a class="button"&gt;Second&lt;/a&gt;
    &lt;a class="button"&gt;Third&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>