thegeneralyst/AnopaDocs
Global

Market Button

Wraps a designed button that sets a specific market as active when clicked, for building custom region switchers.

Market Button

AP_MarketButton wraps a designed button and re-opens the country selector popup when clicked, optionally clearing the currently active market first. Use it wherever users need to change their region after the initial market selection — a footer change-region link, a nav indicator, or an account settings page. Connect your designed button or link to the slot, and the component handles clearing the market and re-opening the popup without any additional configuration.

Property Controls

ControlTypeDefaultDescription

Button

ComponentInstance

Connect your designed button or link element. Clicking it triggers the market change flow.

Clear Market

Boolean

true

When on, clears the active market before opening the country selector. Disable to open the selector without resetting the current market selection.