mirror of
https://github.com/status-im/status-chat-widget.git
synced 2025-02-23 09:48:18 +00:00
857 B
857 B
Status Chat Widget
Easily embed a status chat in your website.
Screenshot
Usage
Copy paste the following snippet to your website
<link rel="stylesheet" href="https://status-im.github.io/status-chat-widget/themes/status.css">
<script src="https://status-im.github.io/status-chat-widget/dist/js/statuswidget.js"></script>
<div id="status-chat-widget"></div>
<script>StatusWidget("your-channel-name", document.getElementById("status-chat-widget"));</script>
Modify your-channel-name
to your channel of choice
And you're done!
Theme
The chat theme can be customized by replacing the css link with your own css file:
<link rel="stylesheet" href="https://status-im.github.io/status-chat-widget/themes/status.css">