---
title: "Hand Note"
description: "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."
url: https://gelatinui.com/components/hand-note
markdown_url: https://gelatinui.com/components/hand-note.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/hand-note"
version: "2026-11-10"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Hand Note

> 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.

Page: https://gelatinui.com/components/hand-note

## When to use it

Best for: A demo or an empty state where the main action is hidden: a right click, a drag, a hover, a key.

- 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.

## When not to use it

- For a hint that people can read with a screen reader, use a [Tooltip](https://gelatinui.com/components/tooltip.md).

## Notes for agents

- The note never measures. Pick `side` and `align` for the frame; at 375px a wide target leans to `start`.
- The label font is `--font-hand`, then Kalam, then any cursive face. The item loads no font.
- It draws the first time the target is in view and the tab shows (`trigger="view"`), or at once with `mount`.
- Uncontrolled it hides once and does not come back. Use `show` and `onShowChange` to keep it hidden across visits.

## Anatomy

```text
HandNote
├─ HandNoteContent (0..n)
├─ HandNoteArrow (0..n)
├─ HandNoteLabel (0..n)
└─ HandNoteMark (0..n)
```

## API reference

### HandNote

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `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`. |
| `show` | `boolean` |  | Show the note (controlled). |
| `defaultShow` | `boolean` | true | The first `show` (uncontrolled). Default `true`. |
| `onShowChange` | `function` |  |  |
| `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. |
| `delay` | `number` | 0 | Seconds to wait before it draws. Default 0. |

### HandNoteContent

No props of its own: `className`, `children`, and every other prop go to the element it renders.

### HandNoteArrow

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `strokeWidth` | `number` | 2 | The 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`. |

### HandNoteLabel

No props of its own: `className`, `children`, and every other prop go to the element it renders.

### HandNoteMark

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `strokeWidth` | `number` |  | The pen width in px, the same at every size. Default 2. |
| `mark` | `"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. |
| `pixelSize` | `number` |  | The width in px; the height follows the mark. Default: 44, 32, or 160 by kind. |
| `tone` | `"info" \| "neutral"` |  |  |
| `loop` | `boolean` |  | 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`. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| HandNote | `hand-note` |  | `--font-hand` |  |
| HandNoteContent | `hand-note-content` |  |  |  |
| HandNoteArrow | `hand-note-arrow` |  |  |  |
| HandNoteLabel | `hand-note-label` |  |  |  |
| HandNoteMark | `hand-note-mark` |  |  |  |

## Usage

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

The sample also uses `button`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui-pro/hand-note @gelatin-ui/button
```

```tsx title="share-hint.tsx"
import {
  HandNote,
  HandNoteArrow,
  HandNoteContent,
  HandNoteLabel,
} from "@/components/pro/illustrations/hand-note";
import { Button } from "@/components/ui/button";

export function ShareHint() {
  return (
    <HandNote>
      <Button variant="outline">Share</Button>
      <HandNoteContent>
        <HandNoteArrow />
        <HandNoteLabel>try this</HandNoteLabel>
      </HandNoteContent>
    </HandNote>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui-pro/hand-note
```

It adds 24 registry items: 22 files, 3630 lines, and the npm packages `@base-ui/react`, `@mantine/hooks`, `clsx`, `motion`, `tailwind-merge`, `tailwind-variants`.

## Built on

- [Hand Mark](https://gelatinui.com/components/hand-mark.md)

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Context Menu](https://gelatinui.com/components/context-menu.md)
- [Tooltip](https://gelatinui.com/components/tooltip.md)
- [Hand Mark](https://gelatinui.com/components/hand-mark.md)

## Keyboard

| Keys | Action |
| --- | --- |
| Enter, Space | On the target, hides a note with `hideOn="press"`, as a click does. |
| Context Menu, Shift+F10 | On the target, hides a note with `hideOn="context-menu"`, as a right click does. |

## Accessibility

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.

## Motion

| Part | Motion |
| --- | --- |
| 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 |
