Website Feedback Widget

Capture real-time user feedback with this compact website feedback widget. Designed for on-page embedding, it uses a quick thumb rating to gauge satisfaction, then intelligently routes users to provide more context about issues or suggestions. The minimal design ensures high completion rates while still gathering actionable insights.

Website & UX

Try the Form

Help us improve your experience
How is your experience?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
export function websiteFeedbackWidget(form: FormTs) {
// Website Feedback Widget
// Demonstrates: ThumbRating, EmojiRating, SuggestionChips, Dropdown, conditional visibility
 
// ============================================
// HEADER - Compact widget style
// ============================================
form.addRow(row => {
row.addTextPanel('header', {
label: 'Quick Feedback',
computedValue: () => 'Help us improve your experience',
customStyles: {
backgroundColor: '#0ea5e9',
color: 'white',
padding: '16px 20px',
borderRadius: '10px',
textAlign: 'center',
fontSize: '14px'
}
});
});
 
// ============================================
// SECTION 1: Quick Rating
// ============================================
const ratingSection = form.addSubform('rating', {
title: 'How is your experience?',
customStyles: () => {
const thumb = ratingSection.thumbRating('quickThumb')?.value();
if (thumb === 'up') return { backgroundColor: '#ecfdf5', padding: '16px', borderRadius: '8px' };
if (thumb === 'down') return { backgroundColor: '#fef2f2', padding: '16px', borderRadius: '8px' };
return {};
}
});
 
ratingSection.addRow(row => {
row.addThumbRating('quickThumb', {
label: 'Is this page helpful?',
showLabels: true,
upLabel: 'Yes',
downLabel: 'No',
size: 'lg',
alignment: 'center'
});
});
 
// ============================================
// SECTION 2: Positive Feedback Path
// ============================================
const positiveSection = form.addSubform('positive', {
title: 'Great to hear!',
isVisible: () => ratingSection.thumbRating('quickThumb')?.value() === 'up',
customStyles: { backgroundColor: '#f0fdf4', padding: '16px', borderRadius: '8px' }
});
 
positiveSection.addRow(row => {
row.addEmojiRating('satisfactionLevel', {
label: 'How satisfied are you overall?',
preset: 'satisfaction',
size: 'md',
alignment: 'center'
});
});
 
positiveSection.addRow(row => {
row.addSuggestionChips('whatWorked', {
label: 'What worked well for you?',
suggestions: [
{ id: 'easy-nav', name: 'Easy navigation' },
{ id: 'clear-info', name: 'Clear information' },
{ id: 'fast-load', name: 'Fast loading' },
{ id: 'good-design', name: 'Good design' },
{ id: 'helpful-content', name: 'Helpful content' },
{ id: 'mobile-friendly', name: 'Mobile friendly' }
],
max: 3,
alignment: 'center'
});
});
 
positiveSection.addSpacer({ height: '12px' });
 
positiveSection.addRow(row => {
row.addTextarea('positiveComment', {
label: 'Any other comments? (optional)',
placeholder: 'Tell us what you liked...',
rows: 2
});
});
 
// ============================================
// SECTION 3: Negative Feedback Path
// ============================================
const negativeSection = form.addSubform('negative', {
title: 'Sorry to hear that',
isVisible: () => ratingSection.thumbRating('quickThumb')?.value() === 'down',
customStyles: { backgroundColor: '#fef2f2', padding: '16px', borderRadius: '8px' }
});
 
negativeSection.addRow(row => {
row.addDropdown('issueType', {
label: 'What type of issue did you encounter?',
options: [
{ id: 'usability', name: 'Hard to use / confusing' },
{ id: 'content', name: 'Missing or unclear information' },
{ id: 'bug', name: 'Something is broken' },
{ id: 'slow', name: 'Page is too slow' },
{ id: 'design', name: 'Design / layout issues' },
{ id: 'mobile', name: 'Mobile experience problems' },
{ id: 'other', name: 'Other issue' }
],
placeholder: 'Select issue type...',
isRequired: () => ratingSection.thumbRating('quickThumb')?.value() === 'down'
});
});
 
negativeSection.addRow(row => {
row.addSuggestionChips('specificIssues', {
label: 'Select all that apply:',
suggestions: () => {
const issueType = negativeSection.dropdown('issueType')?.value();
switch (issueType) {
case 'usability':
return [
{ id: 'nav-confusing', name: 'Confusing navigation' },
{ id: 'hard-find', name: 'Hard to find things' },
{ id: 'too-many-clicks', name: 'Too many clicks' },
{ id: 'unclear-labels', name: 'Unclear labels' }
];
case 'content':
return [
{ id: 'outdated', name: 'Outdated info' },
{ id: 'incomplete', name: 'Incomplete' },
{ id: 'confusing-text', name: 'Confusing text' },
{ id: 'missing-details', name: 'Missing details' }
];
case 'bug':
return [
{ id: 'broken-link', name: 'Broken link' },
{ id: 'error-message', name: 'Error message' },
{ id: 'form-issue', name: 'Form not working' },
{ id: 'display-issue', name: 'Display problem' }
];
case 'slow':
return [
{ id: 'initial-load', name: 'Initial load' },
{ id: 'images', name: 'Images loading' },
{ id: 'interactions', name: 'Slow interactions' },
{ id: 'timeout', name: 'Timeouts' }
];
default:
return [
{ id: 'general-issue', name: 'General issue' },
{ id: 'frustrating', name: 'Frustrating experience' },
{ id: 'not-intuitive', name: 'Not intuitive' }
];
}
},
isVisible: () => negativeSection.dropdown('issueType')?.value() !== null,
alignment: 'left'
});
});
 
negativeSection.addSpacer({ height: '12px' });
 
negativeSection.addRow(row => {
row.addTextarea('issueDetails', {
label: 'Please describe the issue:',
placeholder: 'What were you trying to do? What happened?',
rows: 3,
isRequired: () => ratingSection.thumbRating('quickThumb')?.value() === 'down'
});
});
 
negativeSection.addRow(row => {
row.addRatingScale('urgency', {
label: 'How much did this impact your experience?',
preset: 'custom',
min: 1,
max: 5,
lowLabel: 'Minor annoyance',
highLabel: 'Major blocker',
size: 'sm',
alignment: 'center'
});
});
 
// ============================================
// SECTION 4: Suggestions (always visible after rating)
// ============================================
const suggestionSection = form.addSubform('suggestions', {
title: 'Suggestions',
isVisible: () => ratingSection.thumbRating('quickThumb')?.value() !== null
});
 
suggestionSection.addRow(row => {
row.addRadioButton('hasSuggestion', {
label: 'Do you have any suggestions for improvement?',
options: [
{ id: 'yes', name: 'Yes, I have ideas' },
{ id: 'no', name: 'No, just the feedback above' }
],
orientation: 'horizontal'
});
});
 
suggestionSection.addRow(row => {
row.addTextarea('suggestionText', {
label: 'Share your suggestion:',
placeholder: 'What would make this better for you?',
rows: 2,
isVisible: () => suggestionSection.radioButton('hasSuggestion')?.value() === 'yes'
});
});
 
// ============================================
// SECTION 5: Contact (Optional)
// ============================================
const contactSection = form.addSubform('contact', {
title: 'Follow Up',
isVisible: () => ratingSection.thumbRating('quickThumb')?.value() !== null
});
 
contactSection.addRow(row => {
row.addCheckbox('wantsResponse', {
label: 'I would like a response about my feedback'
});
});
 
contactSection.addRow(row => {
row.addEmail('email', {
label: 'Your email address',
placeholder: 'you@example.com',
isRequired: () => contactSection.checkbox('wantsResponse')?.value() === true,
isVisible: () => contactSection.checkbox('wantsResponse')?.value() === true
});
});
 
// ============================================
// SECTION 6: Summary
// ============================================
const summarySection = form.addSubform('summary', {
title: 'Summary',
isVisible: () => {
const thumb = ratingSection.thumbRating('quickThumb')?.value();
if (thumb === 'up') return true;
if (thumb === 'down' && negativeSection.dropdown('issueType')?.value()) return true;
return false;
}
});
 
summarySection.addRow(row => {
row.addTextPanel('summaryContent', {
computedValue: () => {
const thumb = ratingSection.thumbRating('quickThumb')?.value();
const satisfaction = positiveSection.emojiRating('satisfactionLevel')?.value();
const whatWorked = positiveSection.suggestionChips('whatWorked')?.value() || [];
const issueType = negativeSection.dropdown('issueType')?.value();
const specificIssues = negativeSection.suggestionChips('specificIssues')?.value() || [];
const urgency = negativeSection.ratingScale('urgency')?.value();
const hasSuggestion = suggestionSection.radioButton('hasSuggestion')?.value();
 
const satisfactionLabels: Record<string, string> = {
'very-bad': 'Very Unsatisfied',
'bad': 'Unsatisfied',
'neutral': 'Neutral',
'good': 'Satisfied',
'excellent': 'Very Satisfied'
};
 
const issueLabels: Record<string, string> = {
'usability': 'Usability',
'content': 'Content',
'bug': 'Bug/Error',
'slow': 'Performance',
'design': 'Design',
'mobile': 'Mobile',
'other': 'Other'
};
 
let summary = '';
 
if (thumb === 'up') {
summary = 'Positive Feedback\n';
summary += '─'.repeat(20) + '\n\n';
if (satisfaction) {
summary += `Satisfaction: ${satisfactionLabels[satisfaction] || satisfaction}\n`;
}
if (whatWorked.length > 0) {
summary += `What worked: ${whatWorked.length} items\n`;
}
} else if (thumb === 'down') {
summary = 'Issue Report\n';
summary += '─'.repeat(20) + '\n\n';
if (issueType) {
summary += `Issue Type: ${issueLabels[issueType] || issueType}\n`;
}
if (specificIssues.length > 0) {
summary += `Specifics: ${specificIssues.length} selected\n`;
}
if (urgency) {
summary += `Impact: ${urgency}/5\n`;
}
}
 
if (hasSuggestion === 'yes') {
summary += '\n+ Suggestion included';
}
 
return summary || 'Awaiting feedback...';
},
customStyles: () => {
const thumb = ratingSection.thumbRating('quickThumb')?.value();
const baseStyles = {
padding: '12px',
borderRadius: '8px',
whiteSpace: 'pre-wrap',
fontFamily: 'monospace',
fontSize: '13px'
};
if (thumb === 'up') {
return { ...baseStyles, backgroundColor: '#ecfdf5', borderLeft: '3px solid #10b981' };
}
return { ...baseStyles, backgroundColor: '#fef2f2', borderLeft: '3px solid #ef4444' };
}
});
});
 
// ============================================
// FORM CONFIGURATION
// ============================================
form.configureSubmitButton({
label: () => {
const thumb = ratingSection.thumbRating('quickThumb')?.value();
if (thumb === 'up') return 'Send Feedback';
if (thumb === 'down') return 'Report Issue';
return 'Submit';
},
isVisible: () => ratingSection.thumbRating('quickThumb')?.value() !== null
});
 
form.configureCompletionScreen({
type: 'text',
title: 'Thank you!',
message: 'Your feedback helps us improve. We appreciate you taking the time to share your thoughts.'
});
}
 

Frequently Asked Questions

Where should I place the website feedback widget?

Place it on high-traffic pages, after key actions (purchase, sign-up), or as a floating button accessible site-wide. Consider triggering it after specific user behaviors like prolonged page viewing or scroll depth.

How do I keep the widget non-intrusive?

The widget is designed to be compact and quick. Use it as an optional floating button rather than a popup. The thumb rating takes just one click, making it easy for users to provide quick feedback without disrupting their experience.

What's the best way to handle negative feedback?

The widget includes conditional logic that expands when users indicate issues, asking for more details. This helps you understand specific problems while keeping positive feedback quick and simple.

Can I customize the feedback categories?

Yes! The template includes common categories like usability, content, and bugs, but you can easily customize these to match your website's specific areas and concerns.

How does this differ from a full survey?

This widget is designed for quick, in-context feedback with 10-30 second completion time. Use it for ongoing pulse checks, while full surveys are better for deep-dive research conducted periodically.