useResponsiveValue

Gets the value of an object with values mapped to viewport size.

This hook is used for objects that have values mapped to viewport size.

Example

Resize the browser window to see the button label change.

API

Loading data for useResponsiveValue...