Embed Widget
Add a live recession sentiment widget to your website with one line of code.Live Preview
Size
Theme
Installation
Add this snippet to your HTML where you want the widget to appear:
<div data-rwindex-widget data-size="medium" data-theme="light"></div>
<script src="https://rwindex.app/widget.js" async></script>Size Options
| Size | Dimensions | Content |
|---|---|---|
| Small | 200 × 80px | Index value only |
| Medium | 300 × 120px | Value + sparkline |
| Large | 400 × 180px | Full: value + sparkline + date |
Customization
data-size—small,medium(default), orlargedata-theme—light(default) ordark
The widget refreshes automatically every 10 minutes. Data updates daily at approximately 08:00 MSK (05:00 UTC).
Attribution
The widget includes a small "Powered by R-Word Index" link. Please keep it visible. If you use the widget, we appreciate a mention or link back to rwindex.app.