@comparaonline/ui-breakpoints

Define the breakpoints, for more information see (@comparaonline/ui-grid)[https://github.com/comparaonline/ui-grid]

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@comparaonline/ui-breakpoints
Minified + gzip package size for @comparaonline/ui-breakpoints in KB

Readme

@comparaonline/ui-breakpoints

Define the breakpoints, for more information see (@comparaonline/ui-grid)[https://github.com/comparaonline/ui-grid]

Installation

yarn add @comparaonline/ui-breakpoints

Usage

import breakpoints from '@comparaonline/ui-breakpoints';

breakpoints.keys;   // ['xsmall', 'small', 'medium', 'large', 'xlarge', 'xxlarge']
breakpoints.values; // { xsmall: '0px', small: '480px', medium: '600px', large: '840px', xlarge: '960px', xxlarge: '1280px' }

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.