gsap-react
78Animate 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.
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.
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "gsap-utils" from https://skillstore.io/skills/greensock-gsap-utils.md and its manifest at https://skillstore.io/api/skills/greensock-gsap-utils/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“gsap-utils”。 Clamp animation progress to 0 through 1. What happens to -0.2, 0.5, and 1.2?
预期结果:
The first value becomes 0, the middle value stays at 0.5, and the last value becomes 1. Reuse the same clamping function for subsequent updates.
正在使用“gsap-utils”。 Two components both contain elements named .item. How can I animate only the first component?
预期结果:
Create a scoped selector from the first component container. Use its matching descendants as tween targets so the second component remains unchanged.
正在使用“gsap-utils”。 Map scroll to rotation and snap it to 15-degree steps. What angle follows from 410 pixels in a range of 0 through 800?
预期结果:
Mapping 410 pixels to a full rotation gives 184.5 degrees. The nearest 15-degree step is 180 degrees.
All 70 static findings are false positives: Markdown backticks mark code, URLs are GSAP references, and the reconnaissance matches describe colors or animation grids. The reviewed file contains no evidence of shell execution, unauthorized requests, system reconnaissance, or prompt injection.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/greensock-gsap-utils/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/greensock-gsap-utils?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/greensock-gsap-utils?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/greensock-gsap-utils/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/greensock-gsap-utils.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-utils security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/greensock-gsap-utils/audits/1@techreport{greensock-greensock-gsap-utils-2026,
author = {greensock},
title = {gsap-utils security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/greensock-gsap-utils/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-utils 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-utils/audits/1"
identifiers:
- type: other
value: "skillstore:greensock-gsap-utils:audit:1"
description: "Skillstore immutable audit report identifier"
Turn scroll progress into an angle and clamp input that falls outside the expected range.
Use snap to keep an animated marker on a visual grid and compare different step sizes.
Check whether repeated components share a global selector and propose a selector scoped to each container.
Show how to clamp a numeric progress value between 0 and 1 with GSAP. Explain the results for -0.2, 0.5, and 1.2.
Use gsap.utils.snap to create a reusable helper that aligns horizontal positions to 20-pixel steps. Show what happens to 13, 38, and 62 pixels.
Scope the tween to my grid container and use gsap.utils.distribute to vary scale from the center to the edges. Explain how the base and amount affect the result.
Use gsap.utils.pipe to clamp scroll input to 0 through 800 pixels and map it to 0 through 360 degrees. Snap the result to 15-degree steps and list checks for below-range, midpoint, and above-range inputs.
作者
greensock许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
5a685fd3b2304f9e4cbf5164d3ac3186cd35324e
维护新鲜度
2026/11/25
使用量
0 次下载 · 0 次浏览
文件结构
📄 SKILL.md
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.
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.
为 HyperFrames 构建 GSAP 动画
由 heygen-com
HyperFrames 动画工作需要精准的 GSAP 时序、效果和性能选择。此技能为补间动画、时间轴、打字机文本和音频响应式视觉效果提供聚焦参考。
将 CloudBase AI 模型添加到 Web 应用
由 tencentcloudbase
当模型组、身份验证或 Token Credits 尚未准备好时,浏览器 AI 集成可能会失败。此技能为 Web 应用提供 CloudBase 预检、模型启用和 SDK 调用指导。
Build Interactive Three.js Scenes
由 freshtechbro
Building browser-based 3D scenes requires coordinating rendering, assets, interaction, and performance. This skill provides Three.js examples, reference guides, and a WebGL starter to support implementation.
使用 Resend 构建 React Email 模板
由 resend
创建可用于生产环境的电子邮件模板并不容易,因为各个邮件客户端存在差异。此技能会指导 Claude、Codex 和 Claude Code 完成 React Email 组件、发送、样式、本地化和编辑器工作流。
改进 Vue 3 TypeScript 实践
由 hyf0
Vue TypeScript 项目经常遇到令人困惑的模板、路由器和 Volar 错误。此技能为 Codex、Claude 和 Claude Code 提供有针对性的 Vue 3 修复方案。
改进 Vue Options API 组件
由 vuejs-ai
Vue Options API 项目可能会失去类型安全性和正确的 this 绑定。此技能提供更安全 Vue 组件的直接模式。