streamich

streamich/use-media

useMedia React hook to track CSS media query state

TypeScript
523
25
The Unlicense

The `use-media` library provides React hooks for tracking CSS media query state in functional components, offering both `useMedia` and `useMediaLayout` hooks that accept either media query strings or feature objects. It's designed for React developers who need to respond to viewport changes or user preferences (like reduced motion) in their components, with built-in support for testing and context-based state management.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

renovate-bot's profile
renovate-bot
134 contributions
renovate[bot]'s profile
renovate[bot]
131 contributions
streamich's profile
streamich
30 contributions
beefchimi's profile
beefchimi
7 contributions
semantic-release-bot's profile
semantic-release-bot
7 contributions
dependabot[bot]'s profile
dependabot[bot]
7 contributions
jacobrask's profile
jacobrask
5 contributions
BrianMitchL's profile
BrianMitchL
3 contributions
ahmad-reza619's profile
ahmad-reza619
1 contributions
bradwestfall's profile
bradwestfall
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet