Black Friday er her! Opret en app og få 50 % rabat nu!

More Menu

UI Components

The More Menu extends the TabBar. A bar stays clear with a few entries, so the other sections of the app wait in a panel that opens from the bar, one tap away.

Introduction

A navigation bar is easy to read when it holds a few entries. An app often has more sections than that. The More Menu is where the others go. It opens from its own entry in the TabBar and lists them in a panel, so every section stays one tap away without crowding the bar.

The More Menu is not a separate navigation. It follows the size and the corner style chosen for the TabBar, and it adapts to the device like the bar does. In the back office it is called the "Other" menu, and its sections are arranged there, next to those of the main navigation.

Anatomy

The More Menu is built on three levels, like the TabBar it extends. A Container is laid over the interface, a panel sits inside it, and the panel holds a title area and a list.

The Container, the panel, the title area and the Items

The Container, the panel, the title area and the Items

Container

The Container is the outer layer. It lays the menu over the interface, carries the background that separates the menu from the screen behind it, and sets the space around the panel.

The Container and the space it keeps around the panel

The Container and the space it keeps around the panel

Panel

The panel is the surface of the menu. Its title area comes first, with a label and a close icon, built on the Item Icon. The label can be edited, along with its color and its font, and the close icon can be changed. The list follows, one Item per entry. In the More Menu an Item is always horizontal, the icon first and the label after it. A thin separator runs under the title area and in the gap between two Items, set in from the sides of the panel, and none follows the last one.

The label, the close icon, an Item and a separator

The label, the close icon, an Item and a separator

Properties

Size

The More Menu takes the element size of the TabBar, Compact, Standard or Large. The size sets the height of the title area and of each Item, the size of the icons and of the labels, and the padding on their sides.

Compact, Standard and Large

Compact, Standard and Large

Shape

The corner style of the TabBar applies to the menu as well, following the Shape atom. The panel, the title area, the Items and the close icon are rounded together, each with its own radius.

The corner styles, on the TabBar and on the menu

The corner styles, on the TabBar and on the menu

Shadow

The panel can cast a shadow, following the Shadow atom. It lifts the menu above the screen it covers.

The shadow under the panel

The shadow under the panel

Background

The menu has two backgrounds, and each offers the same three styles. The Container takes a solid color or a gradient, with an opacity that lets the screen show through, or a uniform blur, light or dark and more or less strong. The panel takes one of these styles too, and a border.

Solid color, gradient and blur behind the panel

Solid color, gradient and blur behind the panel

Items

The Items of the menu have their own style, set apart from those of the bar. They show an icon and a label, or a label only, with their colors and their font. The separator has one setting, its color.

Icon and label, label only, and the separator

Icon and label, label only, and the separator

Layout

Fit and stretch

The panel has two ways to take its height. With fit, it takes the height of its content, the title area and the Items it lists. It rests just above the TabBar, and on desktop it sits at the top, beside the rail. With stretch, it fills the height it is given, down to the TabBar, or the full height beside the rail on desktop, whatever the number of Items.

Fit and stretch

Fit and stretch

By device

On mobile, the panel takes the width of the screen, inside the padding of the Container. On tablet, it keeps a fixed width of 420px and stays centered. On desktop, where the TabBar is a vertical rail, the panel opens beside it, with a width of 220px, 240px or 260px according to the element size.

The More Menu on mobile, tablet and desktop

The More Menu on mobile, tablet and desktop

Spacing

The Container keeps 1G between the panel and the edges of the screen, and none on the side of the TabBar. This space follows the device, as described in Spacing. Inside the panel the values are fixed. The panel has a padding of 4px, and 4px separate the title area from the list and each Item from the next. The title area and the Items have a minimum height. They grow with the size of their text, and a label stays on one line.

The padding and the gaps of the menu

The padding and the gaps of the menu

Behavior

Overflow

The number of entries the bar shows depends on the TabBar chosen for the app. One of them opens the More Menu. On desktop the rail has room for more entries, so the menu lists fewer sections, and it is not created when every section fits in the rail.

The same navigation on mobile and on desktop

The same navigation on mobile and on desktop

Opening and closing

When the menu opens, its background fades in and the panel slides into place. On mobile and tablet the panel stops above the TabBar, which stays visible. On desktop, a rail that shows its labels folds down to its icons, and the panel opens beside it. The menu closes with its close icon, with a second tap on the entry that opened it, or when another entry of the bar is chosen.

A section opened from the More Menu is displayed without the TabBar, with a back button in the NavBar.

Scrolling

When the list is longer than the panel, it scrolls. The title area stays in place at the top, so the close icon is always within reach.

The list scrolls, the title area stays in place

The list scrolls, the title area stays in place