Skip to content

Layout: Tabs Added In: v1.15.0

Rather than rendering each group side-by-side (as per Fixed and Grid layouts) or above and below each other (as per Notebook layout), the Tabs layout will render each group as a standalone Tab in a tabbed view for the page. You can then switch between the tabs to view the different groups.

Tabs LayoutAn example UI rendered using the "Tabs" Layout, showing each "Group" as a Tab.

Note that it's not currently possible to navigate to a page with a a particular tab open. The page will always open with the first tab selected.

Controlling Width & Columns

Each tab will always render the full width of the screen. The "width" of each group then defines the number of columns that will be available within the tab.

For example, if you have a group with a width of 6, and two charts, each with a width of 3, they will render side-by-side within the tab, at 50% of the screen's width. If you then changed the group's width to be 12, the two charts would instead only take up 25% of the screen width each.

Breakpoints

Depending on the screen size, the number of default columns rendered will change. Here you can see examples of the columns rendered at three breakpoints:

Guidelines demonstrating the columns rendered in the "Grid" LayoutGuidelines demonstrating the columns rendered in the "Grid" Layout at different screen sizes

Desktop

  • Breakpoint: 1024px
  • Columns: 12

Tablet

  • Breakpoint: 768px
  • Columns: 9

Medium

  • Breakpoint: > 576px
  • Columns: 6

Mobile

  • Breakpoint: < 576px
  • Columns: 3