Rebar UI

1.0

opinion

SignaturePad

A canvas to sign on, with optional typed-name and upload paths.

Sign hereDraw with a pointer or finger

Nothing drawn yet.

Typed or uploaded
With stamp
Disabled

In context

Approve artworkSign-off is blocked until there is a signature
Approve depot fasciadepot-fascia-final.pdf, 1.4 MB
Review

Signing approves the artwork for print at the three northern depots.

Props

PropTypeRequiredDefault
valuestring | undefinedNo—
onValueChange((value: string) => void) | undefinedNo—
widthnumber | undefinedNo400
heightnumber | undefinedNo160
penColorstring | undefinedNo#212121
backgroundColorstring | undefinedNo#ffffff
disabledboolean | undefinedNo—
markDisabledboolean | undefinedNo—
clearLabelstring | undefinedNoClear
allowUploadboolean | undefinedNo—
uploadLabelstring | undefinedNoUpload
allowTypedNameboolean | undefinedNo—
defaultTypedNamestring | undefinedNo
typedNamePlaceholderstring | undefinedNoType your name
typedNameFontstring | undefinedNo'Brush Script MT', 'Segoe Script', cursive
onTypedNameChange((name: string) => void) | undefinedNo—
stampSignaturePadStamp | undefinedNo—
actionsEndReactNodeNo—
aria-labelstring | undefinedNoSignature
classNamestring | undefinedNo—

data-rebar-* attributes

data-rebar-component="signature-pad" on the root, present with data-rebar-empty while nothing has been drawn; parts: typed-name, canvas, actions, clear, upload.

Migrating to Ant Design

Not codemod-covered — AntD ships no dedicated signature-capture component; a migration typically keeps this exact canvas approach and re-skins the Clear button.