TwitchChat is a Web Component for embedding a Twitch Chat onto any web site with just 2 lines of HTML.
Check out a demo here
npm install twitch-chat-embed
<script type="module" src="https://unpkg.com/twitch-chat-embed"></script>
import "twitch-chat-embed";
<twitch-chat></twitch-chat>
<script type="module" src="https://unpkg.com/twitch-chat-embed"></script>
<twitch-chat channel="ESL_SC2"></twitch-chat>
Name | Type | Options |
---|---|---|
Channel | String | Any channel name on Twitch.tv |
Width | String/Number | Percentage or a Number |
Height | String/Number | Percentage or a Number |