React Discord Embed Components
DiscordEmbedBuilder
Use a convenient form for building discord embeds that be input into Discord.js or sent to a standard discord webhook.
Props
Name | Type |
---|---|
embedData | EmbedData |
DiscordEmbedPreview
Preview a discord embed in the browser.
Props
Name | Type |
---|---|
embedData | EmbedData |
setEmbedData | useState set function |
Tips
Initial State
You can create an empty object with the EmbedData type to get your initial embedData prop.
const [embedData, setEmbedData] = useState<EmbedData>({});
Example Project
View an example project here!