Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Feedback Widget

Preview

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/feedback-widget

Import the shared styles once in your application.

TSUsage
import FeedbackWidget from '@/components/beui/blocks/FeedbackWidget.vue'
import '@/components/beui/styles.css'

API Reference

onSubmit?
(data: FeedbackData) => void | Promise<void>

Called on submit. May be async; the button shows a sending state until it resolves.

Default—
position?
"bottom-right" | "bottom-left"
Defaultbottom-right
title?
string
Default—
placeholder?
string
Default—
#icon?
slot
Default—
labels?
Partial<typeof feedbackWidgetMessages>

Override any built-in string.

Default—
className?
string
Default—

Updated