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 param | Host SDK theme field | Values | Default |
|---|---|---|---|
layout | layout | standard or board | Your look's layout, else standard |
card | card | outcomes or binary | Your 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=binarytheme: { 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).