Skip to content
EliteChart

BREAKPOINTS

Documentation


Documentation / @elitechart/core / BREAKPOINTS

code
const BREAKPOINTS: {
  lg: 1024;
  md: 768;
  sm: 640;
  xl: 1280;
  xs: 0;
  xxl: 1536;
};

Defined in: theme/responsive.ts:15

Responsive breakpoints (min-width, inclusive). Matches the theme-tokens.md skill so design + code share one breakpoint table.

Type Declaration

lg

code
readonly lg: 1024 = 1024;

md

code
readonly md: 768 = 768;

sm

code
readonly sm: 640 = 640;

xl

code
readonly xl: 1280 = 1280;

xs

code
readonly xs: 0 = 0;

xxl

code
readonly xxl: 1536 = 1536;

Example

code
import { BREAKPOINTS } from '@elitechart/core';
console.log(BREAKPOINTS.md); // 768