A compact feedback prompt for AI responses with helpful, not helpful, and dismiss actions.
Was this response helpful?
Installation
Copy the Source Code
Copy and paste the following code into your project:
Props
FeedbackBar
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | - | Label shown next to the action buttons. |
icon | Snippet | - | Optional leading icon snippet rendered before the title. |
onHelpful | () => void | - | Called when the thumbs-up button is clicked. |
onNotHelpful | () => void | - | Called when the thumbs-down button is clicked. |
onClose | () => void | - | Called when the close button is clicked. |
class | string | - | Additional CSS classes for the outer wrapper. |