useBreakpoint
Returns true when the viewport is at or above a Tailwind breakpoint.
Installation
Usage
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| bp* | 'sm'|'md'|'lg'|'xl'|'2xl' | required | Tailwind breakpoint to check. |
| returns | boolean | — | True when the viewport is at or above the breakpoint. |