WebGPU shader effects packaged as drop-in components for React, Vue, Svelte, Solid and plain JavaScript.
gkurt/tegaki
Turns any font into animated handwriting that draws itself stroke by stroke, for React, Vue, Svelte, Solid, Astro and vanilla JS.
- Stars
- 3,244
- Forks
- 123
- Open issues
- 0
- Last commit
- 9 days ago
What is it?
Tegaki is a handwriting animation library that converts any font into text that draws itself stroke by stroke. Developers do not need to author paths by hand or install native dependencies; they pick a font and render text with a component.
The core package provides framework wrappers for React, Svelte, Vue, SolidJS and Astro, plus a vanilla JavaScript engine and Web Components support. Several handwriting fonts are bundled, including Latin scripts, Arabic, Hebrew, Devanagari, Bengali, Japanese, Korean and Simplified Chinese, and other fonts can be converted with the online studio.
A command-line tool generates looping, one-time or static animated SVGs from a text string without installing anything. Shaping uses harfbuzz compiled to WASM, so ligatures, Arabic joining and right-to-left text are handled.
Key features
- 01Animates any font stroke by stroke with natural timing.
- 02Provides wrappers for React, Svelte, Vue, SolidJS, Astro, and Web Components.
- 03Bundles handwriting fonts for Latin, Arabic, Hebrew, Devanagari, Japanese, Korean and Chinese.
- 04Command-line tool generates self-drawing SVG files via npx.
- 05Handles ligatures, Arabic joining and right-to-left text through harfbuzz.
Use cases
- Adding animated handwritten headings to a marketing or landing page.
- Generating animated SVG logos or banners for a README or slide deck.
- Creating handwriting text animations in videos built with Remotion.
Quick start
- 1
Install the package
npm install tegaki - 2
Use the React renderer with a bundled font
Topics
FAQ
- What is tegaki?
- Turns any font into animated handwriting that draws itself stroke by stroke, for React, Vue, Svelte, Solid, Astro and vanilla JS. Tegaki is a handwriting animation library that converts any font into text that draws itself stroke by stroke. Developers do not need to author paths by hand or install native dependencies; they pick a font and render text with a component.
- Is tegaki free to use? What license does it have?
- tegaki is open source under the MIT license. Check the license terms before using it in commercial products.
- Is tegaki still maintained?
- Actively maintained. The last commit to tegaki was on Oct 11, 2026.
- What can I use tegaki for?
- Adding animated handwritten headings to a marketing or landing page. Generating animated SVG logos or banners for a README or slide deck. Creating handwriting text animations in videos built with Remotion.
- How do I install tegaki?
- Install the package: npm install tegaki Use the React renderer with a bundled font
- Where can I get tegaki?
- The source code and installation instructions are on GitHub: https://github.com/gkurt/tegaki
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An open library of about 7,600 brand and cloud SVG icons, available via npm, CDN, CLI, and an MCP server for AI editors.
A collection of optimized, customizable SVG tech logos for developers, available as an npm package of React components.
Animated ascii art pieces for React, Next.js, Astro, plain HTML tags, SVG and the terminal, with 240 ready-made pieces.
A React and TypeScript library of hand-drawn, naive folk art style SVG icons with an optional AI agent skill.
A Claude agent skill that builds interactive isometric SVG illustrations of real machines and systems to explain technical ideas.