Skip to content

Navs & Tabs

Navs are the building block for in-page menus: simple link rows, tabs, pills and underlined links that can be aligned, stretched or stacked. With the tab data API they also switch content panes, so the same markup works for settings screens, product details and dashboards.

1Base nav

A plain <code>ul.nav</code> list of links: active, normal and disabled states.

2Nav element

The same component written as a <code>nav</code> element with links only - no list markup needed.

3Centered

<code>.justify-content-center</code> centers the links.

4Right aligned

<code>.justify-content-end</code> moves the links to the right.

5Vertical

<code>.flex-column</code> stacks the links - for sidebars and settings menus.

6Tabs

<code>.nav-tabs</code> draws classic folder tabs.

7Pills

<code>.nav-pills</code> uses filled rounded buttons for the active link.

8Underline

<code>.nav-underline</code> marks the active link with a thick bottom border.

9Fill

<code>.nav-fill</code> stretches the items to use all available width, each as wide as its text.

10Justified

<code>.nav-justified</code> makes every item exactly the same width.

11Tabs with dropdown

A dropdown inside a tab bar for less used sections.

12Pills with dropdown

Pills plus a dropdown that lists more categories.

13Working tabs

Tabs with <code>data-bs-toggle="tab"</code> switch between content panes without leaving the page.

Private dining rooms seat up to forty guests for birthdays and business dinners.

  • Online reservations
  • Fast delivery
  • Local ingredients

Start in minutes and get help from a real person whenever you need it.

14Working pills

Pills with <code>data-bs-toggle="pill"</code> control panes below them.

$27.68 per month

$234.32 per year

$866.70 one time

15Vertical pills

Stacked pills on the left control panes on the right; on phones they wrap above.

Account

Our terrace is open from spring to autumn, with heaters for cooler evenings.

Security

Every dish is cooked to order, so tell us if you would like anything changed.

Notifications

Cooking classes on Saturday mornings teach you our favourite recipes.

Billing

Thousands of guests already trust us, and we work hard to keep it that way.

16Tabs with icons and badges

Icons and counters inside the tab labels.

Children are always welcome, with a menu made just for them.

Book a table online in seconds, or call us for groups of eight or more.

Bread is baked every morning and pasta is rolled by hand in our kitchen.

17Card header tabs

<code>.card-header-tabs</code> blends the tab bar into a card header.

Takeaway

Our sommelier has paired each dish with wines from small family vineyards.

Takeaway

Our sommelier has paired each dish with wines from small family vineyards.

Takeaway

Our sommelier has paired each dish with wines from small family vineyards.

18List group tabs

List group items with <code>data-bs-toggle="list"</code> act as a vertical tab menu.

Our team has done this many times, so you never have to guess.

We have been feeding this neighbourhood for over a decade, and we still love it.

Friendly people answer your questions quickly, by phone, chat or email.

19Responsive direction

<code>.flex-column .flex-sm-row</code> stacks the pills on phones and lines them up on larger screens.

20Segmented control

Small pills inside a tinted rounded track look like an iOS segmented control.

We measure success by how many guests come back and tell their friends.

We measure success by how many guests come back and tell their friends.

We measure success by how many guests come back and tell their friends.