Tabs and pills are UI components that allow users to navigate between different sections of content without leaving the current page. They enhance user experience by organizing information in a compact and accessible manner, making it easier to switch between related content areas. This interface is particularly useful for displaying content that is closely related but requires separation for clarity.
Learn more about this component on bootstrap's official documentation.
Default Tabs
.nav.nav-tabs to an UL and .tab-content to
adjacet element. Tabs are triggered by the data attribute
data-toggle="tab" and href="#tab_content" you
will link the tab you would like to display
Tab sizes
Directional tabs
.justify-content-end and
justify-content-center to .nav.nav-tabs
Justified tabs
.nav-justified. All
horizontal space will be occupied by nav links
Borders & icons
Default Panel
.nav-tabs-clean to
.nav-tabs
Default Pills
.nav-tabs with .nav-pills
Pills as nav
nav HTML element, which
then allows you to inherit properties of buttons, various sizes and
different colors
Directional pills
.justify-content-end and
justify-content-center to .nav.nav-tabs
Justified pills
.nav-justified. All
horizontal space will be occupied by nav links
Pill borders & icons
Pill vertical
Home
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica.
Organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore.
Profile
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee.
Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic.
Messages
Settings
All your settings changes have been saved!