Skip to content
Functiondiscord-component-embedv1.1.1

LinkButton

A button that opens a URL. Discord allows only link buttons in a component embed.

LinkButton(_props: LinkButtonProps): null
<LinkButton url="https://seedcord.org/guide" label="Guide" emoji={{ name: '📖' }} />
// a custom emoji takes its id. add animated: true for a gif
<LinkButton url="https://seedcord.org" label="seedcord" emoji={{ name: 'seedcord', id: '1538077321318236281' }} />