thegeneralyst/AnopaDocs
Global

Popup Controls

Exit intent and email capture popup with dual modes, canvas preview, scroll lock, and SPA-safe ownership keys.

Popup Controls (Modal)

MarketingPopup is a multi-mode overlay controller that renders your designed popup as a portal over the page. Four modes cover the main marketing use cases. Email Capture shows automatically after a configurable delay, with a cookie that prevents repeat displays across sessions. Exit Intent fires when the user’s cursor moves toward the top of the browser, with adjustable sensitivity. Country shows on first visit when no market is set and dismisses itself the moment a market is selected. Wishlist shows as a toast notification whenever a product is added to favourites and auto-dismisses after a configurable delay. Each mode has its own trigger settings, animation, and remembers its shown state independently. A backdrop, positioning, and optional mobile design slot are also configurable. The component is SPA-safe — per-mode ownership keys prevent multiple instances of the same mode from fighting each other across page navigations in Framer.

Property Controls

ControlTypeDefaultDescription

Mode

Enum

emailCapture

The popup behaviour mode. Email Capture = timed auto-show. Exit Intent = fires on cursor exit. Country = shows until a market is selected. Wishlist = toast on favourite.

Desktop Design

ComponentInstance

Your popup design for desktop. Connect any Framer component. For Country mode, place AP_MarketSelector inside.

Mobile Design

ComponentInstance

Optional separate design shown on mobile when Enable Mobile Slot is on.

Preview in Canvas

Boolean

false

When on, renders the popup in the Framer canvas so you can see and style it in context.

Lock Page Scroll

Boolean

true

Prevents the page from scrolling while the popup is open. Always off for Wishlist toast mode.

Mobile

Object

Enable Mobile Slot toggle and Breakpoint (px) at which the Mobile Design swaps in.

Trigger (Email Capture)

Object

Auto-show delay (3s–30s), Show Once toggle, and Remember For duration in days. Only shown in Email Capture mode.

Animate In (Email Capture)

Enum

slideUp

Entry animation for Email Capture mode. Options: Fade, Slide Up, Slide Down, Scale.

Trigger (Exit Intent)

Object

Sensitivity (Low/Medium/High), Disable on Mobile toggle, Show Once toggle, and Remember For duration. Only shown in Exit Intent mode.

Animate In (Exit Intent)

Enum

scale

Entry animation for Exit Intent mode. Options: Fade, Slide Up, Scale.

Country Options

Object

Allow Skip toggle, Skip Label text, and Remember For duration in days. Only shown in Country mode.

Animate In (Country)

Enum

scale

Entry animation for Country mode. Options: Fade, Slide Up, Slide Down, Scale.

Wishlist Options

Object

Auto Dismiss toggle and Dismiss After duration in ms. Only shown in Wishlist mode.

Animate In (Wishlist)

Enum

slideLeft

Entry animation for Wishlist toast. Options: Fade, Slide Up, Slide Down, Slide Left, Scale.

Sizing

Object

Width mode (None / Relative % / Max Width px) and Height mode (Fit / Screen).

Position

Object

Horizontal and vertical alignment of the popup within the overlay, plus padding on each side.

Backdrop

Object

Show Backdrop toggle, backdrop color, blur toggle, and Click to Dismiss toggle. Hidden in Wishlist mode.