--- title: Tabs and Pills --- ## Tabs and Pills Tabs and Pills are forms of navigation. Meaning they help the end-user navigate through the site in a user-friendly manner. ### Tabs To achieve bootstrap tabs, first you need an element that has the `.nav` class assigned to it. Then you simply add an extra class named `.nav-tabs`. ```html
```  --- ### Pills Bootstrap Pills is achieved the same way as Bootstrap Tabs except instead of `.nav-tabs`, use `.nav-pills`. ```html ```  --- ### Pills Stacked Bootstrap Pills are also vertically stackable by using `.nav stacked` in conjunction with `.nav-pills`. ```html ```  --- ### Bootstrap Tabs/Pills Justified Both Bootstrap Tabs and Pills can have equal width of their parent at screens wider than 768px by using `.nav-justified` class. On smaller screens, the nav links are stacked. ```html ```  --- ### Disabled Links For any nav component (tabs or pills) add `.disabled` for gray links and no hover effects ```html ```  --- ### Tabs with Dropdowns Add dropdown menus to your nav tabs. ```html ```  --- #### Tabs with Dropdowns Add dropdown menus to your nav pills. ```html ```  #### More Information - [Bootstrap Documentation for Tabs and Pills](https://getbootstrap.com/docs/4.1/components/navs/#tabs)