Skip to content
G

Griffo

Kerning-aware text splitting

by dimicxFree

#1011in Design
0In stores

Description

Griffo is a text splitting library for JavaScript that splits text into characters, words and lines while keeping the original kerning. Most…

Highlights

  • Splits text while keeping kerning
  • Preserves nested links and emphasis
  • Line detection and dash-aware wrapping
  • Works with React, Motion and GSAP
  • TypeScript types and screen reader support

Ratings & Reviews

No ratings yet

Be the first to rate Griffo.

People also visit

R

react-textfit

React component to fit headlines and paragraphs into any element

UI Libraries
Launch
T

TypingSVG

A More Powerful Typing SVG Generator—multi-line & blank-space formatting

Design
Launch
T

Tegaki

Handwriting animation for the web. Supports any font or text

Design
Launch
R

Readme Typing SVG

Dynamically generated, customizable SVG

Design
Launch
S

staggered-word-reveal

Create subtle editorial word-by-word text reveal animations where each word

AI Skills
Get
G

gsap-plugins

Complete toolkit for GSAP plugins: scroll, DOM layout, dragging, text splitting

AI Skills
Get

Griffo FAQ

What is Griffo?

It is a JavaScript library that splits text into characters, words and lines while keeping kerning intact, for animations.

How do I install it?

Run npm i griffo, then use it with vanilla JavaScript, React, Motion or CSS animations.

Why is kerning a problem?

Wrapping each character in its own element breaks the spacing between letter pairs. Griffo adds small adjustments so the text keeps its original spacing.

Is there a free version?

The site lists the library as free, and the source is on GitHub.

What are the best Griffo alternatives?

Popular alternatives to Griffo include TypingSVG, Tegaki and Readme Typing SVG. See all Griffo alternatives

Developer Stuff

Badges