Embed Widget
Add a lightweight citation widget to any website with a single script tag. Renders styled citation cards with Shadow DOM isolation.
The widget fetches citations from CiteMe automatically based on a search query. Just add a data-citeme-query attribute.
<!-- CiteMe Widget (API mode) -->
<script src="https://citeme.app/embed/citeme-widget.js" defer></script>
<div data-citeme-query="machine learning" data-citeme-style="apa"></div>Render pre-formatted citations without API calls. Use data-citeme-bibliography for the reference text.
<!-- CiteMe Widget (Static mode) -->
<script src="https://citeme.app/embed/citeme-widget.js" defer></script>
<div
data-citeme-bibliography="Author, A. (2024). <i>Title of work</i>. Publisher."
data-citeme-in-text="(Author, 2024)"
></div>Add data-citeme-theme="dark" for dark mode.
<!-- Dark theme -->
<div
data-citeme-query="deep learning"
data-citeme-style="ieee"
data-citeme-theme="dark"
></div>| Attribute | Description |
|---|---|
| data-citeme-query | Search query (triggers API fetch) |
| data-citeme-style | Citation style: apa, mla, chicago, harvard, ieee, vancouver, etc. |
| data-citeme-bibliography | Pre-formatted reference text (static mode, no API call) |
| data-citeme-in-text | Pre-formatted in-text citation (static mode) |
| data-citeme-theme | "light" (default) or "dark" |
Embed citation cards directly in your Notion pages with our iframe widget and URL builder.
The CiteMe embed widget is designed for websites that want to offer citation functionality without building it from scratch. Common use cases include university library portals, academic blogs, research group pages, and learning management systems.
In API mode, the widget fetches real-time citation data from the CiteMe API, allowing visitors to search for academic sources and copy formatted references directly from your site. In static mode, you provide pre-formatted citation data for a simpler integration with no external API calls.
Both light and dark themes are supported, and the widget automatically adapts to common viewport sizes. The embed script is lightweight and loads asynchronously, so it won't affect your page's performance or Core Web Vitals scores.
Search 250M+ academic works and format references in 43+ styles.
Try CiteMe Free