Embed widget

Two lines. Prompt search on your site.

Shadow-DOM-isolated, ~5 KB, no dependencies. Your readers search the catalog and click straight through to the filled prompt page. A small "Powered by KLI Prompts" credit ships with it (the deal for using it free).

Drop-in HTML

Paste anywhere on your page. The widget renders inside the empty div.

<div data-kli-prompt-search></div>
<script src="https://prompts.krakelabsindia.com/embed.js" defer></script>

Configuration

AttributeValuesDefaultWhat it does
data-kli-themelight · dark · autoautoForces a colour theme or follows OS preference.
data-kli-categoryhr, ops, legal, …Pre-filters results to a single category.
data-kli-india1Pre-filters to India-tuned prompts only.
data-kli-max1-105Caps the result list length.

Example — CA blog, India-tuned tax prompts only

<div
  data-kli-prompt-search
  data-kli-category="tax"
  data-kli-india="1"
  data-kli-theme="light"
  data-kli-max="6"
></div>
<script src="https://prompts.krakelabsindia.com/embed.js" defer></script>

Live preview

This page is loading the widget itself. Try a query like offer letter or GST notice:

Loaded via /embed.js — same file your site uses.

FAQ

Does this make a network call to OpenAI/Anthropic?
No. It only calls our catalog API for search. The user clicks through to copy the prompt and run it in their own LLM.
Can I remove the credit badge?
Not on the free tier — it's how readers find us. The badge is small and only links to prompts.krakelabsindia.com.
Will the widget break my CSS?
It mounts inside a Shadow DOM, so host-page styles can't leak in and widget styles can't leak out.
What about analytics?
The widget doesn't fire trackers. Cloudflare Web Analytics on the host site is enabled only when our env token is set — see source.

Prefer the JSON?

If you want full control over rendering, hit the catalog API directly.

See the API docs →