Add WideSutra verse cards, chapter summaries, daily verses, and search to any website with a single line of HTML. No build tools. No dependencies.
Live demo
Drop any of these into your HTML. Customize with data-* attributes.
Show any specific verse with translation badge and copy button.
Auto-refreshes daily. Cached in localStorage for performance.
Chapter summary with verse count and link to full text.
Side-by-side verse comparison with link to compare page.
Redirects to WideSutra search. Great for sidebars.
Smaller layout for sidebars, footers, or tight spaces.
Edit the HTML and see the widget live.
Preview uses live data from WideSutra API
Choose the theme that fits your site. Set once with data-theme.
data-theme="light"
data-theme="dark"
data-theme="sepia"
Three ways to embed — choose what fits your stack.
Global CDN, auto-updates when new versions publish to npm. Fastest option.
Hosted directly by WideSutra. Served from Cloudflare R2 with immutable caching.
Use with Webpack, Vite, Rollup, or any bundler. ESM and UMD formats included.
All data-* attributes supported by WideSutra embed widgets.
| Attribute | Values | Default | Description |
|---|---|---|---|
data-widesutra |
verse, chapter, person, compare, votd, search | required | Widget type to render |
data-ref |
"1:1" | required for verse/chapter | Sutra reference (book chapter:verse) |
data-slug |
"moses", "paul" | required for person | Person slug (person widget only) |
data-a, data-b |
verse refs | required for compare | Two verse refs for comparison |
data-theme |
light, dark, sepia | light | Visual theme |
data-size |
default, compact | default | Widget size variant |
data-translation |
conze, etc. | conze | Translation code |
data-show-original |
true, false | false | Show original language text below verse |
data-placeholder |
any string | "Search Sutra…" | Search box placeholder text |
data-lang |
en, ko, ja, es, … | en | UI language for widget labels |