Z
Zyeon UI

useMediaQuery · Zyeon UI

An SSR-safe hook that subscribes to a CSS media query and returns whether it currently matches.

npx shadcn@latest add @zyeon/use-media-query
Preview useMediaQuery on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useMediaQuery hasn't had its turn. Its source will show here once it has.