CodeBrowser / npm / @heroui/use-is-mobile
@heroui/use-is-mobile@2.2.12
// A hook that returns whether the device is mobile or not
$ npm install @heroui/use-is-mobile
downloads/wk
256,001
license
MIT
version
2.2.12
published
Jul 29, 2025
What is @heroui/use-is-mobile?
A React hook that detects whether the user's device is mobile or desktop. Developers use this to conditionally render different UI components or layouts based on device type, enabling responsive behavior without relying solely on CSS media queries.
Keywords
#use-is-mobile
Dependencies (1)
Maintainers
juniorgarciadev