Page layouts

Page layout building blocks and how they are used.

Page building blocks

Our layouts are built up from a number of building blocks.

Exploded page layout

Grid

The grid is a way of organising content in columns.

Example:

Window

The ‘window’ is the entire browser window including navigation.

Page

A ‘page’ is the background surface of the application, excluding navigation. It is contained in the window. A page:

Use the fun-page class to set the page background colour.

Region

A ‘region’ is an area on a page containing content of some kind. It can contain a header or a filter section or the main body content.

A region:

Use the fun-region class to set the region spacing. To create the grid you can use these classes:

Pane

A ‘pane’ is used to organize content inside a region.

Use the fun-pane class to style panes.

When using within a grid use col-span to control how many columns it spans. Example with using full width:

Standard page layouts

These are page layouts that are common and should have a standardized layout and behaviour.

List Pages

List pages show a list of items. They can be used purely for information or as navigation pages.

Table controls region

Search and actions

Details pages

Details pages show information about a particular item or entity, for instance a single custom metric, data source or Tableau view.

Refer to our example pages for implementation details.

Edit / Create pages

Edit and create pages are used for editing the properties of a single entity, for instance a custom dimension or data warehouse export, or for creating new items.

To avoid super wide forms you could limit the width of the panes on large screens. Example with using full width on smaller screens and adjust on larger screens:

Responsive design

All pages should be responsive to different screen sizes. We provide the following breakpoints that can be used as tailwind modifiers:

Search Gunnel

Powered byAlgolia