Skip to content

Hand Note

Pro

A handwritten note with a hand-drawn arrow that points at the part to try, like "right click it". It draws once and fades on the first try.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 10, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Hand Note needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
22
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Wrap the target, then add the note parts after it.

The sample also uses Button. One command adds them with this item:

share-hint.tsx

HandNote

<span>
PropTypeDefaultDescription
tone"info""neutral"—
side"bottom""top""top"The edge of the target the note points at. Default top.
align"end""start""end"Which way the note leans from the middle of that edge. Default end.
size"default""lg""sm""default"Arrow 60, 72, or 96 px wide; label 17, 22, or 27 px. Default default.
showboolean—Show the note (controlled).
defaultShowbooleantrueThe first show (uncontrolled). Default true.
onShowChange—
hideOn"context-menu""focus""hover""never""press""press"The try of the target that hides the note. Default press (a pointer or key press).
trigger"mount""view""view"When it draws: view (default) the first time it is on screen, mount at once.
delaynumber0Seconds to wait before it draws. Default 0.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

HandNoteContent

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

HandNoteArrow

<svg>
PropTypeDefaultDescription
strokeWidthnumber2The pen width in px. Default 2.
curve"bounce""curl""hook""squiggle""straight""swoop""curl"The path of the arrow. Default curl.
head"barb""none""open""open"The head at the tip. Default open.
...props<svg> attributes—Every other attribute goes to the <svg>, with a ref.

HandNoteLabel

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

HandNoteMark

<svg>
PropTypeDefaultDescription
strokeWidthnumber—The pen width in px, the same at every size. Default 2.
markRequired"bang""burst""check""click""cross""double-click""drag""drop""heart""hover""key""lasso""long-press""pinch""question""resize""right-click""scroll""sparkles""spiral""star""swipe""tap""trail""type""zigzag"—The mark to draw: a gesture glyph (click, drag), a small mark (burst), or an area.
pixelSizenumber—The width in px; the height follows the mark. Default: 44, 32, or 160 by kind.
tone"info""neutral"—
loopboolean—Draw the action strokes again every 2.4s (the click ticks, the drag arrow), while the mark is on screen. Only gesture glyphs have action strokes. Default false.
...props<svg> attributes—Every other attribute goes to the <svg>, with a ref.
  • Wrap the target. Put HandNoteContent with a HandNoteArrow and a HandNoteLabel after it.
  • Pick hideOn by the action the note asks for: context-menu for a right click, hover for a hover.
  • Leave room on the side the note sits on: about 56px at sm, 72px at default.
  • Keep the label short, two or three words. It stays on one line.
  • For a hint that people can read with a screen reader, use a Tooltip.
EnterorSpaceOn the target, hides a note with hideOn="press", as a click does.
Context MenuorShiftF10On the target, hides a note with hideOn="context-menu", as a right click does.

Decoration only: the arrow is aria-hidden, and the note takes no pointer and no focus. The target keeps its own name and keys.

The menu key and Shift+F10 hide a context-menu note, and Enter and Space hide a press note, as a pointer does.

Draw
draw · 900ms · the arrow shaft, then its head, at one pen speed
Label
fade · fades in when the arrow is half drawn
Hide
fade-exit · 90ms, on the first try of the target

Built with

Installs with Hand Note

Components
Hand MarkPro
  1. AddedHand Note, with Hand Mark.
Open the release