Skip to content

PageFeedback

«Was this page useful?» Two buttons; the answer goes to the site as an event, to record where it wants.

import PageFeedback from '@sypnia/ui/astro/PageFeedback.astro'

On this page
  1. Ask once
  2. When to use it
  3. For everyone

Ask once

After an answer it thanks the reader and the buttons go away.

Was this page useful?

Thank you. It helps us write better pages.

Code
---
// Press one: the answer goes out as a `sy-feedback` event for the site to record.
import PageFeedback from '@sypnia/ui/astro/PageFeedback.astro';
---
<PageFeedback page="/docs/quickstart" />

When to use it

Use it when

  • At the foot of every docs page.

Do not use it when

  • Asking for long feedback: link to a form.

For everyone

  • The thanks is announced (a status), and focus moves to it.
  1. Ask once
  2. When to use it
  3. For everyone

    Search pages, sections and terms