Banner
A horizontal treatment for the top of homepages, article hubs, and editorial sections.
Add a hosted Thirukkural widget to any website with random, daily, or fixed Kural modes, flexible layouts, and a lightweight iframe delivery model that stays isolated from the host site.
These previews are rendered by the exact public widget frame used in external embeds. Refresh the page to see different random Kurals across each layout.
A horizontal treatment for the top of homepages, article hubs, and editorial sections.
A moving strip for top bars, footer bars, and announcement-style placements.
A rich bilingual card for blogs, landing pages, and feature modules.
A square card for grid layouts, side modules, and visual homepages.
A tighter layout for article rails, footers, and newsletter landing pages.
A low-profile quote block for dense interfaces that still needs a clear source link.
This is the default integration. It renders a random Kural in the spotlight layout with bilingual content.
<script
src="https://thirukkural.site/widgets/daily-kural.js"
data-mode="random"
data-layout="spotlight"
data-language="bilingual"
></script>Choose a preset that fits your site, then fine-tune the options below.
Best default: random Kural on load, bilingual content, full presentation.
<script
src="https://thirukkural.site/widgets/daily-kural.js"
data-mode="random"
data-layout="spotlight"
data-language="bilingual"
></script>A compact English-only widget for article sidebars or newsletters.
<script
src="https://thirukkural.site/widgets/daily-kural.js"
data-mode="random"
data-layout="compact"
data-language="english"
data-meaning="explanation"
data-accent="#0f766e"
data-show-tags="false"
></script>A horizontal layout designed for the top of a homepage, article hub, or magazine front page.
<script
src="https://thirukkural.site/widgets/daily-kural.js"
data-mode="random"
data-layout="banner"
data-language="bilingual"
data-max-width="100%"
data-align="center"
></script>A moving caption-style embed for the top or bottom of content-heavy websites.
<script
src="https://thirukkural.site/widgets/daily-kural.js"
data-mode="random"
data-layout="ticker"
data-language="bilingual"
data-speed="normal"
data-scroll-direction="rtl"
data-max-width="100%"
></script>A square treatment for grid systems, side modules, or portfolio-style homepages.
<script
src="https://thirukkural.site/widgets/daily-kural.js"
data-mode="random"
data-layout="square"
data-language="english"
data-meaning="explanation"
data-max-width="340px"
data-show-tags="false"
></script>Pin a specific Kural for a story, essay, or campaign page.
<script
src="https://thirukkural.site/widgets/daily-kural.js"
data-mode="fixed"
data-kural="1078"
data-layout="spotlight"
data-language="bilingual"
data-cta-text="Read the full Kural"
></script>If you need to mount the widget into a specific host element after loading the script, use the public JavaScript API.
<script src="https://thirukkural.site/widgets/daily-kural.js"></script>
<div id="kural-slot"></div>
<script>
window.ThirukkuralWidget.mount('#kural-slot', {
mode: 'random',
layout: 'ticker',
language: 'english',
meaning: 'explanation',
accent: '#0f766e',
speed: 'slow',
scrollDirection: 'ltr'
});
</script>The widget is configurable through `data-*` attributes or the JS API options object.
Controls how the widget chooses a Kural. `random` is the default.
Changes the widget shape so it can fit top-of-page banners, moving tickers, square cards, blog rails, or compact embeds.
Controls whether Tamil, English, or both are rendered.
Chooses which English meaning field is shown when English content is enabled.
Sets the widget accent color.
Controls ticker motion speed and whether the marquee runs right-to-left or left-to-right.
Pauses the ticker when hovered. Reduced-motion users always get a static ticker regardless of this value.
Controls typography alignment inside the widget.
Lets integrators simplify the card for tighter placements.
Shows a "Show another" button in random mode.
Adjusts presentation details without requiring host-site CSS overrides.
Helps reserve space, control the final shape, and avoid layout shift.
These are the standards this widget now follows and the rules integrators should keep in mind.