gsap-utils
78Transform animation values with GSAP utilities
Animation inputs often need to be converted, bounded, or snapped before they can drive a tween. This reference shows which GSAP helper to use and when to reuse it as a function.
Animate React Components with GSAP
React animations can affect the wrong elements or persist after a component unmounts. Use scoped GSAP selectors and React lifecycle cleanup to prevent these issues.
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "gsap-react" from https://skillstore.io/skills/greensock-gsap-react.md and its manifest at https://skillstore.io/api/skills/greensock-gsap-react/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“gsap-react”。 Fade in items for each list instance without affecting other lists.
预期结果:
Each list has a root ref for its animation scope. Only that list's items fade in, and the hook reverts its animations when it unmounts.
正在使用“gsap-react”。 My button creates a new tween when clicked, but the component leaves a listener after unmount.
预期结果:
The click handler is wrapped so the animation context tracks each tween. Cleanup removes the registered click listener.
正在使用“gsap-react”。 Set up an animation in Next.js without using the React integration package.
预期结果:
The component creates its scoped animation context inside a browser-side React effect. The effect reverts that context during cleanup.
All 18 static alerts are false positives: Markdown formatting, a GSAP documentation link, and React cleanup guidance. The installation block lists standard npm commands for GSAP and its React integration; it does not use shell substitution. No evidence of prompt injection, system reconnaissance, or data exfiltration was found.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/greensock-gsap-react/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/greensock-gsap-react?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/greensock-gsap-react?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/greensock-gsap-react/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/greensock-gsap-react.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>greensock. (2026). gsap-react security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/greensock-gsap-react/audits/1@techreport{greensock-greensock-gsap-react-2026,
author = {greensock},
title = {gsap-react security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/greensock-gsap-react/audits/1},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "gsap-react security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "greensock"
date-released: "2026-11-21"
url: "https://skillstore.io/skills/greensock-gsap-react/audits/1"
identifiers:
- type: other
value: "skillstore:greensock-gsap-react:audit:1"
description: "Skillstore immutable audit report identifier"
Animate the children of each card list without selecting elements in other instances.
Set up a Next.js section animation inside a client-side hook so it does not run during server rendering.
Check whether animations and native event listeners are removed when a component unmounts.
Show how to fade in a React panel on mount with useGSAP. Target the panel with a ref.
Animate the items in this React list with a stagger. Scope the selectors to the list root so multiple instances can animate independently.
Update this tween when endX changes. Set the hook dependencies and use revertOnUpdate to revert the previous animation before rebuilding it.
Review this Next.js component for animation calls during server render. Wrap click-triggered tween creation with contextSafe and remove any native listeners during cleanup.
作者
greensock许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
5a685fd3b2304f9e4cbf5164d3ac3186cd35324e
维护新鲜度
2026/11/25
使用量
0 次下载 · 0 次浏览
文件结构
📄 SKILL.md
Transform animation values with GSAP utilities
Animation inputs often need to be converted, bounded, or snapped before they can drive a tween. This reference shows which GSAP helper to use and when to reuse it as a function.
Build Scroll Animations with GSAP ScrollTrigger
Scroll-driven interfaces can break when triggers, pinning, refresh order, or cleanup are configured incorrectly. This skill provides focused GSAP ScrollTrigger implementation guidance.
Build Animations with GSAP Plugins
GSAP plugin selection and configuration can be difficult across scrolling, text, SVG, and drag interactions. This skill provides focused examples, option references, and lifecycle guidance.
Sequence Animations with GSAP Timelines
Coordinating multiple animations becomes difficult when timing depends on separate delays. This skill guides GSAP timeline sequencing with labels, relative positions, shared defaults, and playback controls.
Optimize GSAP Animation Performance
Layout-heavy animations and overlapping tweens can cause visible jank. This skill guides your assistant toward transform-based motion, batched updates, reusable tweens, and targeted cleanup.
Build Responsive Web Animations with GSAP
Web animations can feel inconsistent across screen sizes and ignore user motion preferences. This skill guides you in writing GSAP tweens with predictable timing, responsive behavior, and reduced motion support.
构建现代 React 和 Next.js 应用
由 sickn33
React 和 Next.js 项目通常需要在路由、组件、样式、数据、表单、测试和部署方面保持一致的设置选择。此技能为 Claude、Codex 和 Claude Code 提供基于阶段的工作流,用于规划和构建现代前端应用。
在资深指导下构建全栈应用
由 alirezarezvani
全栈项目通常需要一致的设置、架构选择和质量检查。此技能为 React、Next.js、Node.js、GraphQL 和 PostgreSQL 工作提供脚本与参考资料。
构建类型安全的 React 组件
由 softaworks
React TypeScript 工作通常需要精确的事件、hook 和路由类型。此技能提供针对类型化组件、React 19 API 和路由的聚焦模式。
构建可用于生产的前端功能
由 davila7
前端团队需要在各项目中获得一致的 React 和 Next.js 指导。此技能提供用于前端分析的参考工作流、质量实践和辅助脚本。
应用 React 组合模式
由 vercel-labs
带有许多布尔 props 的 React 组件会变得难以维护和审查。此技能为智能体提供清晰的模式,用于复合组件、显式变体以及基于 provider 的状态管理。
实现 React View Transitions
由 vercel-labs
React 视图过渡很容易放错位置,从而导致无提示或嘈杂的动画。此技能可指导路由、Suspense、列表和共享元素动画的选择。