From 94b1c4eb81b20bfce7b4d77745e7a53414bb642e Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 17:10:31 +0000 Subject: [PATCH] docs(ask-fern): document the standalone AskAiChat widget Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../docs/pages/ask-fern/search-widget.mdx | 79 ++++++++++++++++++- .../docs/pages/ask-fern/what-is-ask-fern.mdx | 2 +- .../docs/pages/changelog/2026-08-14.mdx | 7 ++ 3 files changed, 84 insertions(+), 4 deletions(-) create mode 100644 fern/products/docs/pages/changelog/2026-08-14.mdx diff --git a/fern/products/docs/pages/ask-fern/search-widget.mdx b/fern/products/docs/pages/ask-fern/search-widget.mdx index cf4494967..0b8abf808 100644 --- a/fern/products/docs/pages/ask-fern/search-widget.mdx +++ b/fern/products/docs/pages/ask-fern/search-widget.mdx @@ -1,9 +1,12 @@ --- title: Standalone search widget -description: Embed Fern's AI-powered search in any React application using the @fern-api/search-widget package. +description: Embed Fern's AI-powered search and Ask AI chat in any React application using the @fern-api/search-widget package. --- -The [`@fern-api/search-widget`](https://www.npmjs.com/package/@fern-api/search-widget) package provides a standalone React component that brings Ask Fern's AI-powered search to any React application outside of your Fern Docs site. Embed a search modal in your dashboard, marketing site, or internal tool so users can find relevant documentation without leaving their workflow. +The [`@fern-api/search-widget`](https://www.npmjs.com/package/@fern-api/search-widget) package brings Ask Fern to any React application outside of your Fern Docs site, so users can find relevant documentation without leaving their dashboard, marketing site, or internal tool. It exports two components: + +- `SearchModal` — a command palette with keyword search and Ask AI as one of its modes. +- `AskAiChat` — an Ask AI chat with no keyword-search UI, rendered as a floating card anchored to a corner of the viewport.