Skip to content

Ambassador

Ambassador(props): Element

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/Ambassador.tsx:257

Full-page ambassador: hero, reward, explainer, win-win, referral, store, FAQ; isHidden alone suppresses it. Theme it with the twenty-two --frak-amb-* properties, which outrank the sampled host theme; classes are best-effort.

string

Override the attribution text before the frak.id anchor.

string

Override the attribution anchor’s text.

string

CSS class names passed through to the root element (Light DOM).

string

Override the explainer lede under the heading.

string

Override the explainer region heading. Use {BRAND} for the merchant name.

string

Override the first FAQ answer.

string

Override the first FAQ question.

string

Override the second FAQ answer.

string

Override the second FAQ question.

string

Override the third FAQ answer; used only when the campaign rewards the friend.

string

Override the third FAQ question.

string

Override the fourth FAQ answer.

string

Override the fourth FAQ question.

string

Override the fifth FAQ answer text after the frak.id anchor.

string

Override the fifth FAQ answer text before the frak.id anchor.

string

Override the frak.id anchor’s text inside the fifth FAQ answer.

string

Override the fifth FAQ question.

string

Override the FAQ region heading.

string

Override the hero call-to-action label.

string

Override the hero eyebrow above the headline.

string

Override the hero faces caption under the hero CTA.

string

Override the hero image’s alt text. Use {BRAND} for the merchant name.

string

Hero photo, shown in a 4:5 frame; without one the frame collapses around the reward card.

string

Override the hero lede paragraph. Use {BRAND} for the merchant name.

string

Override the hero reward-tag caption next to the amount.

string

Override the hero referee pill; rendered only when a referee reward resolves.

string

Override the hero headline. {REWARD} marks the amount; an override using it gives way to the default headline while no fixed amount resolves.

string

Override the merchant ID resolved from the SDK config. The store badges’ install URL is built from it.

string

Override the claim button label. {REWARD} marks the pending amount.

string

Override the eyebrow of the “Your rewards” section shown to a visitor with an unclaimed reward.

string

Override the heading of the section shown to a linked visitor. Use {BRAND} for the merchant name.

string

Override the share button label shown to a linked visitor.

string

Override the share button label under the claim button.

string

Override the label of the button opening the Frak wallet, shown to a linked visitor.

string

Override the referral block’s share-button label.

string

Override the referral block heading.

string

Override the referral block’s share sentence.

string

Override the reward region call-to-action label.

string

Override the estimate caption under the reward heading.

string

Override the reward region eyebrow.

string

Override the amount wording shown when no reward resolves.

string

Override the free/no-commitment caption under the reward CTA.

string

Override the reward heading; {REWARD} marks the amount, as for heroTitle.

string

Override the reward region lede.

string

Override the no-bank-details clause appended to the reward footer caption.

string

Override the first step’s description.

string

Override the first step image’s alt text. Defaults to the step title.

string

Override the first step’s image URL. Falls back to the step number.

string

Override the first step’s title (rendered as an h3).

string

Override the second step’s description; used only when the campaign rewards the friend.

string

Override the second step image’s alt text. Defaults to the step title.

string

Override the second step’s image URL. Falls back to the step number.

string

Override the second step’s title (rendered as an h3).

string

Override the third step’s description.

string

Override the third step image’s alt text. Defaults to the step title.

string

Override the third step’s image URL. Falls back to the step number.

string

Override the third step’s title (rendered as an h3).

string

Override the App Store badge’s accessible name.

string

Override the store block heading. While a reward waits to be claimed it defaults to “Claim your {REWARD} in the app”; the block is hidden for linked visitors.

string

Override the store block lede under the heading.

string

Override the Google Play badge’s accessible name.

string

Override the store QR code’s visible caption.

string

Override the store QR code’s accessible name.

string

Override the referrer card’s description.

string

Override the referrer card’s label in the win-win region.

string

Override the friend card’s description.

string

Override the friend card’s label in the win-win region.

string

Override the win-win region heading.

string

Override the win-win region lede. Use {BRAND} for the merchant name.

Element

`<frak-ambassador></frak-ambassador>`