DEFAULT_DISPLAY_OPTIONS
const
Layout & Sizing
Default configuration object for the useDisplay composable. Sets the mobile breakpoint to lg and the pixel thresholds for the six named breakpoints (xs → xxl) used by the responsive display system.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- mobileBreakpoint: 'lg'
- Viewports narrower than lg (< 1280px) are considered mobile.
- thresholds: { xs: 0, sm: 600, md: 960, lg: 1280, xl: 1920, xxl: 2560 }
Ecosystem
Used by
Composables and components that consume this constant.
useDisplay
BREAKPOINTS_ARRAY
Usage
Examples
Ready-to-paste code snippets using this constant.
Overriding the mobile breakpoint