funkwhale/front/ui-docs/designing-pages.md

1.8 KiB

Designing Pages

Grid

The page grid consists of 46px wide tracks, separated by 32px wide gaps. See examples on design.funkwhale.audio

Page sections

Use the Layout Section component to structure the page into separate sections, each with a heading. Make sure the heading level hierarchy makes sense.

Sections and their contentsare automatically aligned to the default grid.

Navigation

When most of the screen changes, users perceive it as a page navigation. They will expect the "back" button to bring them to the precious screen. In addition, they may expect the URL to contain the current page for sharing.

This makes a component a "page". In this sense, modals are pages.

Not everything we want to share with the Url replaces most of the screen. What about switching a filter?