Skip to content

Variable: SignatureInk ​

ts
const SignatureInk: ForwardRefExoticComponent<SignatureInkProps & RefAttributes<SignatureInkHandle>>;

Native signature pad: PencilKit on iOS, a velocity-Bezier renderer on Android. Size it with style, configure it with SignatureInkProps and drive it through a SignatureInkHandle ref.

Example ​

ts
const ref = useRef<SignatureInkHandle>(null);

<SignatureInk ref={ref} style={{ height: 240 }} showBaseline showToolbar />;

const png = await ref.current?.toBase64({ trim: true });

Released under the MIT License.