Components
Unofficial shadcn components that you asked for and we could not find better so far.
Signature form element that saves canvas area as PNG image
npx shadcn@latest add https://www.shadcn-form.com/registry/signature-input.json
Once the component is installed successfully, add the following JSON files to your project. /data/
folder is recommended for better organization.
'use client'import SignatureInput from '@/components/ui/signature-input'
<SignatureInputcanvasRef={canvasRef}onSignatureChange={field.onChange}/>