Velocity X Components

Long-form

Article Feedback Prompt

A lightweight 'was this helpful?' strip for the end of a post or docs page — thumbs up/down with an optional comment box that only appears after a choice is made, ending in a thank-you state. A deliberately lighter, binary take than a full satisfaction-score prompt, built to drop straight into prose with no state library.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add article-feedback-prompt

Built for astro.

Full docs for Article Feedback Prompt →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.2
Article Feedback Prompt

Was this article helpful?

Props

NameTypeRequiredDefaultDescription
questionstringNo'Was this helpful?'
endpointstringNoOptional URL to POST { helpful, comment } to. Omit to only dispatch the event.
thankYouTextstringNo"Thanks — that helps us improve this page."

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/article-feedback-prompt/ArticleFeedbackPrompt.astro

Using the Article Feedback Prompt component

Install it with velocityx add article-feedback-prompt. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Long-form.