Embed Widget

Embed Citations on Your Website

Add a lightweight citation widget to any website with a single script tag. Renders styled citation cards with Shadow DOM isolation.

API Mode

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>

Static Mode

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). &lt;i&gt;Title of work&lt;/i&gt;. Publisher."
  data-citeme-in-text="(Author, 2024)"
></div>

Dark Theme

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>

Attributes Reference

AttributeDescription
data-citeme-querySearch query (triggers API fetch)
data-citeme-styleCitation style: apa, mla, chicago, harvard, ieee, vancouver, etc.
data-citeme-bibliographyPre-formatted reference text (static mode, no API call)
data-citeme-in-textPre-formatted in-text citation (static mode)
data-citeme-theme"light" (default) or "dark"

Using Notion?

Embed citation cards directly in your Notion pages with our iframe widget and URL builder.

Notion Widget →

Use cases

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.

Generate Citations for Free

Search 250M+ academic works and format references in 43+ styles.

Try CiteMe Free