Scan your whole stack
Are you using use-react-breakpoint?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.3.0
use-react-breakpoint was last scanned on 23 Nov 2026 at version 2.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.3.0 LATEST | 23 Nov 2026 | No rules fired |
Findings for v2.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.3.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Package that allows to easily work app breakpoints It provides couple of hooks to work with breakpoints
Hook returns proxy-object that returns boolean when accessed by key. true - means breakpoint "fits".
Example:
import { useBreakpointChecker } from 'use-react-breakpoint';
const checker = useBreakpointChecker();
const isXl = checker.xl;
const isMobile = !checker.sm;
hook that accepts breakpoint name and returns fits or smaller
import { useBreakpoint } from 'use-react-breakpoint';
const showMenu = useBreakpoint('md') === 'fits';
const showMobileMenu = useBreakpoint('md') === 'smaller';
Same as useBreakpoint, but returns true if your screen size is greater of equal to breakpoint size
import { useBreakpointFits } from 'use-react-breakpoint';
const showMenu = useBreakpointFits('md');
const showMobileMenu = !useBreakpointFits('md');
Just a simple hook that returns current screen breakpoint
import { useCurrentBreakpoint } from 'use-react-breakpoint';
const breakpoint = useCurrentBreakpoint(); // 'md', 'lg', 'xl', etc.
Exposing some of the useful utils you might need
export const defaultBreakpointsMap: BreakpointsMapType = {
xs: 0,
sm: 640,
md: 768,
lg: 1024,
xl: 1280,
'2xl': 1536,
'3xl': 1920,
'4xl': 2560,
};
Utility that return fits or smaller
First param comparator, second param - comparable. So result defines if 2nd parameter is bigger or smaller than 1st
compareBreakpoints('lg', 'md') === 'smaller';
You can override defaultBreakpointsMap with anything else all hooks and utils accept it as last param
import { defaultBreakpointsMap as defMap } from 'use-react-breakpoint';
const showMenu = useBreakpoint('md', { ...defMap, '5xl': 3400 }) === 'fits';
const isHugeScreen = useBreakpointFits('5xl', { ...defMap, '5xl': 3400 });
const current = useCurrentBreakpoint({ ...defMap, '5xl': 3400 });
const compare = compareBreakpoints('5xl', 'md', { ...defMap, '5xl': 3400 }); Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.