Placements

The seven Inline AI placement types: what each one does, when to use it, and whether it needs a target element.

Placements are the individual AI features the Widget SDK renders on your page. Each one has a specific purpose, from a sticky conversational sidebar to in-content question pills, and is rendered either automatically from your dashboard configuration or explicitly with window.InlineAI.mount().

All placement types

PlacementEnum valueDescriptionTarget required
WidgetwidgetSticky sidebar panel with a floating trigger buttonNo
Search FABsearch-fabFloating action button for search, attaches to the page bodyNo
Search embedsearch-embedFull-width search input bar rendered inside a containerYes
Search iconsearch-iconCompact icon/button that opens the search overlayYes
Key takeawayskey-takeawaysAI-generated summary block for article contentYes
Single questionsingle-questionIn-content question pills distributed across paragraphsYes
Basic embedbasic-embedGeneric AI content block rendered into a containerYes

Body-level vs targeted placements

Body-level placements (Widget and SearchFab) attach directly to document.body and need no target element. They're what auto mode renders by default, and they're the fastest path to AI on a page.

Targeted placements (everything else) render inside a DOM element you specify. Pass a string element ID, a CSS selector, or a dynamic element matcher.

// Body-level: no target needed
window.InlineAI.mount(window.InlineAI.Placement.Widget);
window.InlineAI.mount(window.InlineAI.Placement.SearchFab);
 
// Targeted: target is required
window.InlineAI.mount(window.InlineAI.Placement.SearchEmbed, 'search-container');
window.InlineAI.mount(window.InlineAI.Placement.KeyTakeaways, { selector: '.article-sidebar' });

See injection targets for the full targeting syntax and mount options for options shared across placement types.

Placement pages

© 2026 Inline AI