Basic installation
Add PushFeedback to an HTML site with a floating button, an inline button, an embedded form, or inline like and dislike buttons. Choose one mode below. The framework guides show where to place the same widget in your site.
Prerequisites
- A PushFeedback account. If you don't have one, sign up for free.
- A project created in your PushFeedback dashboard. If you haven't created one yet, follow Quickstart.
Replace <YOUR_PROJECT_ID> in the examples with your project's ID.
Examples use pushfeedback 0.1.87. Choose one installation mode.
Installation
Floating button

The button stays on the right edge of the browser and opens the form in a sidebar.
-
Add the stylesheet and script inside your page's
<head>:<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.css"><script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.esm.js"></script> -
Add the button before the closing
</body>tag:<feedback-button project="<YOUR_PROJECT_ID>" button-position="center-right" modal-position="sidebar-right" button-style="dark">Feedback</feedback-button>
Inline button

Place the button in your page content. Clicking it opens the feedback form.
-
Add the stylesheet and script inside your page's
<head>:<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.css"><script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.esm.js"></script> -
Add the button where it should appear:
<feedback-button project="<YOUR_PROJECT_ID>" button-position="default" modal-position="center" button-style="dark">Feedback</feedback-button>
Embedded form

The form is visible on the page without a trigger button or backdrop.
-
Add the stylesheet and script inside your page's
<head>:<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.css"><script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.esm.js"></script> -
Add the form where it should appear:
<feedback-modal project="<YOUR_PROJECT_ID>" embedded="true"></feedback-modal>
See Layout for form options and Text for screenshot labels.
Like and dislike buttons
![]()
Place two rating buttons at the end of a page. Clicking one opens the form with that rating selected. It does not submit feedback until the visitor sends it.
-
Add the stylesheet and script inside your page's
<head>:<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.css"><script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pushfeedback/pushfeedback.esm.js"></script> -
Add the controls where readers finish the content:
<p>Was this helpful?</p><div class="pushfeedback-thumbs-row"><feedback-button project="<YOUR_PROJECT_ID>" rating="1" button-position="default" modal-position="center" button-style="light" custom-font="true">Helpful</feedback-button><feedback-button project="<YOUR_PROJECT_ID>" rating="0" button-position="default" modal-position="center" button-style="light" custom-font="true">Not helpful</feedback-button></div>
The PushFeedback stylesheet styles the buttons. The text labels identify each button for all readers.
Next steps
- Framework guides: Place the widget in a documentation site, app, or website builder.
- Customization: Change the layout, styles, and text.
- Integrations: Send feedback to your team.