svg-letter-draw
v1.1.4
Published
<div align="center"> <h1>svg-letter-draw</h1> <a href="https://www.npmjs.com/package/svg-letter-draw"><img alt="Latest version on npm" src="https://img.shields.io/npm/v/svg-letter-draw.svg?style=flat" /></a> <a href="https://github.com/expwr/svg-let
Maintainers
Readme
A React component to animate text with SVG letter drawing using Framer Motion and opentype.js. Easily customize fonts, colors, stroke widths, animation timings, and fill effects.

Features
- Animated SVG letter drawing with smooth, customizable transitions.
- Support for custom fonts via opentype.js.
- Configurable stroke and fill colors (accepts both single values and arrays).
- Two fill animation styles: fade (default) and draw (line-drawing effect).
- Adjustable letter spacing, animation duration, delay, and stroke width.
- Responsive design: scales with the container.
Installation
Install via npm:
npm install svg-letter-draw