Skip to content

Responsiveness

Breakpoint Minimum Width
xs (default)
sm 576px
md 768px
lg 992px
xl 1200px
2xl 1600px

xs is the default, not a step you target: unqualified styles apply from the smallest screens up, so there is no --tng-breakpoint-xs and no media query to write for it.

Build mobile-first from sm — author your base (no-media-query) styles for the smallest screens (xs), then layer the larger breakpoints on top with min-width queries. In component work you rarely target xs directly.

You can use these breakpoints in your CSS using media queries:

@media (min-width: 768px) {
/* Styles for medium screens and above */
}

Some of our styleguide is responsive out-of-the-box.