![](https://cdn.prod.website-files.com/65c0b8763c04cd15daa89ad3/674d8d5daffeff3c9c158f57_Feedback%20Button%20Header-min.png)
Adding a feedback button
We’ve made adding a feedback button for features much simpler. It’s as easy as adding the button to your UI and calling the requestFeedback
function.
In Bucket, we’ve supported collecting automated feedback for a while. It automatically shows a small feedback survey after a user has used a feature a configurable number of times. However, you can also want feedback on things not associated with a specific action in your UI like a dashboard with graphs, for example.
A Give Feedback button lets you manually collect feedback using a persistent button placed beside a feature. The button won’t trigger the feedback modal unless clicked, regardless of how many times a user has tried the feature.
This is what the button would look like in Bucket.
![Get Feedback Button in Bucket](https://cdn.prod.website-files.com/65c0b8763c04cd15daa89ad3/674d8d701323ce2aaabd4e3b_674d8ccfb85da8059546da4c_Get%2520Feedback%2520Button%2520in%2520Bucket-min.png)
We’ve made implementation extremely simple. When you create a feature on Bucket, you get a feature key that you can use for flagging, adoption metrics, and feedback.
For example, the React SDK now returns a requestFeedback
function along with the existing isEnabled
variable, letting you easily add a button that opens the feedback widget when clicked.
![React SDK requestFeedback](https://cdn.prod.website-files.com/65c0b8763c04cd15daa89ad3/674d8d701323ce2aaabd4e3e_674d8ced14d2a0430926e803_React%2520SDK%2520requestFeedback-min.png)
Happy shipping!