iotron/gsap-cookbook/gsap-text
Claude Code and agent skill by iotron/gsap-cookbook
- community
Checking that the SKILL.md file is still in the repository.
Production recipes for GSAP text animations using SplitText and ScrambleTextPlugin. Companion to official gsap-plugins skill (API reference). Triggers: SplitText, split text, text animation, word animation, scramble text, ScrambleTextPlugin, text reveal, masked text, clip reveal, word stagger, text stagger, character animation, char split, kinetic text, elastic type, text decode, terminal text, cyber text, glitch text, chainTextReveal, useReveal text, GSAP text, Vue text animation, Nuxt text animation. Non-triggers: Not for scroll-driven animation without text (use gsap-scroll), mouse interactions (use gsap-interact), SVG animation (use gsap-svg), or general visual effects (use gsap-vfx). Outcome: Produces text animations — masked word reveals, scramble decodes, kinetic splits, and the useReveal composable API.
Install
npx vskill@latest install iotron/gsap-cookbook/gsap-textSKILL.md
The same SKILL.md was published earlier as iotron/gsap-cookbook/gsap-text.
GSAP Text — SplitText + ScrambleText
Flow: gsap-setup → gsap-animate → gsap-text → gsap-optimise → gsap-testKey files:composables/useReveal.js,plugins/gsap.js,assets/css/tailwind.css
Companion: For SplitText/ScrambleText API reference, invoke gsap-plugins. This skill covers text animation recipes only. Requires:greensock/gsap-skills
1. SplitText Setup
Creating a split
2. Masked Word Slide-Up (Production Pattern)
The standard heading reveal used across 25+ components.
Via useReveal (preferred)
3. ScrambleText Decode
See gsap-plugins skill for ScrambleText API reference. Recipe:
4. Gotchas Summary
See references/learnings.md for full details and code examples.
- Await
document.fonts.readybeforeSplitText.create() autoSplit: trueis for lines only (responsive reflow) — words/chars don't need it. Always pair withonSplit()- Parent autoAlpha + child mask: use
visibility, notautoAlpha - Never blank
textContentbefore scramble - Set
overwrite: falseon colocated per-word tweens - SplitText preserves
<span>— use:deep(div)for gradient styles - CSS
.reveal+.text-revealpre-hide classes prevent FOUC
5. useReveal Composable Reference
| Method | Description | |
|---|---|---|
init(fn) | Async: waits for fonts, lazy-loads SplitText + Scramble, creates gsap.context | |
hero(selector?, overrides?) | Immediate reveal for above-fold. Auto-detects .text-reveal children | |
scroll(selector?, overrides?) | Per-element ScrollTrigger reveal with .reveal + .text-reveal | |
split(target) | SplitText wrapper: creates masked word split, tracks for cleanup |
Cleanup is automatic — onUnmounted reverts gsap.context and all SplitText instances.
References
references/text-patterns.md— Combined clip+scramble, kinetic character split, elastic type assembly, rolling text (3D slot machine), horizontal text (containerAnimation), masked lines reveal, autoSplit with ScrollTriggerreferences/learnings.md— 7 critical gotchas from production debugging
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gsap-text/SKILL.md
Popularity
- Repository stars
- 8
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iotron/gsap-cookbook/gsap-text)