Phoenix Prediction Docs

Layout and Cards

Override your look's feed layout and card style for one page

The shape of the feed is set once in your look: a Layout (Standard or Board) and a Card style (Outcomes or Binary). The parameters below override them for one page. Leave them out and the embed uses your look's choice, or Standard with Outcomes if you have not saved a look.

URL paramHost SDK theme fieldValuesDefault
layoutlayoutstandard or boardYour look's layout, else standard
cardcardoutcomes or binaryYour look's card style, else outcomes

Any other value is ignored. See Your Look for what each choice looks like.

?token=JWT&layout=board&card=binary
theme: { layout: 'board', card: 'binary' }

Like every theme field, they can change while the embed is open: embed.setTheme({ layout: 'standard' }) (see Changing the Look at Runtime).