@comparaonline/ui-breakpoints

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

Usage no npm install needed!

<script type="module">
  import comparaonlineUiBreakpoints from 'https://cdn.skypack.dev/@comparaonline/ui-breakpoints';
</script>

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' }