1. Reference
  2. Display

<rate-this-app>

A tap target that asks for a store rating: the native rating sheet, the store listing or a feedback mail.

Display

This tag has more than one name. Every spelling is the same tag, so write whichever feels natural. Pick one and every example on this page uses it.

This tag needs an installed app on a phone with an app store, so try it on your phone.

rate-this-app.ham
<column style="items-center gap-12">
    <text style="font-semibold">Enjoying Trailmate?</text>
    <rate-this-app/>
    <rate-this-app type="feedback"
                   label="Send feedback"/>
</column>
The snippet drawn by Hype Apps on a phone, in light mode The snippet drawn by Hype Apps on a phone, in dark mode
This snippet as Hype Apps draws it on a phone. It follows this page's light or dark theme.

Attributes

NameWhat it doesDefault
label Text for the built-in face when the tag has no children.
string
subject Feedback subject.
string
to Feedback recipient; falls back to <config feedback_email>.
string
trigger auto: render nothing and ask for the native rating sheet once per session, delay seconds after it first appears.
auto
type prompt: native rating sheet with store-listing fallback; store: open the listing; feedback: mail composer.
prompt, store, feedback
prompt
when-available true hides the face until the OS confirms it can show a native rating prompt ($review.available).
boolean

Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.

This page is also Markdown, and all of HAM is in llms.txt.