# linjc/smooth-signature

H5带笔锋手写签名，支持PC端和移动端，任何前端框架均可使用

Repository: https://github.com/linjc/smooth-signature
Canonical: https://ross.abutalabs.com/products/smooth-signature
Homepage: https://linjc.github.io/smooth-signature/
Language: TypeScript
License: MIT
License Family: permissive
Topics: canvas, signature, javascript, react-signature, vue-signature, typescript
Last push: 2025-04-17T11:24:01+00:00

## Health v2 (maintenance only)
Score: 40/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 17, release rhythm 35, longevity 100
- inputs: {"age_days": 1774, "days_push": 503, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1018, forks 111 (observed 2026-08-28T04:03:14.879682+00:00)

## What it is
A TypeScript canvas library for capturing handwritten signatures in the browser with a natural pen-brush (variable stroke width) effect. It works with any frontend framework on both desktop and mobile, and supports exporting PNG/JPG, undo/redo, and canvas rotation.

## Use cases
- capture handwritten signatures in a web form
- add e-signature pad to H5 mobile page
- draw signatures with realistic pen pressure effect on canvas
- integrate signature capture into Vue or React app
- export signed signature as PNG or JPG image
- replace signature_pad with smoother stroke rendering

## When to choose
- you need a browser-based signature pad with a natural brush/pen-tip effect
- you want a framework-agnostic library usable in Vue, React, or plain JS
- you need undo/redo, clear, and image export out of the box
- you target both desktop and mobile touch devices

## When to avoid
- you need a native app or WeChat mini-program signature pad (use mini-smooth-signature instead)
- you require actual stylus pressure sensitivity rather than speed-based stroke width
- you need server-side or offline document signing workflows

## Facets
- artifact type: library
- maturity: active
- function: ui-components, image-processing
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: canvas, signature, handwriting, e-signature, typescript, pen-brush-effect

## Member repositories
- linjc/smooth-signature (main) score 40

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.879682+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:09:29.421622+00:00, confidence not recorded.
  - readme: https://github.com/linjc/smooth-signature (fetched 2026-08-28T04:03:14.879682+00:00, sha 81f9e235aacb)
  - homepage: https://linjc.github.io/smooth-signature/ (fetched 2026-08-29T13:10:02.037294+00:00, sha e04ba7c27d3f)
  - registry_npm: https://registry.npmjs.org/smooth-signature (fetched 2026-08-29T13:10:02.039671+00:00, sha 5070d5c0df30)
- Data as of 2026-08-30T08:39:29.467469+00:00.
