Widget configuration

window.FeedbackFlowConfig accepts the following options. Only apiKey is required. Everything else is optional and falls back to the default shown.

OptionTypeDefaultDescription
apiKeystringNone (required)Project API key used to authenticate submissions.
accentColorCSS color#000Background of the launcher button and the Send button.
accentTextColorCSS color#fffText and foreground color shown on the accent color.
theme"light" or "dark""light"Panel color scheme. Use "dark" on dark-background sites so the panel, inputs, and text match.
position"bottom-right" or "bottom-left""bottom-right"Which corner the launcher sits in.
buttonTextstring"Feedback"Launcher button label.
titlestring"Share feedback"Heading shown at the top of the panel.
captureContextbooleantrueCapture technical context (browser, OS, screen size, plus recent console and network errors) with each submission. Set to false to disable.

Color values are sanitized before being injected into the widget CSS. An unsafe value falls back to its default.

Example: dark site with an indigo launcher

On a dark background a black launcher is invisible. Pick an accent color that contrasts and set theme: "dark" so the panel matches:

<script>
  window.FeedbackFlowConfig = {
    apiKey: "YOUR_API_KEY",
    accentColor: "#6366f1",
    accentTextColor: "#fff",
    theme: "dark",
    position: "bottom-right",
  }
</script>
<script src="https://usefeedbackflow.com/widget.min.js"></script>

Accent colors that contrast well on dark backgrounds: indigo #6366f1, blue #3b82f6, violet #8b5cf6, or emerald #10b981. For maximum contrast, use a white launcher with dark text (accentColor: "#ffffff", accentTextColor: "#0f172a").