A magic helper to detect if the current browser width is equal or greater than a given breakpoint in Alpine.Js.
npm install @alpine-collective/toolkit-screen

A magic helper to detect if the current browser width is equal or greater than a given breakpoint in Alpine.Js.
Include the following tag in the of your document, before Alpine:
``html``
orhtml`
If you would like to bundle the plugin yourself, install it via NPM:
`bash`
npm install @alpine-collective/toolkit-screen --save-dev
You can then register the plugin with Alpine:
`js
import Alpine from 'alpinejs'
import Screen from '@alpine-collective/toolkit-screen'
Alpine.plugin(Screen)
Alpine.start()
``