BREAKPOINTS
enum
Layout & Sizing
TypeScript enum for responsive breakpoint tiers used in the grid system (xs, sm, md, lg, xl, xxl).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- BREAKPOINTS.XS
- Extra small — targets viewports below the sm threshold.
- BREAKPOINTS.SM
- Small — targets small viewports (typically >= 600px).
- BREAKPOINTS.MD
- Medium — targets medium viewports (typically >= 960px).
- BREAKPOINTS.LG
- Large — targets large viewports (typically >= 1280px).
- BREAKPOINTS.XL
- Extra large — targets extra-large viewports (typically >= 1920px).
- BREAKPOINTS.XXL
- Double extra large — targets the widest viewports (typically >= 2560px).
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup