Signature Pad
A pad you sign with a mouse, pen or finger.
$149 once · every Pro piece
Customize
Lines thin out when you move fast and swell under pen pressure, smoothed through quadratic midpoints, and the ink leaves the tip hot and cools to bone over about 600ms. Undo removes the last stroke, Clear fades the ink away, and Export hands an SVG string to onChange.
Install
npx shadcn@latest add @obsyde/signature-padNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { SignaturePad } from '@/components/obsyde/ember/signature-pad/SignaturePad';
export function Example() {
return (
<SignaturePad placeholder="Sign here" />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/signature-pad/SignaturePad.tsxcomponentember/signature-pad/signature-pad.cssstylesember/signature-pad/SignaturePadDemo.tsxdemoember/tactile-kit/kit.tssharedember/shared/accent.tssharedember/shared/spring.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
heightHeight | number | 200 |
penWidthPen width | number | 2.6 |
placeholderPrompt | string | 'Sign here' |
disabledDisabled | boolean | false |