Skip to main content

Breakpoints

    Breakpoints are used to adjust the layout and appearance of elements in the interface based on different screen sizes.

    import Breakpoints from '@dynatrace/strato-design-tokens/breakpoints';
    SampleToken NameValueDescription
    Breakpoints.Max.Mobile640px

    Use with @media max-width to apply styles to mobile-sized screens.

    Breakpoints.Min.Tablet641px

    Use this with @media min-width, to apply styles to tablet and wider screen sizes.

    Breakpoints.Max.Tablet960px

    Use with @media max-width to apply styles to tablets and smaller screens.

    Breakpoints.Min.Desktop961px

    Use this with @media min-width, to apply styles to desktop and wider screen sizes.

    Breakpoints.Max.Desktop1920px

    Use with @media max-width to apply styles to desktops and smaller screens.

    Breakpoints.Min.Widescreen1921px

    Use this with @media min-width, to apply styles to widescreen desktop and wider screen sizes.

    Still have questions?
    Find answers in the Dynatrace Community