Skip to content
All components

Signature

Stable

ProvenanceConsentClinical · Data Entry

Signature capture that records the times nobody signed — declined, unable, verbal, on paper — not just the times they did.

9 states22 propssince 0.1.0

Design language
Renders the preview in that framework’s own components and tokens. Clinical colours never change.
pnpm add @oxygenui-design/signature

This one ships on npm rather than as copied source, because it wraps antd — copying a framework into your repository would be a fork, not a component. What it inherits: modal's focus trap and restore. Import its stylesheet too: import "@oxygenui-design/signature/styles.css".

Preview

Every state, switchable.

Replayed from the stroke model

Not a video, and not a tween. Every segment appears at the millisecond its point was sampled at, so the pause before the surname is the one the signer actually took. The component stores points, time and pressure — the picture is derived, which is why it is still sharp at any size and still legible in dark mode.

Live · the real component

Draw, type, or upload. The Type tab is not a fallback — it is the mechanism that makes this operable without a pointer, which WCAG 2.1.1 requires at Level A. Try signing with the keyboard alone.

Stored as strokes, rendered as ink

Width as a function of pen speed, smoothed. Recomputed from the samples at any size, on any screen.