Skip to content
GuidesChecked 18 November 2026

Feature request widget for any website

One script tag, one button and one call to open the widget on any website.

Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.

The snippet

Load votefirst.js with your project slug and embed key on the script tag, add a button with an id, and call VoteFirst.suggest with that id as the trigger.

Three pieces and one call

The script tag carries the project and key itself, so the whole integration needs no separate init call.

Put <script src="https://app.votefirst.app/embed/votefirst.js" data-project="your-slug" data-key="your-key"></script> before the closing body tag. Add <button id="suggest-btn">Feedback</button> wherever you want it. Then write VoteFirst.suggest({ trigger: '#suggest-btn' }) in a script below. Click the button and a form opens over your page.

The script is a single file with no dependencies. It is about 87 KB uncompressed, and the optional stylesheet at /embed/votefirst.css adds the look of the dialog. Skip the stylesheet if you would rather style the vf- class names yourself. Your slug is the name in your board address, and the key is the first value on Share and Embed in the dashboard.

If your own script runs before votefirst.js has loaded, nothing breaks. Push the call onto window.vfq as a function, and the script runs it once it arrives. A page that loads the script with async can use the same trick.

The script, the button and the call
<script src="https://app.votefirst.app/embed/votefirst.js" data-project="your-slug" data-key="your-key"></script>
<button id="suggest-btn">Suggest a feature</button>
<script>VoteFirst.suggest({ trigger: '#suggest-btn' });</script>

Where it goes

A footer link, a menu item, a floating corner button and a keyboard shortcut all work, because the trigger is only a selector.

Any element can open it, so put it where people look.

The popup takes options and no render target, since nothing is drawn until somebody presses the trigger.

The strongest place is next to the moment of friction: beside an empty state, under an error message, or in the account menu where people already look for help. A fixed corner button is easy to add with a few lines of CSS and tends to collect more noise than a link placed in context.

For a keyboard shortcut or a call from your own code, keep the handle. const form = VoteFirst.suggest() returns an object with open and close, so a keydown listener can call form.open(). The handle also takes on and off for events such as open, close and error, and destroy to unbind the trigger when a single page app changes route.

Pass open: true to show the form as soon as the page loads, which is useful for a link in an email that lands on a page of its own.

Bug button

VoteFirst.report({ trigger: '#report-btn', board: 'bugs' }) opens a form worded for problems and files the report on a board you name.

A second call takes bug reports and adds the page and browser.

The page address and the browser string are added under the visitor's words, inside a budget of 300 bytes.

The report form asks what happened, then the steps and what was expected. When it sends, the text ends with a line of three dashes, the page address and the browser name. A long address is clipped to fit, so the visitor's own words are never squeezed out. Pass context: false to leave the extra lines off.

Keeping bug reports on a separate board stops them being voted on as if they were wishes. A request benefits from votes, because the count tells you how many people want it. A bug benefits from a fix, and a count of people hitting it is a poor reason to delay one. The guide on telling the two apart goes through the questions to ask.

A report waits in Pending Approval like a suggestion, so nothing reaches the board before you have read it.

After the click

A heading of up to 254 characters, a reason of up to 2000 and a Submit button. Both fields are required.

What the visitor sees, and what happens to the words.

The dialog confirms, closes itself after two and a half seconds, and returns focus to the button that opened it.

Set closeOnDone: false to keep the confirmation open until the visitor closes it. Escape closes the form, Tab stays inside it, and a screen reader hears a modal dialog. A visitor who is banned on your board gets a plain refusal instead of a silent drop.

Every suggestion waits for your approval before it appears on the board, and the form says that the team reads it first. You get an email when one arrives, at most one a day, and the digest lists any that wait more than three days. Approve one by dragging its card out of Pending Approval into a column on the board.

Identity lives in local storage under your key, not in a cookie. The visitor needs no account, and you see them as an anonymous voter until you connect your own sign in.

Wording

The init call takes a text object that overrides any label, such as suggestTitle, suggestSubmit and suggestDone.

Change the words, the language and the colors.

A theme option set to auto follows the visitor's system, and light or dark pins it for a site that has only one.

The default title is Suggest a Feature and the default prompt asks what should we build. For a bug button the text keys start with report instead. If your product speaks to a specific kind of person, a title such as Tell us what is missing does better than the default. It names the reader's side of the exchange.

The built in labels are English, and the text object replaces any of them, so a German site can pass its own words. A locale option sets how numbers and dates are written. The appearance option takes color tokens, and false leaves every color to your stylesheet. A board with its own theme is worn by the form unless you say otherwise.

On the Free plan the dialog carries a small Powered by VoteFirst line. On Lite and Pro the line is gone, with nothing to switch.

What a button on your site gives you

Ideas from people who never visit a board

The form opens where the visitor already is, so they stay on the page and tell you what is missing.

Bug reports with context

The page and the browser arrive under the words, so the first reply is not a request for both.

A queue you control

Nothing goes public until you approve it, so an open button cannot fill your board with noise.

From empty page to first message

About ten minutes with a key in hand.

Copy slug and key

Find both on Share and Embed in the dashboard.

Paste the script tag

Add it before the closing body tag with the two data attributes.

Add the button and call

Give the button an id and name it as the trigger.

Send a test

Submit one from the page, then approve it in the dashboard.

What to know before you add it

  • Both fields are required, and the form needs JavaScript to open.
  • A report adds the page and browser only inside a 300 byte budget.
  • Suggestions are not public until you approve them.
  • The Free plan shows a Powered by VoteFirst line in the dialog.
  • There is no SDK for Android, Flutter or React Native. The Swift package, the embed widget, the REST API and JWT sign in exist.

What people ask about feedback buttons

Does the page need a framework?

No. The script is plain JavaScript with no dependencies. It works in a static page, a CMS theme or any framework.

Do visitors have to sign in?

No. A visitor writes a heading and a reason and sends it. You can connect your own sign in later.

Where do the messages go?

Into a Pending Approval column on your board, and the owner gets an email, at most one a day.

Can the button be limited to one domain?

Yes. The key takes an allowlist of origins, and a browser on any other origin is refused with origin_not_allowed.

Does it slow the page?

The script is about 87 KB uncompressed and loads without blocking if you add async. Nothing is drawn until the button is pressed.

What does it cost?

Free covers one project and 100 votes. Lite is $9/mo and Pro is $39/mo, with a 14 day trial on each and no card.

Give your visitors a way to answer

Start on Free with one project and 100 votes, then pick Lite at $9/mo or Pro at $39/mo. Each paid plan opens with a 14 day trial and asks for no card.