Portal Community

Breakpoint Definitions

NameMin WidthMax WidthCSS Media Query
Desktop1200pxunlimited@media (min-width: 1200px)
Tablet768px1199px@media (min-width: 768px) and (max-width: 1199px)
Mobile0px767px@media (max-width: 767px)

How Breakpoints Activate

Breakpoints are evaluated at runtime by the App Studio Layout Engine based on the actual browser viewport width. When the viewport crosses a breakpoint boundary:

  1. The Layout Engine re-evaluates all Pane layouts and widget positions for the new breakpoint
  2. Widgets hidden at the new breakpoint are removed from the DOM
  3. Widgets with breakpoint-specific layout overrides are repositioned
  4. No page reload — layout changes are instant (CSS transitions for smooth resizing)

Breakpoints in Configuration

// TypeScript — BreakpointConfig
type Breakpoint = "desktop" | "tablet" | "mobile";

interface BreakpointConfig {
  desktop: PaneLayoutConfig;   // required — the master
  tablet?: Partial<PaneLayoutConfig>;   // optional override
  mobile?: Partial<PaneLayoutConfig>;   // optional override
}

When to Add Breakpoint Overrides

ScenarioAction
App is admin-only, always used on DesktopNo overrides needed — Desktop layout only
Sidebar navigation on Desktop, bottom nav on MobileAdd Mobile override — hide sidebar widget, show bottom nav widget
3-column KPI cards on Desktop, 1-column on MobileAdd Mobile override — change colSpan of each Metric widget to 12
Complex table on Desktop, simplified list on MobileAdd Mobile override — hide DataGrid, show simplified List widget
Font sizes and padding adjustments for TabletAdd Tablet override — adjust pane padding and gap
Breakpoints Match Tailwind

App Studio's breakpoints intentionally match Tailwind CSS's md (768px) and xl (1200px) breakpoints. If your team uses Tailwind for other projects, the mental model is consistent — Tablet roughly corresponds to mdxl and Desktop is xl+.