Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

FOOT-006 Published · Updated

Collapsible footer

A footer that lays out its link groups under headings on desktop, and on mobile shows only the headings, opening a group when it is tapped.

FigmaThis part is included in our free, editable Figma file: 235 website UI patterns across 32 parts, 2 designs each Open in Figma Community ↗ (opens in a new tab)

Wireframe (desktop) | Collapsible footer

Collapsible footer UI design (desktop wireframe)

Wireframe (mobile) | Collapsible footer

Collapsible footer UI design (mobile wireframe)

What changes on mobile

  1. Link groups collapse to headings: Listing every link on mobile runs to several screens, so only the headings show and the tapped group opens.
  2. Contact details and legal links stay open: People often come to the footer for the phone number or legal pages, so these sit outside the groups and are always visible.
  3. Heading rows are easy to tap: Each heading row is one button at least 44px tall, with a plus or minus at the right edge to show whether it is open.

Before you choose this pattern | Collapsible footer

Good fit

  • The footer has many links that would run to several screens on mobile
  • The links fall into groups that can be named, such as "Services" and "Company"
  • You want every link laid out on desktop
  • Company sites with many services, sites with many shops or brands

Poor fit

  • The footer has about ten links and stays short without collapsing (the link-group footer works better)
  • On a landing page you want only the operator and legal links (the simple footer works better)

Why this wireframe works | Collapsible footer

On mobile, only the headings show

A link-heavy footer laid out as-is on mobile makes the end of the page run on for several screens. On mobile only the group headings show, and only the tapped group opens.

Contact details and legal links never collapse

The phone number, opening hours and privacy policy are what people most often look for in a footer. They sit outside the groups, where they are always visible.

On desktop, every link is laid out

Desktop screens are wide, so laying out the links does not make the footer long. Desktop shows no toggle buttons, just every heading and link.

The whole heading row is the button

If only the heading text can be tapped, it is hard to hit with a finger. The whole heading row is a button, with a plus or minus at the right edge showing its state.

Opening one group leaves the others open

If opening one group closes the others, two groups cannot be compared. Open groups stay open until the person closes them.

Common mistakes when building it

Collapsing the phone number and legal links too

If everything collapses, someone looking for the phone number has to open the groups one by one. Keep contact details and legal links outside the groups.

Headings that do not say what is inside

Headings such as “Other” or “Information” give no clue until opened. Use names that describe the contents, such as “Company” or “Support”.

The open state is not announced

A visual plus and minus mean nothing to screen reader users. Give the button aria-expanded and update it whenever it changes.

Collapsing on desktop as well

Collapsing on desktop forces people to open groups that could all be seen at a glance. Collapse only on mobile, where the footer gets long.

Making the heading a link to another page as well

People cannot tell whether tapping opens the group or goes somewhere else. Use the heading only to open and close, and put a link to the section page inside the group.

Frequently asked questions

How is it different from the link-group footer?

The link-group footer is a layout pattern that organizes links such as services, works and company information under headings. The collapsible footer is a display-and-interaction pattern, mainly for opening and closing link groups on mobile, and the two can be combined. Some link-group design examples also collapse on mobile; the collapsible footer covers open and closed state, keyboard use and the initial state in more detail. If there are few links and the footer stays short on mobile, the link-group footer works better.

Should one group start open?

Starting with all groups closed is the usual choice. An open group draws attention away from the others. If there is a link you especially want seen, place it outside the groups.

How should the headings and toggles be marked up?

A common approach is a button inside the heading element (h2 or similar), with aria-expanded and an aria-controls that points to the list it opens. On desktop, where nothing collapses, show only the heading text and no button.

Does it affect search engines?

Even when collapsed, links that exist in the HTML as a href links can be followed by search engines. If links are only created by JavaScript when clicked, handling depends on the implementation. Adding more links does not raise rankings, though, so keep to the links people actually use.

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