Magoo Component UI logo Magoo Component UI
← Catalog

Customer Sign-off

customer-signoff molecule experimental

A sign-off card pairing a work summary with a signature canvas and Clear/Confirm controls.

Also in: Cards

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default

Sign-off for Rivera Residence

Replaced the water heater thermostat and pressure relief valve, tested for leaks and confirmed normal operation.

Customer signature

Minimal

Sign-off for Customer

Please sign below to confirm the work described on the job sheet was completed to your satisfaction.

Signature

Props

NameTypeReq
customer string
summary string
name_label string

Related components

How to use

The summary, framed empty canvas, signature line, caption and buttons are pure markup, so the card renders (and screenshots) without JavaScript, showing the pad empty and framed. behavior.js makes it interactive with Pointer Events: pointerdown starts a stroke (with setPointerCapture so a drag off the canvas keeps drawing), pointermove extends it with a round cap, pointerup ends it. The backing store is sized to the canvas box times devicePixelRatio on init for crisp lines. Clear wipes the canvas; Confirm exports a PNG data URL and dispatches "signoff:confirm" with { empty, dataUrl }. The portable self-init reads everything from the markup, passes no props, and cleans up all listeners on teardown.

Use cases

form-controlcard WCAG AA SEO 15 dir: both ai-generated