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

# Hooks

***

## Content

[use​Create​Image​Content](https://shopify.dev/docs/api/shop-minis/hooks/content/usecreateimagecontent)

[The useCreateImageContent hook combines image upload with content creation to generate user-generated content entries.](https://shopify.dev/docs/api/shop-minis/hooks/content/usecreateimagecontent)

***

## Intents

[use​Intent](https://shopify.dev/docs/api/shop-minis/hooks/intents/useintent)

[Parses an intent passed to the Mini via deeplink, following the Shopify Intents API URI format (action:type,value).](https://shopify.dev/docs/api/shop-minis/hooks/intents/useintent)

***

## Navigation

[use​Close​Mini](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/useclosemini)

[Closes the Mini and returns the user to the Shop app.](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/useclosemini)

[use​Deeplink](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/usedeeplink)

[Retrieves the deeplink URL that launched the Mini, enabling external links to open specific screens with context.](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/usedeeplink)

[use​Navigate​With​Transition](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/usenavigatewithtransition)

[The useNavigateWithTransition hook provides programmatic navigation with smooth view transitions support.](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/usenavigatewithtransition)

[use​Shop​Navigation](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/useshopnavigation)

[Navigates to native Shop app screens (product details, shop profiles, orders, checkout, cart) while maintaining the Mini in the navigation stack.](https://shopify.dev/docs/api/shop-minis/hooks/hooks-navigation/useshopnavigation)

***

## Product

[use​Popular​Products](https://shopify.dev/docs/api/shop-minis/hooks/product/usepopularproducts)

[The usePopularProducts hook fetches popular products from the catalog.](https://shopify.dev/docs/api/shop-minis/hooks/product/usepopularproducts)

[use​Product](https://shopify.dev/docs/api/shop-minis/hooks/product/useproduct)

[The useProduct hook fetches a single product by its ID.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproduct)

[use​Product​List](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductlist)

[The useProductList hook fetches a single product collection by its ID.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductlist)

[use​Product​List​Actions](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductlistactions)

[The useProductListActions hook provides mutation functions for managing product collections.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductlistactions)

[use​Product​Lists](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductlists)

[The useProductLists hook fetches all product collections that the user has created.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductlists)

[use​Product​Media](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductmedia)

[The useProductMedia hook fetches media items (images, videos, etc.) for a specific product.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductmedia)

[use​Products](https://shopify.dev/docs/api/shop-minis/hooks/product/useproducts)

[The useProducts hook efficiently fetches multiple products in a single batched request.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproducts)

[use​Product​Search](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductsearch)

[The useProductSearch hook fetches products based on a search query.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductsearch)

[use​Product​Variants](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductvariants)

[The useProductVariants hook fetches product variants for a specific product.](https://shopify.dev/docs/api/shop-minis/hooks/product/useproductvariants)

[use​Recommended​Products](https://shopify.dev/docs/api/shop-minis/hooks/product/userecommendedproducts)

[The useRecommendedProducts hook fetches personalized product recommendations based on the user's shopping behavior, purchase history, and preferences in the Shop app.](https://shopify.dev/docs/api/shop-minis/hooks/product/userecommendedproducts)

***

## Shop

[use​Recommended​Shops](https://shopify.dev/docs/api/shop-minis/hooks/shop/userecommendedshops)

[The useRecommendedShops hook fetches personalized shop recommendations based on the user's purchase patterns, followed shops, and product interests in the Shop app.](https://shopify.dev/docs/api/shop-minis/hooks/shop/userecommendedshops)

[use​Shop](https://shopify.dev/docs/api/shop-minis/hooks/shop/useshop)

[The useShop hook enables fetching a shop by its ID.](https://shopify.dev/docs/api/shop-minis/hooks/shop/useshop)

***

## Storage

[use​Async​Storage](https://shopify.dev/docs/api/shop-minis/hooks/storage/useasyncstorage)

[The useAsyncStorage hook provides functions to interact with persistent storage for non-sensitive data.](https://shopify.dev/docs/api/shop-minis/hooks/storage/useasyncstorage)

[use​Image​Upload](https://shopify.dev/docs/api/shop-minis/hooks/storage/useimageupload)

[The useImageUpload hook provides image upload functionality, handling the complete upload pipeline.](https://shopify.dev/docs/api/shop-minis/hooks/storage/useimageupload)

[use​Secure​Storage](https://shopify.dev/docs/api/shop-minis/hooks/storage/usesecurestorage)

[The useSecureStorage hook provides functions to interact with secure storage for sensitive data.](https://shopify.dev/docs/api/shop-minis/hooks/storage/usesecurestorage)

***

## User

[use​Buyer​Attributes](https://shopify.dev/docs/api/shop-minis/hooks/user/usebuyerattributes)

[The useBuyerAttributes hook fetches shopping preference signals for personalization.](https://shopify.dev/docs/api/shop-minis/hooks/user/usebuyerattributes)

[use​Current​User](https://shopify.dev/docs/api/shop-minis/hooks/user/usecurrentuser)

[The useCurrentUser hook fetches the Shop app user's profile information including display name and avatar image URL.](https://shopify.dev/docs/api/shop-minis/hooks/user/usecurrentuser)

[use​Followed​Shops](https://shopify.dev/docs/api/shop-minis/hooks/user/usefollowedshops)

[The useFollowedShops hook fetches the collection of shops the user follows in the Shop app.](https://shopify.dev/docs/api/shop-minis/hooks/user/usefollowedshops)

[use​Followed​Shops​Actions](https://shopify.dev/docs/api/shop-minis/hooks/user/usefollowedshopsactions)

[The useFollowedShopsActions hook provides mutation functions to follow and unfollow shops.](https://shopify.dev/docs/api/shop-minis/hooks/user/usefollowedshopsactions)

[use​Generate​User​Token](https://shopify.dev/docs/api/shop-minis/hooks/user/usegenerateusertoken)

[The useGenerateUserToken hook generates a temporary token for authenticating the current user with your backend.](https://shopify.dev/docs/api/shop-minis/hooks/user/usegenerateusertoken)

[use​Orders](https://shopify.dev/docs/api/shop-minis/hooks/user/useorders)

[The useOrders hook fetches the user's recent order history from all Shop stores, sorted by most recent first.](https://shopify.dev/docs/api/shop-minis/hooks/user/useorders)

[use​Recent​Products](https://shopify.dev/docs/api/shop-minis/hooks/user/userecentproducts)

[The useRecentProducts hook fetches products the user recently viewed in the Shop app, ordered by recency.](https://shopify.dev/docs/api/shop-minis/hooks/user/userecentproducts)

[use​Recent​Shops](https://shopify.dev/docs/api/shop-minis/hooks/user/userecentshops)

[The useRecentShops hook fetches shops the user recently interacted with in the Shop app, ordered by recency.](https://shopify.dev/docs/api/shop-minis/hooks/user/userecentshops)

[use​Saved​Products](https://shopify.dev/docs/api/shop-minis/hooks/user/usesavedproducts)

[The useSavedProducts hook fetches the current user's saved products.](https://shopify.dev/docs/api/shop-minis/hooks/user/usesavedproducts)

[use​Saved​Products​Actions](https://shopify.dev/docs/api/shop-minis/hooks/user/usesavedproductsactions)

[The useSavedProductsActions hook provides mutation functions to save and unsave products (favorites).](https://shopify.dev/docs/api/shop-minis/hooks/user/usesavedproductsactions)

***

## Util

[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​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)

***
