

Every state


default


focus


saved


popup


no-end-date


no-code
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| productId | string | "hollin-desk-lamp" | Names the item in the storage key, so each item gets its own reminder. |
| productName | string | "Hollin desk lamp" | Named in the popup's title and button. |
| code | string | null | "WELCOME-BACK-15" | The code the popup hands out. Null: the popup never shows, only the button works. |
| percentOff | number | null | 15 | Shown in the title. Null: the title says "A code for ...". |
| until | string | null | "5 December" | End date label after "until". Null: no end date is named. |
| delayHours | number | 8 | Hours after saving before the popup may show. |
| quietDays | number | 30 | After it showed once, it stays away this many days. |
| offerHref | string | "/checkout" | Where the popup's main button goes. |
| saveLabel | string | "Not today? Save it for later" | Button text while not saved. |
| savedLabel | string | "Saved for later" | Button text while saved (followed by "Undo"). |
| savedNote | string | null | "Kept in this browser only. Nothing is sent to us." | Line under the button while saved. Null: no line. |
| eyebrow | string | "Welcome back" | Small line above the popup title. |
| bought | boolean | false | The visitor already bought it: the popup stays away. |
| previewOpen | boolean | false | Open the popup at once, in the flow under the button instead of the corner, for previews and admin screens. Nothing is stored. |
| className | string | – | Extra classes on the wrapper. |
More commerce parts
All 19commerce-19 is in UI ProGet UI Pro, €199


