Agent Skills
› nexu-io/motion-anything
› shuffle-text
shuffle-text
GitHub为短标签文字提供字母随机洗牌后归位的趣味动画效果,无依赖且支持减少运动偏好。
触发场景
需要为短文本添加动态揭示效果的场景
用户希望实现带有交互感的文字展示
安装
npx skills add nexu-io/motion-anything --skill shuffle-text -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"upstream": "https:\/\/reactbits.dev\/text-animations\/shuffle",
"design_system": {
"requires": false
}
},
"name": "shuffle-text",
"triggers": [
"shuffle text",
"letters shuffle",
"洗牌文字",
"乱序归位"
],
"description": "Letters shuffle through random neighbors then settle into the word — a quick playful reveal for a\nshort label. Final text is the real content; instant under prefers-reduced-motion.\n"
}
shuffle-text
A label whose letters shuffle into place. Dependency-free, reduced-motion safe.
How to apply
Copy shuffle-text.js; <span class="shuffle" data-text="LAUNCH">LAUNCH</span>. Re-runs on hover.
版本历史
- b016900 当前 2026-07-11 17:10


