Panels are sections of content that provide supplementary information. They’re commonly used for help content and can include follow-up actions using buttons or links.

Also known as: (Side/bottom) sheet, drawer, tray, flyout, side panel.

Anatomy

A panel example featuring callout A indicating the title, callout B indicating the close icon button, callout C indicating the subtitle, and callout D indicating the content area. Another example panel featuring callout E indicating the collapse icon button and callout F indicating the scrim.

A. Title (required): Brief text describing the panel content.
B. Close icon button (required): UI icon button used to close a default panel or exit the full screen view on mobile devices.
C. Subtitle (optional): Area displaying content, action buttons, or links.
D. Content area (required): Area displaying content, action buttons, or links.
E. Collapse icon button (optional): Icon button used to collapse or expand the panel.
F. Skrim (optional): Semi-transparent overlay distinguishing the panel from the content underneath.

Usage

When to use and when not to use different types of panel
Component When to use When not to use
DefaultTo provide contextual information prompted by a link, button, or similar interactive element.

For information related to a specific action or part of the experience.
If users may need to access the information repeatedly. Use an expandable panel instead.
ExpandableTo provide supplementary information the user may want to reference repeatedly.

For information relating to the whole page or content area.
To provide critical guidance, as users may miss important details if they’re hidden in a collapsed panel.
TabbedTo divide panel content into categories of information.If you have only a small amount of information or if the information doesn’t naturally divide into categories.

Best practices

  • Use vertical scrolling if there’s overflow content, but avoid horizontal scrolling to maintain readability.
  • Ensure all content in the panel relates to the main page content.
  • Ensure panel content is brief and specific. Avoid using panels for long paragraphs or sections of text.
Panel on a sign in screen that gives detailed info on how to reset a password.

Do Use panels to provide supplementary information relevant to the main content on the page.

Panel with input for a verification code and a primary action button

Don't Use panels for critical information or required actions, as users may not find them.

Default panels

Default panels provide contextual information prompted by UI controls, such as buttons or links. They can be dismissed using a close icon button. Default panels are best for providing additional details or controls related to a particular step or action within the main page, which users are likely to access once during their workflow, rather than repeatedly.

Simplified page layout that shows that the main content area reflows and is responsive to the panel opening

Expandable panels

Expandable panels provide supplemental information that can be expanded or collapsed at any time during the experience. They’re best for providing information relevant to the entire page, which users may want to reference multiple times throughout their workflow. The expand/collapse button remains available at all times, enabling users to access the information whenever needed.

Simplified page layout that shows that the main content area reflows as a panel is expanded

Tabbed panels

Tabbed panels are similar to expandable panels, but include Tabs that divide the content into logical groups or categories. They’re best for larger amounts information that may benefit from being broken into categories. Tabbed panels enable users to navigate between different sections of information easily, making it easier to find specific details within a broader context.

Simplified page layout that shows that the main content area reflows as a panel with tabs is expanded

Behaviors

Modal panels lay on top of the main content using elevation or a semi-transparent skrim overlay. When the panel is open, all other page content is disabled until the panel is dismissed.

Simpified page layout with an overlay and panel above the main content area
  • Use modal panels when you need to capture the user’s focus for critical actions or decisions that shouldn’t be distracted by other content on the page.
  • Don’t use modal panels if users need to interact with both the panel and the main content simultaneously.

Elevation vs. skrim

Modal panels can be indicated using elevation or a semi-transparent skrim overlay. This ensures it’s clear that the page content isn’t interactive when the panel is open. For more information, reference Elevation.

Simpified page layout with a panel using elevation to be above the main content area. Simpified page layout with a skrim overlay and panel above the main content area

Responsive panels

Responsive panels push content to the side when open. They don’t limit the interactivity of other elements on the page, so users can interact with the panel and the main page simultaneously.

Simplified page layout that shows that the main content area reflows and is responsive to the panel opening
  • Use responsive panels when users need to interact with both the panel and the main content simultaneously, such as performing tasks that benefit from a side-by-side layout.

Platform considerations

Web

In web platforms, panels fill the full height of the content area and are anchored to the right side of the screen.

Simplified page layout that shows that the main content area reflows and is responsive to the panel opening

Mobile

In mobile platforms, panels can either occupy a portion of the screen or take up the full screen, but they always function as Modal panels, meaning functionality is limited on the rest of the screen. If they don’t take up the full screen, they should be anchored at the bottom.

Simplified mobile layout that shows a panel occupying a small portion of the bottom of the screen
  • Consider using a Dialog instead to present options or actions. This provides more ergonomic and mobile-friendly interaction.

  • Ensure mobile panels always include a close icon button.

Content

  • Use simple language—avoid abbreviations or jargon.
  • Use sentence case, except for proper nouns or acronyms.

Panel headings

  • Use short, concise content that describes the panel content clearly.
  • Only use punctuation when labels are phrased as questions, such as “How do I edit my billing information?”

Panel content

  • Use complete sentences and proper punctuation within each section or panel.
  • Keep the content within each panel concise and to the point.
  • Avoid unnecessary details or complex language.
  • Provide users with the answers they need as quickly and efficiently as possible.
  • If content within the panel is becoming too lengthy, it may be a sign that the information should be presented in a different way, such as being broken down further, moved to a separate page, or even represented visually.