shshaw/Splitting
JavaScript microlibrary to split an element by words, characters, children and more, populated with CSS variables! observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3162
- days_rel: n/a
- days_push: 805
- n_releases_24m: 0
Adoption not part of the score
1757 stars · 74 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Splitting.js is a tiny JavaScript microlibrary that splits DOM elements into words, characters, child nodes, and more, wrapping them in spans populated with CSS variables and data attributes. It unlocks CSS transitions and animations that were previously impractical, in a ~1.5kb gzipped package.
Use cases
- animate text character by character with CSS
- split headings into words and letters for staggered animations
- add CSS variables to split elements for transitions
- create text reveal and entrance effects on websites
- split grid items or images for progressive animation
- progressively enhance text animations without breaking older browsers
When to choose
- you want pure CSS-driven text animations with minimal JavaScript
- you need a tiny dependency for splitting text into words or characters
- you want to animate grids, images, or DOM children with staggered CSS effects
When to avoid
- you need a full JavaScript animation engine with timeline control
- your project requires server-side text processing rather than DOM manipulation
- you need complex physics or scroll-based animation libraries
Facets
library · maturity stable
animation ui-components templating web-development frontend web-design browser css-variables text-splitting microlibrary text-animation css-transitions nodejs
3 sources
- readme: https://github.com/shshaw/Splitting · fetched 2026-08-28 · 8d0da2dab2c9
- homepage: https://splitting.js.org · fetched 2026-08-29 · bbc0a2008a3c
- registry_npm: https://registry.npmjs.org/splitting · fetched 2026-08-29 · 23dee036e1c5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shshaw/Splitting | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="shshaw/Splitting")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem