Elements

Components

Signature Pad

SignaturePad, dressed in the paper-and-ink system: a quiet paper field with a guide hairline where ink — real ink strokes — is laid down. The parts — Root, Label, Control, Segment, SegmentPath, Guide, ClearTrigger, HiddenInput, Context.

#Basic usage

signature-pad/basic Vue React
Signature

#Props

#ClearTrigger

A styled part — no props of its own; it takes the anatomy's shared styling.

#Control

A styled part — no props of its own; it takes the anatomy's shared styling.

#Guide

A styled part — no props of its own; it takes the anatomy's shared styling.

#HiddenInput

PropTypeDefaultDescription
valuestring—

#Label

A styled part — no props of its own; it takes the anatomy's shared styling.

#Root

PropTypeDefaultDescription
defaultPathsstring[]The default paths of the signature pad.
disabledbooleanWhether the signature pad is disabled.
drawingsignaturePad.DrawingOptions'{ size: 2, simulatePressure: true }'The drawing options.
idstringThe unique identifier of the machine.
idsPartial<{ root: string; control: string; hiddenInput: string; label: string; }>The ids of the signature pad elements. Useful for composition.
namestringThe name of the signature pad. Useful for form submission.
pathsstring[]The controlled paths of the signature pad.
readOnlybooleanWhether the signature pad is read-only.
requiredbooleanWhether the signature pad is required.
translationssignaturePad.IntlTranslationsThe translations of the signature pad. Useful for internationalization.

#Segment

A styled part — no props of its own; it takes the anatomy's shared styling.