Problem summary

The user needs to browse through a series of tabs without refreshing the page

Example

Usage

  • Use when there is not enough space on the website to show all of the content inside all tabs – or if such a listing is irrelevant.
  • Use when there are more than 2 sections
  • Use when there less than 8-10 sections depending on the length of each section name.
  • Use when section names are relatively short
  • Use when the content of each tab can be viewed separate from each other, and not in context of each other.
  • Use when the content for each tab has similar structure
  • Use when you need to show what tab is currently being viewed
  • Do not use when the content inside each pane would function just as well in its own separate page.

More examples

Solution

  • Present the content of one tab inside a box (content area)
  • Place a horizontal bar on top of the content area with links representing tabs
  • Refrain from having more than one line of links in the top horizontal tab bar
  • Use color coding or other visual support to indicate what tab is currently being viewed
  • Present the content of each tab in the same content area
  • Only one content area should be visible at a time
  • Maintain the same structure of the top horizontal tab bar after a new tab has been clicked
  • Only the content area of the tabs and the horizontal tab bar should be changed when a user clicks a new tab
  • If possible, the page is not refreshed when a tab is clicked.
  • A new page is not loaded when a tab is clicked

Rationale

  • Navigation tabs lends itself from the physical metaphor of a folderes in a file-cabinet and is thus familiar to the user.
  • Module Tabs provide an easy way to show large amounts of similar structured data parted by categories
  • Tabs place the content area of the tabs into a context as the selected tab has been highlighted.
This article has been commented 3 times. Join the discussion!

More examples of the Module Tabs pattern See all 7 example screenshots

3 comments

  • 581895d68833498aa850060ca7a070ab

    Rainer on Apr 15, 2009

    What if I have to or want to show more sections in my module than the module’s width? Does anyone know a good pattern for this?

    I only know some solution for this but am not sure which is really good:
    - showing several rows of tabs… which looks really ugly
    - showing arrows to move the tabs (like for the spreadsheets in Excel or for the browser tabs in Firefox)
    - showing only as many tabs as fit in the row and offer further tabs in something like a dropdown menu

    Any other ideas, recommendations or tips for good examples?

  • 9ee02b3fd841a1fb4e7c0755e125d784

    Tisha on Mar 16, 2010

    Virgin.com has something similar, you could actually take a que from Firefox tabs and Virgin.com where in you display the tabs you have room for then add a [More +] tab, the issue then is that it’s not really a tab, but more or less a shortcut that updates the “More” tab. I’ve done something like this before using stacked tabs inside a tab. The stacked tabs were all related views of the tab they were contained within.

  • C9293b442c7be46363ec1f8ea47bcbfe

    Garrett on Mar 04, 2011

    I wanted to point out a very good point from a comment on the navigation tabs page.

    “The background color of the selected tab should match (or at least seamlessly transition into) the background color of the contents of the tab. This visually ties the content to its tab.”

Post a comment

To avoid spam, no URLs are allowed.