ngx-prompt-kit

Feedback Bar

A pill bar prompting the user to rate an assistant response. Thumbs up / thumbs down / dismiss.

Examples

Default

Plain title plus the three action buttons.

Was this helpful?

With a custom leading icon

Project an icon into the [icon] slot — use any Spartan ng-icon hlm.

Tell us how the model did.

Installation

Add the feedback-bar component (and the cn() utility) to your project.

ng generate ngx-prompt-kit:feedback-bar

Component API

PkFeedbackBar

PropTypeDefaultDescription
titlestring '' Bar label.
helpfuloutput<void>Fires on thumbs-up click.
notHelpfuloutput<void>Fires on thumbs-down click.
closedoutput<void>Fires on the X close click.
classstringExtra classes for the wrapper.
[icon] slotng-contentProject a leading icon (any element with the icon attribute).