SDK
Embed the SigSentry analysis flow directly in your own applications — React components, vanilla JS embed, or pure hooks
@sigsentry/react is a drop-in widget for embedding the SigSentry
analysis flow into any web application. Ship a "Diagnose Error"
button, a full inline widget, or build a custom UI on top of the
hook — all backed by the same client used by the dashboard.
Three usage modes
React components
Wrap your app in <SigSentryProvider> and drop in <AnalysisWidget /> or <SigSentryTrigger />. Zero boilerplate.
Vanilla JS embed
One script tag, one init() call. Works in any framework or static site — no React required in your app.
Pure hooks
Use the useSigSentry() hook to wire SigSentry into your own design system with full control over UI.
Where to next
Installation
Install the package and confirm peer dependencies.
Configuration
Wire up the provider with your API key.
Components
AnalysisWidget, SigSentryTrigger, and AnalysisResultDisplay.
Hooks
useSigSentry and useSigSentryContext for custom UIs.
Theming
Light/dark/auto and CSS variable overrides.
Vanilla JS embed
Use SigSentry without React in your stack.
TypeScript
Full type reference for the public API.
Integration patterns
Six common shapes — modal, dashboard widget, custom UI, and more.
Examples
Runnable React and vanilla JS demos.
