{"repo":"dimicx/griffo","free":true,"listed":false,"github":"https://github.com/dimicx/griffo","clone":"git clone https://github.com/dimicx/griffo.git","description":"Kerning-aware text splitting","language":"TypeScript","stars":119,"topics":["animation","framer-motion","gsap","javascript","kerning","motion","react","split-text","text-animation","text-splitting"],"license":"MIT","category":"ui-components","readme_excerpt":"Griffo Kerning-aware text splitting. Split text into characters, words, and lines for animation — without breaking your typography. Most splitting libraries wrap each character in a and call it done, but that destroys the kerning between character pairs. Griffo compensates for this automatically. Docs: https://griffo.dev/ Install Quick Start Vanilla React Motion Morph Features - Kerning Compensation — Maintains original character spacing when splitting by chars - Nested Elements — Preserves , , and other inline elements with all attributes - Line Detection — Groups words into rendered lines - Dash Handling — Wraps naturally after em-dashes, en-dashes, hyphens, and slashes - Auto Re-split — Re-splits on container resize - Auto Revert — Restores original HTML after animations - Masking — Clip containers for reveal animations - Emoji Support — Handles compound emojis and complex Unicode characters - Accessible — Automatic screen reader support, even with nested links or emphasis - TypeScript — Full type definitions included - Zero Dependencies — 7 kB core with no external packages - Library Agnostic — Works with Motion, GSAP, CSS, WAAPI, or any animation code Entry Points Import Use for Size ------ ------ ------ griffo Vanilla JS or any framework 7.11 kB griffo/react React with callback/lifecycle control 8.23 kB griffo/motion Declarative Motion animations 13.78 kB griffo/morph Standalone MorphText component 7.95 kB Sizes are minified + brotli. API Overview Full API reference at ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dimicx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dimicx/griffo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}