The Device Info API tells you what class of device the site visitor is using, such as a smartphone or a tablet, and whether they've asked their system to minimize motion. Use it to adapt a component's behavior to the site visitor's device, and to skip animations and autoplaying video for site visitors who prefer reduced motion.
With the Device Info API, you can:
It's important to note the following points before starting to code:
To use the API, install the @wix/site-service-device-info package:
Import any type shown in these docs from @wix/site-service-device-info/types:
In a React component, resolve the service with the useService hook:
Last updated: 13 October 2026