Skip to content

A React component to invite users to a Discord server with an interactive widget.

Notifications You must be signed in to change notification settings

JoshMerlino/react-discord-invite

Repository files navigation

react-discord-invite

npm install -D react-discord-invite
import DiscordInvite from "react-discord-invite";
import "react-discord-invite/dist/style.css";
<DiscordInvite palette="light" guild="708050277957238784"/>
<DiscordInvite palette="dark" guild="4FBnfPA"/>
<DiscordInvite guild="4FBnfPA"/>

Props

Prop Default Type Description
palette "dark" "light" | "dark" Sets the color scheme of the component.
guild required String Sets the ID or invite code of the guild.

About

A React component to invite users to a Discord server with an interactive widget.

Resources

Stars

Watchers

Forks