Skip to main content
Use this hook when you need to control the login modal programmatically. It’s useful for protected actions that require authentication, like adding items to a wishlist or accessing account-specific features.

Import

Return Value

OpenLoginOptions

Usage

Example

A favorites button that prompts the user to log in before adding an item to their wishlist.