Skip to content
Yuva page feedbackMenu

Yuva page feedback

"Was this page helpful?" with yes and no, sent to Yuva as a page rating.

Was this page helpful?

The preview runs on sample data. It needs no network and no channel.

Installation

Run this in a shadcn project. The files are copied into your own code.

Shell
npx shadcn@latest add https://useyuva.com/r/yuva-page-feedback.json

Usage

tsx
import { YuvaPageFeedback } from "@/components/yuva-page-feedback"

<YuvaPageFeedback />

Props

YuvaPageFeedbackProps

PropType
page?string
pageTitle?string
labels?Partial<YuvaDiscussionsLabels>
className?string

Labels

Every label has an English default. Pass a partial labels object to change or translate them.

LabelDefault
feedbackQuestion"Was this page helpful?"
feedbackYes"Yes"
feedbackNo"No"
feedbackThanks"Thanks for your feedback."

Dependencies

Installing this item also adds the following.

Components from shadcn/ui

Other Yuva items

npm packages