Signature PadA signature pad widget — pill button morphs into a canvas to draw with mouse or touch.

WidgetsOnboardingFormsContracts

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/signature-pad
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for one inside Claude Code, Codex, or Cursor and it installs the component you pick. Works with any AI Canvas account, free or premium.

About Signature Pad

Signature Pad starts as a small pill button. Tap it and the pill smoothly morphs into a full canvas pad where you can draw with a mouse, trackpad, or touch. The drawing surface is a 2D canvas with proper pressure-style line interpolation; Motion drives the pill-to-pad transition so the affordance feels like one continuous gesture rather than two separate states. It is the right primitive for contracts, e-signature flows, delivery confirmations, and any form that needs a handwritten input without pulling in a heavy SDK.

Built with

MotionCanvasTailwind CSS

Frequently asked questions

Is Signature Pad free to use?
Yes. Signature Pad is part of the free AI Canvas library and is open source under the MIT license, so you can use it in personal and commercial projects.
How do I install Signature Pad?
One command: npx shadcn@latest add https://aicanvas.me/r/signature-pad.json, free with a free AI Canvas account. Or connect the AI Canvas MCP server and ask your AI editor to install Signature Pad for you. You can also copy the source straight from the Code tab, no account needed. It works in any React project with Tailwind CSS.
What is Signature Pad built with?
Signature Pad is built with React and TypeScript, using Motion, Canvas, and Tailwind CSS. It ships with both light and dark styling.
Where would I use Signature Pad?
Common uses include Onboarding, Forms, and Contracts. Like every AI Canvas component, it is self-contained and drops into any React project.
Can I remix Signature Pad with AI?
Yes. Signature Pad ships with one comprehensive AI prompt written against the real source code. Open "Remix with AI" on this page to read and copy it into Claude, Cursor, ChatGPT, or any AI tool. Prompts are for remixing your own variation; for the exact component, install it with the one-command CLI.

Featured in collections

More like this