Silicon UI Kit

##### Menu

Preview Docs

### Content

Typography Icon font Code Images & figures Tables

### Components

Accordion Alerts Audio player Badges Blog components Breadcrumb Buttons Button group Cards Carousel (Slider) Collapse Dropdowns Forms Gallery (Lightbox) Image comparison slider Input group List group Modal Navbar Offcanvas Pagination Parallax Pills Placeholders Popovers Portfolio components Pricing Progress bars Social buttons Spinners Steps Tabs Team Testimonials / reviews Toasts Tooltips Video popup

### Utilities

Bootstrap Silicon

# Pills

Button-like navigation component.

Bootstrap docs

## Basic example

    <!-- Nav pills -->
    <ul class="nav nav-pills">
      <li class="nav-item">
        <a href="#" class="nav-link active">Active</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

## Rounded pills

    <!-- Rounded nav pills -->
    <ul class="nav nav-pills">
      <li class="nav-item">
        <a href="#" class="nav-link rounded active">Active</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link rounded">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link rounded">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link rounded disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

## Alignment and fill

    <!-- Center aligned -->
    <ul class="nav nav-pills justify-content-center">
      <li class="nav-item">
        <a href="#" class="nav-link active">Active</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

    <!-- Right aligned -->
    <ul class="nav nav-pills justify-content-end">
      <li class="nav-item">
        <a href="#" class="nav-link active">Active</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

    <!-- Justified pills -->
    <ul class="nav nav-pills nav-justified">
      <li class="nav-item">
        <a href="#" class="nav-link justify-content-center active">Active</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link justify-content-center">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link justify-content-center disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

    <!-- Fill pills -->
    <ul class="nav nav-pills nav-fill">
      <li class="nav-item">
        <a href="#" class="nav-link justify-content-center active">Active</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link justify-content-center">Much longer nav link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link justify-content-center disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

## Pills with dropdowns

    <!-- Pills with dropdowns -->
    <ul class="nav nav-pills">
      <li class="nav-item">
        <a href="#" class="nav-link active">Active</a>
      </li>
      <li class="nav-item dropdown">
        <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
        <div class="dropdown-menu">
          <a href="#" class="dropdown-item">Action</a>
          <a href="#" class="dropdown-item">Another action</a>
          <a href="#" class="dropdown-item">Something else here</a>
          <hr class="dropdown-divider">
          <a href="#" class="dropdown-item">Separated link</a>
        </div>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

## Vertical pills

    <!-- Vertical pills -->
    <ul class="nav nav-pills flex-column">
      <li class="nav-item">
        <a href="#" class="nav-link active">Active</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link">Link</a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link disabled" tabindex="-1" aria-disabled="true">Disabled</a>
      </li>
    </ul>

## Tabs-like behavior

Consequat occaecat ullamco amet non eiusmod nostrud dolore irure incididunt est duis anim sunt officia. Fugiat velit proident aliquip nisi incididunt nostrud exercitation proident est nisi. Irure magna elit commodo anim ex veniam culpa eiusmod id nostrud sit cupidatat in veniam ad. Eiusmod consequat eu adipisicing minim anim aliquip cupidatat culpa excepteur quis. Occaecat sit eu exercitation irure Lorem incididunt nostrud.

Ad pariatur nostrud pariatur exercitation ipsum ipsum culpa mollit commodo mollit ex. Aute sunt incididunt amet commodo est sint nisi deserunt pariatur do. Aliquip ex eiusmod voluptate exercitation cillum id incididunt elit sunt. Qui minim sit magna Lorem id et dolore velit Lorem amet exercitation duis deserunt. Anim id labore elit adipisicing ut in id occaecat pariatur ut ullamco.

Est quis nulla laborum officia ad nisi ex nostrud culpa Lorem excepteur aliquip dolor aliqua irure ex. Nulla ut duis ipsum nisi elit fugiat commodo sunt reprehenderit laborum veniam eu veniam. Eiusmod minim exercitation fugiat irure ex labore incididunt do fugiat commodo aliquip sit id deserunt reprehenderit aliquip nostrud. Amet ex cupidatat excepteur aute veniam incididunt mollit cupidatat esse irure officia elit do ipsum ullamco Lorem. Ullamco ut ad minim do mollit labore ipsum laboris ipsum commodo sunt tempor enim incididunt. Commodo quis sunt dolore aliquip aute tempor irure magna enim minim reprehenderit. Ullamco consectetur culpa veniam sint cillum aliqua incididunt velit ullamco sunt ullamco quis quis commodo voluptate. Mollit nulla nostrud adipisicing aliqua cupidatat aliqua pariatur mollit voluptate voluptate consequat non.

    <!-- Nav pills -->
    <ul class="nav nav-pills mb-4" role="tablist">
      <li class="nav-item">
        <a href="#" class="nav-link active" id="pills-home1" data-bs-toggle="pill" role="tab" aria-controls="home1" aria-selected="true">
          <i class="bx bx-home-alt opacity-70 me-2"></i>
          Home
        </a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link" id="pills-profile1" data-bs-toggle="pill" role="tab" aria-controls="profile1" aria-selected="false">
          <i class="bx bx-user opacity-70 me-2"></i>
          Profile
        </a>
      </li>
      <li class="nav-item">
        <a href="#" class="nav-link" id="pills-messages1" data-bs-toggle="pill" role="tab" aria-controls="messages1" aria-selected="false">
          <i class="bx bx-comment opacity-70 me-2"></i>
          Messages
        </a>
      </li>
    </ul>

    <!-- Pills content -->
    <div class="tab-content">
      <div id="home1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="pills-home1">
        ...
      </div>
      <div id="profile1" class="tab-pane fade" role="tabpanel" aria-labelledby="pills-profile1">
        ...
      </div>
      <div id="messages1" class="tab-pane fade" role="tabpanel" aria-labelledby="pills-messages1">
        ...
      </div>
    </div>

Top