Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

MDL-002 Published · Updated

Information modal

A design that lets readers open supplementary information outside the main text, such as cancellation terms or a definition, without leaving the page.

Wireframe (desktop) | Information modal

Information modal UI design (desktop wireframe)

Wireframe (mobile) | Information modal

Information modal UI design (mobile wireframe)

What changes on mobile

  1. Not full height: A little of the page behind stays visible, showing the modal is on top of the original screen. About 80% is the guide, depending on content and device.
  2. Only the content scrolls: The close button and the bottom button stay in reach on mobile too.

Before you choose this pattern | Information modal

Good fit

  • Readers should check supplementary information in the middle of a task
  • Terms and conditions to read during a booking or sign-up
  • The information fits in a few paragraphs

Poor fit

  • The information is long and reads better as a page (make it a separate page and link to it)
  • The information should open directly from search or a shared link (a modal's content has no URL)

Why this wireframe works | Information modal

Supplementary information without losing your place

The information opens in a modal, and readers return to where they were when they finish. Moving to another page risks losing half-entered input or the reading position.

The opening link names its content

The opening button is named for its content, such as “Cancellation and rescheduling terms”. “Here” or “Read more” does not say what will open.

Long content scrolls on its own

The title, close button and bottom button are fixed, and only the content scrolls. However long the content, the way to close is never lost. The fixed parts are kept short so they do not crowd the body.

Ways to close at the top and the bottom

Both the “Close” at the top right and the “Got it” at the end of the content close the modal. Esc and clicking the backdrop close it too, returning focus to the opening button.

Common mistakes | Information modal

A whole page crammed into a modal

Long information such as full terms of use is hard to read in a modal and cannot be searched or shared. Make it a page and keep only the essentials in the modal.

A modal opened from inside a modal

When one modal stacks on another, readers lose track of where to return. Switch content within one modal or move to a page instead.

A close button that scrolls out of view

If the close button scrolls with the content, readers have to hunt for it after reading. Keep the close button fixed.

The page behind scrolling while the modal is open

If scrolling inside the modal also moves the page behind, the position has changed when the modal closes. Stop the page behind from scrolling while the modal is open.

FAQ | Information modal

Information modal or an accordion?

For supplementary content read as part of the page’s flow, an accordion keeps it as page content. For information checked briefly in the middle of a task, a modal suits better.

Is the content of a modal read by search engines?

If it is in the page HTML it may be read, but it can also be treated as content not visible until opened. Make information you want found in search a page.

Can an information modal have buttons?

Besides the close button, one action related to the content (such as agreeing to the terms and continuing) is fine. If there are several actions, a separate page is clearer than a modal.

Related pages

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published