---
title: "Hand Mark"
description: "A hand-drawn mark that draws itself: 14 gesture glyphs (click, right click, drag, pinch), small marks (burst, check, star), and areas (trail, lasso)."
url: https://gelatinui.com/components/hand-mark
markdown_url: https://gelatinui.com/components/hand-mark.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/hand-mark"
version: "2026-11-10"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Hand Mark

> A hand-drawn mark that draws itself: 14 gesture glyphs (click, right click, drag, pinch), small marks (burst, check, star), and areas (trail, lasso).

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

## When to use it

Best for: A hand-drawn gesture glyph or small mark beside a part, in a demo, an empty state, or a hint.

- Pick a mark by name with `mark`. Set the width with `pixelSize`; the pen stays 2px wide.
- Use `loop` on a gesture glyph to replay its action strokes while it is on screen.
- Chain marks with `delay`, in seconds, so they draw as one pen.

## When not to use it

- For an arrow and a label that point at a part, use a [Hand Note](https://gelatinui.com/components/hand-note.md).

## Notes for agents

- Names: 14 gestures, 9 small marks (`burst`, `sparkles`, `check`, `cross`, `star`, `heart`, `bang`, `question`, `spiral`), and 3 areas (`trail`, `lasso`, `zigzag`).
- Only gesture glyphs have action strokes, so `loop` does nothing on other marks.
- `show={false}` fades the mark out in 90ms; `true` draws it again.
- Decorative: put the words beside it in your own text.

## Anatomy

```text
HandMark
```

## API reference

### HandMark

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `strokeWidth` | `number` | 2 | 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"` |  |  |
| `show` | `boolean` | true | Show the mark. `false` fades it out (90ms); `true` draws it again. Default `true`. |
| `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, to follow another mark or a label. Default 0. |
| `loop` | `boolean` | false | 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 |
| --- | --- | --- | --- | --- |
| HandMark | `hand-mark` |  |  |  |

## Usage

Name the mark and its width.

```tsx title="click-hint.tsx"
import { HandMark } from "@/components/pro/illustrations/hand-mark";

export function ClickHint() {
  return <HandMark mark="click" pixelSize={48} loop />;
}
```

## 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-mark
```

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

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

- [Hand Note](https://gelatinui.com/components/hand-note.md)
- [Empty](https://gelatinui.com/components/empty.md)
- [Icon Tile](https://gelatinui.com/components/icon-tile.md)

## Accessibility

Decoration only: the mark is `aria-hidden` and takes no pointer. Say what to do in the text beside it.

## Motion

| Part | Motion |
| --- | --- |
| Draw | draw · 900ms · split by stroke length; a burst staggers its rays by 30ms |
| Loop | progress · replays the action strokes every 2.4s, only on screen and in a shown tab |
| Hide | fade-exit · 90ms when `show` turns off |
