Showing 1-20 of 129 packages
mock window.matchMedia for tests or node
server side compatible replacement for Window.matchMedia()
mocking window.matchmedia with vitest
window.matchMedia() polyfill for React Native
Like window.matchMedia() but for HTML elements
Simple window.matchMedia React hook
Vue 3 Breakpoints using window.matchMedia and the Composition API
> zero dependencies, ~1kb render prop wrapper of window.matchMedia
Responsive background images using Window.matchMedia() and the Intersection Observer API
ViewportJS is built on top of `window.matchMedia` and provides valuable features that enable more structure when querying and subscribing to media queries.
A react component to render different content on mobile and desktop. Uses window.matchMedia API.
Simple React hook for breakpoints detection with window.matchMedia (SSR friendly)
MobX observable for window.matchMedia
Test utility for mocking `window.matchMedia` in JSDOM environments.
window.matchMedia mock for React Native
Use media query ranges in window.matchMedia
An ember-cli addon that gives you a simple, Ember-aware way of dealing with media queries.
A state container which provides an interface for listening to hover events on child components. The state of this component will only update if the device being used supports hover according to `!(window.matchMedia('(hover: none)').matches)`
Universal polyfill for match media API using Expo APIs on mobile
Simplifies testing of code that uses window.matchMedia