@ehsaneha/react-media-query

A custom React hook that returns the current responsive breakpoint index or evaluates media query rules based on the window's width.