Panel

v2.2

Panels present supplemental information and input methods directly related to the primary content.

  • CSS
  • Marko
  • React
Stylized artwork of a panel.

Considerations

Complimentary

Panels directly support and enhance interaction with the primary content.

Contextual

Panels appear and disappear according to screen size and needs. They become a fullscreen overlay or spoke page on small screens.

Flexible

Panel content can include a variety of input elements and information.

Anatomy

Properties

Behavior

Modality

Panels can be modal or non-modal. Modal Panels present over a scrim that disables interaction with the base layer. Non-modal Panels omit the scrim and allow users to manipulate content on the base layer. Modal is the default presentation for Panels.

Use a modal Panel when manipulating data that will update the base layer or when the content on the base layer is complex and distracting. Use a non-modal Panel for content that is purely referential and doesn’t update data.

A Report a buyer modal panel.

Modal panel

A Report content non-modal panel.

Non-modal panel

Screen sizes

Best practices

Specs

A panel with specs is shown. The width of the panel is 384px. The padding on the left, right, top, and bottom of the panel container is 16px. The height of the close button is 32px. The padding between the close button and the content space is 16px. The padding on the left, right, top, and bottom of the footer is 16px. The padding between the primary action button and secondary action button is 8px.