Free widgets for your website
Lunar calendar, auspicious hours, good days, and the 12 zodiac horoscopes. Paste one line of code and your page gets a small box that updates itself every day, with nothing more for you to touch.
Genuinely free, no account needed, no cookies, and no tracking of your readers.
Pick a widget for your page
Each frame below is a live widget, not a screenshot. Click one to see it in full, change the color, pick a size, and grab the code. Not sure which to choose? Tell us what your site is about and the three best fits will move to the top.
Each widget has its own GitHub repo: docs in Vietnamese and English, terms of use, and an example page you can open straight in a browser and run. See them all at github.com/Nhat-Nguyet.
Want widgets that run on your own page, without an iframe? Five open source web components (today, month grid, auspicious hours, Tết countdown, converter) are documented with previews in the repository's widgets folder.
Pasting it on your page takes about two minutes
What you can customize
| Attribute | Value | Meaning |
|---|---|---|
| data-widget | required | Widget code, taken from the embed code block of each widget |
| data-theme | light, dark or auto | Defaults to light. auto follows the light or dark setting of the reader's device |
| data-accent | #b5402f | Accent color as a 6-character hex value, to match your brand identity |
| data-lang | vi, en or zh | Defaults to vi |
| data-layout | grid or list | Applies only to the 12 zodiac animals widget |
| data-tho | 1, or leave empty | Shows a proverb or folk verse matching the lunar month below the content |
| data-size | compact, standard or wide | Level of detail by frame width: compact drops secondary details, wide spreads out. Default is standard |
| data-ngay-den | 2027-03-15 | Target date for the event countdown widget, in year-month-day format. Required for that widget |
| data-ten-su-kien | Opening of branch 2 | Name shown next to the countdown, up to 60 characters. Required for the event countdown widget |
| data-huong | dong-nam, tay-bac... | Lock the house direction for the direction lookup widget, so visitors only need to pick a birth year |
| data-loai | mien-bac, mien-trung, mien-nam, mega-6-45 or power-6-55 | Tab the lottery results widget opens on. Defaults to Northern Vietnam (mien-bac) |
| data-kieu | tab, xoay, tong-hop or bang | Layout of the lottery results widget: by type, rotating, summary or full prize table |
| data-loai-viec | khai_truong, ky_hop_dong, dong_tho or xuat_hanh | Lock the task type for the auspicious day widget, saving visitors one click |
| data-country | VN, CN, TW, HK, MO, SG, MY, ID, PH, KR or JP | Whose lunar calendar to use. Defaults to VN (UTC+7); China and Chinese communities use UTC+8, Korea and Japan UTC+9, so in some years the lunar date and New Year differ from Vietnam's. Applies to the six calendar widgets: today, month, auspicious hours, Tết countdown, converter, 12 zodiac animals |
You might be wondering
A few things to note first
- Free to use on personal and company pages, with unlimited impressions.
- Please keep the credit line at the bottom of the widget. That is the only thing we get back.
- Please do not embed on gambling, adult content, scam, or anything illegal under Vietnamese law.
- The content inside is folk knowledge and cultural convention, meant for fun and understanding, not advice for important matters.
