# Feedback Widget for Websites & Apps, with AI | FlagUp

> Embed a feedback widget on your website or app to collect bugs, ideas and feature requests. Paid plans add AI tagging, duplicate grouping and priority.

URL: https://flagup.io/feedback-widget
Last updated: 2026-11-27
Also published at: https://flagup.io/fr/widget-de-feedback, https://flagup.io/es/widget-de-feedback, https://flagup.io/pt/widget-de-feedback

Feedback Widget
That Takes One Script Tag
A feedback widget that sits quietly in the corner of your product and collects feature requests, bug reports, and general feedback while users are still in context. Paste one snippet and you are live in minutes.
Get started free
Free to start · No credit card required · One script tag to install
Definition

### What Is a Feedback Widget?
A feedback widget is a small button that stays in the corner of a website or web app. Clicking it opens a short form, so a visitor can report a bug, request a feature or leave a comment without leaving the page or writing an email.
Because it sits where people already are, it catches feedback at the moment someone runs into a problem, while the details are still fresh. FlagUp's widget sends every submission to one inbox, next to the feedback that arrives through your public portal.
Read the full guide: what a feedback widget is and when to use one
See 12 feedback widget examples that get responses
Compare 10 feedback widgets for websites and apps
Installation

### Add the Widget With One Line of Code
Copy and paste. No build step, no package manager, no configuration file required.
Your project key is available in your FlagUp dashboard under Settings → Widget.

#### Create your project
Create a FlagUp account and add the site you want feedback on.

#### Copy your project key

#### Paste the snippet
Paste the snippet directly before the closing </body> tag in your HTML.
Frameworks

### Install It With JavaScript, React or Next.js
There is no npm package to install. Every framework loads the same script, so the only question is where to put it.
Plain HTML or any JavaScript site
Use the one-line snippet above, or set options in code with a config object placed before the script.
React
Load the script once, from a component mounted at the root of your app. The id check stops it loading twice, for example under React Strict Mode.
Next.js (App Router)
Add the script to your root layout with next/script. Data attributes are passed through to the script tag.
In a single-page app, load the widget once, in the root layout or top-level component. It stays on the page as people move between routes.
Customization

### Customize the Widget
Most teams set the look in the FlagUp dashboard and paste the snippet unchanged. You can also set options on the script tag, and those take priority over your saved settings.
Attribute
Values
What it changes

- data-project-key: your project key | Required. Connects the widget to your FlagUp project.
- data-position: bottom-right, bottom-left | Which bottom corner the button sits in.
- data-color: a hex color, such as #4f46e5 | Accent color of the button and the panel.
- data-text: a short label | The button label. An empty value shows an icon-only button.
- data-size: small, medium, large | Size of the button.
- data-icon: message-dots, question-circle, smiley, lightbulb, flag, envelope | The icon on the button.
- data-locale: en, fr, es, pt | Language of the widget. Without it, the widget follows the page's lang attribute, then the browser.
- data-sentiment-style: emoji, stars, thumbs, numeric, agreement, feeling | How the rating question is shown.
- data-zindex: a number | Stacking order, if another element covers the button.
Options set in window.FeedbackWidgetConfig apply only where neither the script tag nor your saved settings set a value.
How It Works

### From Widget Click to Inbox in Seconds
Every submission lands in your FlagUp feedback inbox with the category the sender picked, ready for your team to review.

#### User clicks the button
A small floating button appears on your page. Users click it to open the feedback panel without leaving what they were doing.

#### User submits feedback
The panel lets users choose between a feature request, bug report, or general comment. They write it and hit send, all without leaving the page.

#### It arrives sorted
The submission lands in your inbox with the category the sender chose. On paid plans, you can run AI analysis over approved feedback to score sentiment, tag topics and group likely duplicates.

#### Your team acts on it
Prioritize, assign, or push to your roadmap directly from the inbox. Every submission stays connected to the feature request it belongs to.
Compatibility

### Works With Any Stack, Any Framework, Any Host
No framework dependency. If your page can load a script tag, it can load the FlagUp widget.
The widget uses vanilla JavaScript with no runtime dependencies. If it is not listed here, it almost certainly still works.
Features

### Everything You Need in a Feedback Widget
Lightweight, customizable, and connected to your FlagUp inbox from day one.
One script tag
Paste one line of HTML before your closing body tag. No build step, no npm package, no configuration file.
Typed categories
Users pick between feature request, bug report, or general feedback before submitting. Submissions arrive pre-sorted.
Under 30 KB gzipped
The script loads with async and defer, so it is fetched off the critical path and is designed to keep its impact on page rendering minimal.
Custom accent color
Set the widget accent color from your dashboard. The button and panel match your product rather than looking third-party.
Sentiment scoring
On paid plans, AI analysis scores the sentiment of approved feedback, so you can sort by how strongly people feel, not only by date.
Duplicate grouping
On paid plans, AI analysis groups submissions that describe the same issue, so you review one picture instead of scattered repeats.
See how the AI support assistant works
Why FlagUp

### Why Teams Choose FlagUp
No heavy setup, and no features locked behind an enterprise tier.
One script tag, nothing else to install
No SDK, no npm package, no build step. Paste one line before your closing body tag and the widget is live.
AI analysis when you need it
Start free with the widget and the inbox. Paid plans add AI analysis of the feedback you approve: sentiment, topic tags, priority scores and duplicate grouping.
Framework agnostic by design
Vanilla JavaScript with zero dependencies. Works with React, Vue, Angular, static HTML, WordPress, or anything else that can load a script tag.
Styled to match your product
Set the accent color from your dashboard so the widget looks native to your site instead of a bolted-on third-party tool.
FAQ

### Frequently Asked Questions
Common questions about installing and using the FlagUp feedback widget.
Still have questions?

- How do I add the FlagUp feedback widget to my site?: Paste one script tag into your HTML before the closing body tag. The widget loads asynchronously, off the critical rendering path. No framework or build step required.
- Does the widget work with React, Vue, or plain HTML?: Yes. The FlagUp widget is a plain JavaScript file with no framework dependency. It works with React, Vue, Angular, Next.js, Nuxt, plain HTML, and any server-side framework like Laravel or Rails.
- Will the feedback widget slow down my page?: The script loads with async and defer attributes, so it is not fetched or executed on the critical rendering path. The widget bundle is under 30 KB gzipped.
- Is the feedback widget free?: Yes. The FlagUp feedback widget is included on the free plan. Advanced customization options are available on paid plans.
- Can I change the widget's language?: Yes. The widget is translated into English, French, Spanish and Portuguese. Set data-locale on the script tag to choose one, or leave it out and the widget follows the lang attribute of your page, then the visitor's browser.
- Does the feedback widget work in single-page apps?: Yes. Load the script once from your root layout or top-level component, and the widget stays on the page while people move between routes. The React and Next.js examples on this page do exactly that.
Get Started

### Add the widget to your product today
One script tag. Free forever. Every submission lands in a single inbox connected to your roadmap and feature requests. Our guide to building an in-app feedback system people actually use covers where to place the trigger.
Get started free
Free plan forever · No credit card required · Live in minutes
