Add an "Explore With AI" button to any site with one script tag. Visitors can open your page in ChatGPT, Claude, Gemini, and more.
<script src="https://cdn.jsdelivr.net/gh/markwinters/explorewithai-widget@main/dist/explore-ai.min.js"></script>
Toggle theme, position, and label to see the widget update in real time.
Widget appears in this preview area ↓
Add the script tag anywhere on your page. That's it.
Use data-* attributes on the script tag for customization.
| Attribute | Values | Default | Description |
|---|---|---|---|
data-theme |
light, dark, auto |
auto |
Color scheme |
data-position |
bottom-right, bottom-left, top-right, top-left |
bottom-right |
Button position on page |
data-label |
Any string | Explore With AI |
Button text |
data-providers |
Comma-separated IDs | All | Visible providers |
data-compact |
true or omitted |
— | Icon-only circular button. Auto-enabled on mobile. |
For advanced use cases — SPAs, dynamic config, or programmatic control.