Skip to content

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.

Your page belongs to

Search box

Type a keyword, open the results on Nhat Nguyet in a new tab.

Preview and get code

Term of the day

A spiritual glossary entry with a short definition, rotating every ten minutes.

Preview and get code

Perpetual lunar calendar

Full-month grid, each cell showing the solar and lunar date, with the first and fifteenth of the lunar month marked.

Preview and get code

Today's lunar date

Solar date, lunar date, can chi and solar terms. Updates itself daily, no one needs to touch it.

Preview and get code

Auspicious hours today

A strip of 12 time slots across the day, with the auspicious ones highlighted.

Preview and get code

Lunar date converter

Pick a date, convert it to the lunar calendar with Can Chi, and see that day's auspicious hours right away.

Preview and get code

12 zodiac animals today

A grid of the 12 zodiac signs, each cell showing the relationship already calculated between the day's branch and the branch of the age.

Preview and get code

Countdown to Tết

How many days are left until the first day of Tet. It automatically switches display modes at New Year's Eve and on Tet day.

Preview and get code

Event countdown

Count down to any date you set: a grand opening, a launch, an anniversary.

Preview and get code

Your natal element

Choose a birth year to see your nạp âm five-element destiny along with its color and direction according to traditional conventions.

Preview and get code

House direction check

Buyers viewing a property listing can check on the spot whether the house's direction is compatible with their birth year.

Preview and get code

Lo Ban rule mini

Visitors can check whether a door, bed or altar measurement falls into a good or bad cung.

Preview and get code

Good dates for business

Three auspicious days for opening a business, signing a contract, breaking ground, or setting out in the coming period.

Preview and get code

Lottery results

Latest lottery results for Vietnam's three regions and Vietlott, updated after each daily draw.

Preview and get code

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

  1. Pick one and adjust it to fit your pageEach widget has its own page, where the preview frame is fully live. You can switch between light and dark backgrounds, choose colors, choose sizes, and see the result instantly.
  2. Copy two lines of codeThe code block sits right below the preview and always matches what you just edited. One click and it's copied.
  3. Paste it into your pageOn WordPress, paste it into a Custom HTML block or a Text widget in the sidebar. On Wix, Haravan, or Squarespace, use an HTML embed block. On a hand-coded site, paste it straight where you want it.
  4. Open the page to checkThe widget resizes to fit the width of its container, so this step is usually all it takes. If the space is too narrow, go back and pick a smaller size.

What you can customize

AttributeValueMeaning
data-widgetrequiredWidget code, taken from the embed code block of each widget
data-themelight, dark or autoDefaults to light. auto follows the light or dark setting of the reader's device
data-accent#b5402fAccent color as a 6-character hex value, to match your brand identity
data-langvi, en or zhDefaults to vi
data-layoutgrid or listApplies only to the 12 zodiac animals widget
data-tho1, or leave emptyShows a proverb or folk verse matching the lunar month below the content
data-sizecompact, standard or wideLevel of detail by frame width: compact drops secondary details, wide spreads out. Default is standard
data-ngay-den2027-03-15Target date for the event countdown widget, in year-month-day format. Required for that widget
data-ten-su-kienOpening of branch 2Name shown next to the countdown, up to 60 characters. Required for the event countdown widget
data-huongdong-nam, tay-bac...Lock the house direction for the direction lookup widget, so visitors only need to pick a birth year
data-loaimien-bac, mien-trung, mien-nam, mega-6-45 or power-6-55Tab the lottery results widget opens on. Defaults to Northern Vietnam (mien-bac)
data-kieutab, xoay, tong-hop or bangLayout of the lottery results widget: by type, rotating, summary or full prize table
data-loai-vieckhai_truong, ky_hop_dong, dong_tho or xuat_hanhLock the task type for the auspicious day widget, saving visitors one click
data-countryVN, CN, TW, HK, MO, SG, MY, ID, PH, KR or JPWhose 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

Is it really free, or is there a catch?

Truly free, for personal and company pages alike, with no limit on impressions and no account required. We only ask one thing: keep the small credit line at the bottom of the widget.

Does the widget set cookies or track my readers?

No. The widget does not set cookies, and we only know your domain, which is enough to tell which widgets are still in use. Your Cung mệnh widget does remember the birth year readers just entered, stored on their own device so they don't have to enter it again next time. That stored data stays inside the widget frame; you can't read it and neither can we.

Will it slow down my site?

No. The widget only loads after your page has finished rendering, and it's very light because it doesn't pull in our site's interface or fonts.

Can I change the colors to match my site?

You can change the light/dark background and the accent color, right in the preview frame. The main text color stays fixed so the text is always readable on any site, and the credit line should be left as is.

Where does this lunar calendar come from?

It uses the same source as the lookup tools on Nhat Nguyet, calculated in Vietnam time zone. So some days differ by one day from the Chinese lunar calendar, which is correct for our calendar.

Do I need to do any maintenance?

No. The calendar rolls over to a new day at midnight, the Tet countdown advances to the next year on its own, and the terminology refreshes every ten minutes. You can paste the code once and forget about it.

What if I want to remove it later?

Just delete the two lines of code, and no trace is left on your site.

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.

Read the full terms of use