id | string | Yes | — | Annotation id. |
type | "message" | Yes | — | Discriminator. |
variant | "pointer" | "callout" | "area" | No | "callout" | pointer is a pulsing dot; callout is a pinned card; area is a clickable rectangle with a pinned card. |
x | number | Yes | — | Normalized x, 0 to 1. |
y | number | Yes | — | Normalized y, 0 to 1. |
w | number | No | — | Width of the hit region, 0 to 1. Used for variant: "area". |
h | number | No | — | Height of the hit region, 0 to 1. Used for variant: "area". |
text | string | No | — | Message body. Inline markdown. |
target | object | No | — | Optional HTML target for HTML demos. { type: "html-element", alphaId } pins the message to a captured element. |
advancesStep | boolean | No | true | Whether clicking the hotspot advances the step. |
anchor | "top" | "right" | "bottom" | "left" | "auto" | No | "auto" | Card placement relative to the point. |
textAlign | "left" | "middle" | "right" | No | "left" | Message text alignment. |
showNavigation | boolean | No | true | Whether the card renders prev/next navigation. |
background | string | No | — | CSS color override for the card background. |
textColor | string | No | — | CSS color override for the message text. |
borderRadius | string | No | — | CSS border-radius override. |
prevButton | object | No | — | { label?, hidden }, where hidden defaults to false. |
nextButton | object | No | — | { label?, hidden }, where hidden defaults to false. |