Try a preset and choose where chat opens on your page.
Can I get the code for my framework?
Yes. The builder generates your setup for Vue, Nuxt, React, Svelte, Angular, TypeScript, or a script tag.
Ask integration questions...Send
Powered by·Enhanced by
Widget builder
See it on the page before it goes on yours.
This is a working widget. Adjust its text, style, placement, and behavior in the live preview. When it feels right, choose your integration below and copy the code.
Before connecting your library, enable its widget in Context7's Admin → Chat settings and allow your site's domain. Setup instructions.
<script setup>
import { Context7Widget } from '@desource/context7-widget-vue';
import '@desource/context7-widget-vue/styles.css';
</script>
<template>
<Context7Widget
library="/desource-labs/context7-widget"
title="Context7 Widget Docs"
initial-message="Ask about **{library}**. Get help with setup, styling, or adding the widget to your framework."
placeholder="Ask integration questions..."
theme="auto"
position="anchor"
preset="glass"
custom-trigger
launcher-variant="pill"
launcher-label="Ask docs"
panel-width="440px"
panel-height="460px"
:backdrop="false"
:close-on-outside-click="true"
:default-open="false"
widget-id="docs-widget"
>
<template #trigger="{ label }">
<span class="docs-trigger-dot" />
{{ label }}
</template>
</Context7Widget>
</template>
Placement
Put help where people reach for it.
Keep a familiar chat button in the corner, open a centered dialog for more space, or attach the panel to a help button in your navigation. Each option works with your site’s design.
Terminal preset
Centered dialog with backdrop and outside-click close.