Read the pad from outside its tree and attach the signature as a PNG file.
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A 3x scale PNG Blob wrapped in a File object, with Attach and Clear buttons outside the pad driving it by ref
When to use
- Contracts, agreements and statements of work signed in place, down to initials per clause
- Required form fields, proof of delivery on a phone and a profile signature reused on documents
- Mouse, finger or stylus ink exported as PNG, JPEG, SVG or JSON, or uploaded as an image Blob
When not to use
- A signer picking an existing image of their mark from disk: use the File Upload component
- A sign in or sign up page where people type an email and a password: use the Auth blocks
- A whole data entry page of typed fields with nothing drawn by hand: use the Form blocks
Agent notes
prepareUploadbuildsfilebut only shows its name and size; append it to a FormData and POST it to your endpoint- Image exports draw ink with no
colorof its own in black, on a transparent background exceptjpeg; passbackgroundfor paper white readOnlylocks a signed pad at full ink strength whiledisableddims it; both stop input and drop the area from the tab order- With
nameset, keepformatassvgorjson;pngandjpegrasterize the hidden form field after every stroke
https://reui.io/components/signature-pad/c-signature-pad-12.mdget_example("c-signature-pad-12")npx shadcn@latest add @reui/c-signature-pad-12Shadcn Components in Signature Pad File Upload
About Shadcn Signature Pad File Upload
Upload with apiRef. Built by composing Button, Signature Pad. A free, open source shadcn signature pad example you can install with npx shadcn@latest add @reui/c-signature-pad-12 and edit as your own code.
What You Can Build With Shadcn Signature Pad File Upload
- Composes Button, Signature Pad, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-signature-pad-12
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Signature Pad Examples
- Pinned Actions Pinned clear and save
- Undo & Redo Undo and redo toolbar
- Form Validation Form field with validation
- Signing Workspace Signing workspace
- Export Formats Export PNG, JPEG, SVG or JSON
- Draw or Type Draw or type
- Agreement Card Agreement signing card
- In Dialog Signature in a dialog
- Stylus Mode Stylus mode with palm rejection
- Clause Initials Initials per clause
- Proof of Delivery Proof of delivery
Related Shadcn Component Categories
Open-source shadcn skeleton components for loading placeholders, perceived performance, and content previews.
Open-source shadcn slider components for range filters, pricing controls, and media settings.
Open-source shadcn Sonner toast components for success feedback, error states, and non-blocking updates.
Open-source shadcn sortable components for drag-and-drop lists, priority ranking, and reordering rows.
Open-source shadcn spinner components for loading indicators, async actions, and button states.
Open-source shadcn stepper components for multi-step forms, checkout flows, and onboarding.
Frequently Asked Questions
When should I use Shadcn Signature Pad File Upload?
Use it for a 3x scale PNG Blob wrapped in a File object, with Attach and Clear buttons outside the pad driving it by ref.
Shadcn Signature Pad as a whole fits:
- Contracts, agreements and statements of work signed in place, down to initials per clause
- Required form fields, proof of delivery on a phone and a profile signature reused on documents
- Mouse, finger or stylus ink exported as PNG, JPEG, SVG or JSON, or uploaded as an image Blob
For a signer picking an existing image of their mark from disk, use the File Upload component. For a sign in or sign up page where people type an email and a password, use the Auth blocks. For a whole data entry page of typed fields with nothing drawn by hand, use the Form blocks.
How do I install Shadcn Signature Pad File Upload?
Is Shadcn Signature Pad File Upload free to use?
Which components does Shadcn Signature Pad File Upload use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.