Feedback Widget
A floating button that opens a feedback form overlay. Supports feature requests, bug reports, and general feedback categories.
Script tag embed
Add this script tag to your HTML to load the feedback widget:
<script src="https://www.reflet.app/widget/feedback.js" data-key="fb_pub_xxx" data-position="bottom-right" async ></script>
React component
For React projects, use the SDK's FeedbackButton component:
import { RefletProvider, FeedbackButton } from "reflet-sdk/react";
function App() {
return (
<RefletProvider publicKey="fb_pub_xxx">
<FeedbackButton position="bottom-right" />
</RefletProvider>
);
}Configuration
| Attribute / Prop | Values | Description |
|---|---|---|
data-key / publicKey | string | Your organization's public API key. Required. |
data-position / position | bottom-right, bottom-left | Where the floating button appears. Default: bottom-right. |
data-theme / theme | light, dark, auto | Widget color scheme. Default: auto (matches system). |
User identification
To associate feedback with authenticated users, pass user data via the SDK or data attributes. See the SDK installation guide for SSO user signing.