UseMedia

A hook to track the size of the screen using the standard Tailwind CSS breakpoints.

Installation

Usage

Custom Breakpoints

You can also define your own breakpoints and get full type safety.