Skip to content

Config: UI Page ui-page

Each page will be rendered in a navigation drawer within the UI, and can be accessed via the navigation bar at the top of the page. See Layouts for more information on how layouts work.

Properties

PropDescription
UIThe UI (ui-base) that this page will be added to.
PathExtending the parent UI path, defines where this page renders
IconWhich Material Designs Icon to use for the page. No need to include the mdi- prefix.
ThemeWhich Dashboard 2.0 theme to use for this page. You can customise your own too.
LayoutWhich Layout Manager to render the widgets with
Default State
  • Visibility - Defines the default visibility of this page in hte side navigation menu.
  • Interactivity - Controls whether the item is disabled/enabled in the side navigation menu.

Both of these can be overridden by the user at runtime using a ui-control node.

BreakpointsConfigure the responsive breakpoints for your Dashboard, controlling how many columns render at different screen sizes. Not available for "Fixed" layouts.

Breakpoints

BreakpointsScreenshot showing the default breakpoints configuration

As detailed in the Layouts section of the documentation, most layout types in Dashboard utilise "breakpoints". Each breakpoint defines:

  • A pixel value, i.e. when the breakpoint comes into effect
  • A columns value, i.e. how many columns should be rendered at this breakpoint

The more columns you have, the more groups and widgets you can fit side-by-side in your page. After this, new content will render to a new row.

Note that configurable breakpoints are not available for "Fixed" layouts as that does not use the column approach to rendering groups.

The default breakpoints are:

Mobile

  • Breakpoint: < 576px
  • Columns: 3

Medium

  • Breakpoint: > 576px
  • Columns: 6

Tablet

  • Breakpoint: 768px
  • Columns: 9

Desktop

  • Breakpoint: 1024px
  • Columns: 12