Skip to main content

Sidebar

UI Design

What is a Sidebar

A sidebar is a vertical panel on the side of the screen that holds navigation or extra content. In apps, it usually sits on the left and lists the main areas or collections, such as folders, projects or playlists.

Types of Sidebars

  • Navigation sidebar: Lists the product's main sections
  • Collapsible sidebar: Shrinks to icons to save space
  • Content sidebar: Shows related links or details next to the main content

When to use a Sidebar

Use a sidebar for complex products with many sections, such as dashboards, admin tools and email apps. Vertical lists hold more items than a top bar and have room to grow. On small screens, switch to a tab bar or a drawer.

Sidebar best practices

Place it on the leading side, the left in left-to-right languages. Start labels with the key word so they are easy to scan, mark the current section clearly and keep the most-used items at the top.

Frequently asked questions

When should you use a sidebar instead of top navigation?

When the product has many sections or will grow, such as dashboards, admin tools and email apps. Vertical lists hold more items and are easy to scan, but they take more horizontal space than a top bar.

What happens to a sidebar on mobile?

There is usually not enough room, so it becomes a tab bar for the main sections or a drawer that slides in from the side. Apple suggests a more compact control, such as a tab bar, when space is limited.

Which side should a sidebar be on?

The leading side, which is the left in left-to-right languages. NN/g recommends left-aligned vertical navigation with labels that start with the key word.