A feedback widget
that stays inside your app.
Mount the widget, open your board in an overlay, and attach the person who is already signed in. The SDK ships for vanilla JavaScript and React, and the widget is open source.
Title
Add dark mode
Details
Easier on the eyes at night.
Signed in as ada@example.com
Hub mode: feedback and updates behind one launcher.
Modes
One widget, three entry points.
The mode decides what the user sees first. You can change it per surface: a submit button in your settings page, an updates panel in your app shell, or a hub that carries both.
The overlay matters because feedback usually arrives at the moment of frustration. A user should not lose the screen they were on to describe what went wrong. The widget opens over your app, keeps the board in an iframe, and closes back to the same place. The form and the board are the same board your public page serves, so a post submitted here is not a separate inbox.
Feedback
The submit form. This is the default mode, so one init call gives you a title, a body, a board, and a submit button inside an overlay.
Updates
A card panel of published changelog entries. Use it when the widget should announce what shipped instead of asking for a new idea.
Hub
Both modules behind one launcher. The modules array decides which opens first, and openModule switches between them without closing the overlay.
Placement or trigger
Set placement to bottom-left or bottom-right and the SDK draws a launcher 20px from that corner. Omit it and no launcher mounts. You open the widget from your own button instead.
Theme and language
The theme option is forwarded to the widget iframe. Locale takes a BCP 47 tag, and the widget uses its language subtag, with English as the default.
A board per init
defaultBoard picks the board the feedback module opens on. It applies while feedback is the active module, so a hub can route different buttons to different boards.
Install
One package,
one init call.
Install @feeblo/sdk for vanilla JavaScript, or add @feeblo/sdk-react for the provider and hooks. Both packages ship ESM and UMD builds with no runtime dependencies.
The organization ID comes from Settings, then Widget, then Installation. Init throws an embed error with code INVALID_ORG when it is missing or empty, so a bad ID fails at startup instead of at submit time.
Config props such as organizationId, mode, modules, placement, theme, defaultBoard, locale, baseUrl, containerStyles, and debug tear down and remount the widget when they change. Treat them as configuration, not state. The user prop never remounts anything: changes call identify on the live widget, and the last identity replays if a config change recreates it.
- Call init with an org ID and optional config object.
- Add data-feeblo-feedback to any button to open the widget.
- Call identify when the signed-in user changes.
- Set placement only when you want the built-in launcher.
npm install @feeblo/sdk
import { Feeblo } from "@feeblo/sdk";
const widget = Feeblo.init("org_123", {
mode: "hub",
placement: "bottom-right",
});
widget.open();import { FeebloProvider } from "@feeblo/sdk-react";
<FeebloProvider organizationId="org_123" user={currentUser}>
<App />
</FeebloProvider>
// Inside a child component:
const feeblo = useFeeblo();
feeblo.open();Identity
Attach the person
behind the post.
identify takes an id and optional email, name, avatar, custom fields, and companies. Call it again when the details change. The last call wins, and a config change replays the last identity when the widget remounts.
A browser console can call identify too, which is why a signed token matters. Sign an HS256 JWT on your server with the organization secret, and Feeblo verifies it before it trusts the claims. Keep the token short-lived, in the 5 to 15 minute range.
Custom fields map to attributes you define in Feeblo. Values sent under keys with no matching definition are ignored. A definition marked required must be present in every identify call, or the identity fails validation.
Identity is optional at every step. A visitor can open the widget, submit, and never identify. The post still lands on the board with the content they wrote. Identify only when you can back the claim with a session or a token.
The same token can sign the user into your public board. Add data-feeblo-link to an anchor and the SDK appends the token in the URL fragment, so it never reaches server logs or the Referer header. A query-string token also works for a redirect your server starts, but that URL does reach logs and history. On feeblo cloud, Widget SSO is included in the Starter and Professional plans.
const token = jwt.sign(
{
sub: user.id,
aud: process.env.FEEBLO_ORG_ID,
exp: Math.floor(Date.now() / 1000) + 600,
email: user.email,
name: user.name,
customFields: { plan: user.plan },
companies: [{ id: company.id, name: company.name }],
},
process.env.FEEBLO_ORG_SECRET,
{ algorithm: "HS256" }
);sub, aud, exp, email, and name are the claims Feeblo checks. Unknown custom field keys are ignored. The token never belongs in client-side code.
Under the widget
Four endpoints, no API key.
The embedded widget talks to four public routes under /api/widget/v1. Your backend can call the same routes and collect feedback without loading the SDK in a browser. None of them requires a key or a session, so anonymous visitors can browse and submit.
Suggestions is the duplicate check. Given a draft title and body, it returns up to five similar public posts. Matching uses embeddings first and falls back to lexical scoring when the embedding backend is unavailable.
Every endpoint is rate limited by client IP instead of by key. Suggestions costs the most because each call runs a similarity search, so the budget is five requests per minute.
Limits apply per client IP, per minute. Exceeding one returns 429. A 503 means the rate limiter itself is unreachable, so back off and retry. If you batch-import old feedback, keep every source IP under twenty POST /feedback calls per minute.
Returns up to five similar public posts for a draft title and body, so the user can join an existing thread.
Creates a post on a public board, fires feedback.post.created, and accepts an optional identity token and metadata.
Lists the public boards with names and slugs, so you can build a board picker without the SDK.
Returns published changelog entries, newest first, with sanitized HTML and an optional cover image.
POST /feedback accepts a public board only. A private board returns 400, and a missing board returns 404.
What else it does
The details that make an embed usable.
The happy path is one button and one form. The rest of the work is in the edges: what the widget knows about the user, what it does before a duplicate is filed, and where it sends the post when the board is private.
Identity that survives the session
Send an id, email, name, avatar, custom fields, and companies. Changes call identify on the live widget instead of remounting it.
Signed identity, not a guess
Sign an HS256 JWT with your organization secret and pass it as token. Feeblo verifies the signature before it trusts the person.
Duplicates get caught early
The suggestions endpoint searches public posts before submission. It uses embeddings first and falls back to lexical matching.
Runs on your domain
The overlay runs inside your app, and the public board lives on your subdomain. Set baseUrl when you self-host, and point data-feeblo-link at your own board.
Public by design
The widget writes to public boards only. Private boards stay out of the board picker and out of the feedback endpoint.
Framework agnostic
The core package ships ESM and UMD builds with no runtime dependencies. Trigger attributes work at the DOM level in any framework.
Open source
The widget is not a black box.
The SDK and the widget app live in the feeblo repository under AGPL-3.0. You can read how identify handles a token, how the iframe reports its height, and what the feedback endpoint does with metadata before you put it on a customer page.
Self-hosting moves the widget host too. Set baseUrl to the host that serves your widget, keep the org ID from your own dashboard, and the browser never calls feeblo.com.
What ships in the repo
- The @feeblo/sdk package: init, identify, open, close, setBoard, and events.
- The @feeblo/sdk-react package: FeebloProvider and the useFeeblo hook.
- The four widget HTTP routes under /api/widget/v1.
- The iframe app that renders the feedback form and updates panel.
- The feedback endpoint that creates a post and fires feedback.post.created.
Feedback from the widget lands on the same board as feedback from the public page. One inbox, one status, one roadmap.
The repository is published under AGPL-3.0. A fork can change the widget without waiting for a vendor roadmap, and a self-hosted deployment can serve it from a host you control.
Widget FAQ
Do users need an account to leave feedback?
No. Anonymous submissions work, and the widget can open for anyone who can load your page. To attach a post to a known person, call identify with an id or pass a signed JWT, and Feeblo links the post to that contact.
Does the widget work with React?
Yes. Install @feeblo/sdk and @feeblo/sdk-react, wrap your app in FeebloProvider, and use the useFeeblo hook for open, close, identify, and board changes. The React package re-exports the core SDK.
Can I open the widget from my own button?
Yes. Add the data-feeblo-feedback attribute to any element and the SDK opens the widget on click. For full control, call widget.open(), or feeblo.open() from useFeeblo in React.
Can the widget post to a private board?
No. POST /api/widget/v1/feedback accepts public boards only and returns 400 for a private board. GET /api/widget/v1/boards lists public boards, so a board picker never shows a private one.
Can I self-host the widget?
Yes. The widget is part of the open-source repository, and the init options include baseUrl for the host that serves it. Point baseUrl at your own widget host and use the organization ID from your own dashboard.
Is the widget included in the hosted plans?
The widget is part of the product, and Widget SSO is included in Starter and Professional. See feeblo.com/pricing for the current rows. Self-hosting carries no license fee under AGPL-3.0.
Start building what your users want
Open-source feedback boards, roadmaps, and changelogs. Self-host in minutes or start on the cloud, and close the loop with every release.