Skip to content

Search box

A compact search box that lets readers look directly into Nhat Nguyet's knowledge base. Suggestions appear as you type, and there's also a voice input button. Results open in a new tab, so readers aren't pulled away from your page.

Try it right here, then grab the code

Frame size
<div data-widget="tim-kiem" data-lang="en"></div>
<script async src="https://nhatnguyet.org/embed/w.js"></script>

What's inside this widget

How to use it

  1. Paste the embed code into the sidebar, directly above or below your own site's search box.
  2. Visitors type a keyword and press Enter.
  3. Viewers can also tap the microphone button to search by voice.

Adjustable attributes

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

A few things to note first

  • Free to use, unlimited impressions, no account required.
  • Please keep the small attribution line at the bottom of the widget intact, don't cover it or shrink it to the point of being unreadable.
  • Please do not embed on gambling, adult content, scam, or anything illegal under Vietnamese law.

Read the full terms of use

Want to look it over before pasting it on your real site? There's a working example page you can open directly in your browser, along with documentation in Vietnamese and English, all at GitHub repository for this widget.

Nội dung này có giúp được anh chị không?

You may also need

#WidgetTimKiem