---
title: Util
source_url:
  html: 'https://shopify.dev/docs/api/shop-minis/hooks/util'
  md: 'https://shopify.dev/docs/api/shop-minis/hooks/util.md'
api_name: shop-minis
---

# Util

[use​Check​Scopes​Consent](https://shopify.dev/docs/api/shop-minis/hooks/util/usecheckscopesconsent)

[Returns the current consent status for scopes declared in your Mini's manifest.](https://shopify.dev/docs/api/shop-minis/hooks/util/usecheckscopesconsent)

[use​Error​Screen](https://shopify.dev/docs/api/shop-minis/hooks/util/useerrorscreen)

[The useErrorScreen hook displays a full-screen blocking error UI.](https://shopify.dev/docs/api/shop-minis/hooks/util/useerrorscreen)

[use​Error​Toast](https://shopify.dev/docs/api/shop-minis/hooks/util/useerrortoast)

[The useErrorToast hook displays a non-blocking error notification.](https://shopify.dev/docs/api/shop-minis/hooks/util/useerrortoast)

[use​Image​Picker](https://shopify.dev/docs/api/shop-minis/hooks/util/useimagepicker)

[The useImagePicker hook provides access to camera and gallery functionality for selecting images.](https://shopify.dev/docs/api/shop-minis/hooks/util/useimagepicker)

[use​Keyboard​Avoiding​View](https://shopify.dev/docs/api/shop-minis/hooks/util/usekeyboardavoidingview)

[The useKeyboardAvoidingView hook automatically adjusts your layout when the on-screen keyboard appears, ensuring focused input fields remain visible.](https://shopify.dev/docs/api/shop-minis/hooks/util/usekeyboardavoidingview)

[use​Request​Permissions](https://shopify.dev/docs/api/shop-minis/hooks/util/userequestpermissions)

[The useRequestPermissions hook provides a function to request native device permissions from the user.](https://shopify.dev/docs/api/shop-minis/hooks/util/userequestpermissions)

[use​Request​Scopes​Consent](https://shopify.dev/docs/api/shop-minis/hooks/util/userequestscopesconsent)

[Returns an object with a scope consent request helper for scopes declared in your Mini's manifest.](https://shopify.dev/docs/api/shop-minis/hooks/util/userequestscopesconsent)

[use​Safe​Area](https://shopify.dev/docs/api/shop-minis/hooks/util/usesafearea)

[Returns the safe area insets for the current device in pixels.](https://shopify.dev/docs/api/shop-minis/hooks/util/usesafearea)

[use​Share](https://shopify.dev/docs/api/shop-minis/hooks/util/useshare)

[The useShare hook provides native sharing functionality through the Shop app's share sheet.](https://shopify.dev/docs/api/shop-minis/hooks/util/useshare)

***
