Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

react-animationReact animation 前端

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

2,544

周安装

106

GitHub Stars

334

下载量

848
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:react-animation(React animation 前端)
来源仓库:https://github.com/notedit/happy-skills
仓库路径:skills/react-animation
安装命令:
npx skills add https://github.com/notedit/happy-skills --skill react-animation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/notedit/happy-skills --skill react-animation

简介

react-animation 用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码。
  • 使用时需结合项目现有设计系统、路由和构建方式,避免只生成孤立片段。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • 该技能适用于动画效果实现与动效系统集成场景。

SKILL.md

When to use

Use this skill when creating Remotion video compositions that need aesthetically refined visual effects. Components are curated for motion graphics excellence, categorized by visual style.

Installation

npx shadcn@latest add https://reactbits.dev/r/<Component>-TS-CSS

🎨 Aesthetic Categories

Components organized by visual style. Avoid mixing more than 2 styles in one video.


1. Elegant & Soft (优雅柔和)

*Smooth, cinematic, refined. Best for luxury brands, emotional storytelling.*

Text

ComponentInstallAesthetic
BlurTextnpx shadcn add https://reactbits.dev/r/BlurText-TS-CSSBlur-to-clear cinematic reveal

Backgrounds

ComponentInstallAesthetic
Auroranpx shadcn add https://reactbits.dev/r/Aurora-TS-CSSFlowing northern lights
Silknpx shadcn add https://reactbits.dev/r/Silk-TS-CSSMinimalist fabric waves
Grainientnpx shadcn add https://reactbits.dev/r/Grainient-TS-CSSGrainy artistic gradients

Effects

ComponentInstallAesthetic
Ribbonsnpx shadcn add https://reactbits.dev/r/Ribbons-TS-CSSFlowing silk ribbons
ShapeBlurnpx shadcn add https://reactbits.dev/r/ShapeBlur-TS-CSSSoft abstract geometry

Usage Pattern:

const ElegantScene: React.FC = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  return (
    <AbsoluteFill>
      <Aurora time={frame / fps} colorStops={['#3A29FF', '#FF94B4', '#FF3232']} />
      <BlurText text="Elegant Title" startFrame={15} />
    </AbsoluteFill>
  );
};

2. Modern & Tech (现代科技)

*Cutting-edge, dynamic, futuristic. Best for tech products, startups, innovation.*

Text

ComponentInstallAesthetic
GlitchTextnpx shadcn add https://reactbits.dev/r/GlitchText-TS-CSSDigital glitch artifacts
GradientTextnpx shadcn add https://reactbits.dev/r/GradientText-TS-CSSFlowing gradient sweep

Backgrounds

ComponentInstallAestheticDisable Mouse
Iridescencenpx shadcn add https://reactbits.dev/r/Iridescence-TS-CSSRainbow oil-slickmouseReact={false}
LiquidChromenpx shadcn add https://reactbits.dev/r/LiquidChrome-TS-CSSLiquid metal surfaceinteractive={false}
Particlesnpx shadcn add https://reactbits.dev/r/Particles-TS-CSSFloating data pointsmoveParticlesOnHover={false}

Effects

ComponentInstallAesthetic
MetaBallsnpx shadcn add https://reactbits.dev/r/MetaBalls-TS-CSSOrganic liquid fusion
Antigravitynpx shadcn add https://reactbits.dev/r/Antigravity-TS-CSSEthereal particle field

Usage Pattern:

const TechScene: React.FC = () => (
  <AbsoluteFill style={{ background: '#000' }}>
    <Iridescence mouseReact={false} color={[0.3, 0.1, 0.8]} speed={1} />
    <GlitchText speed={0.5} enableShadows enableOnHover={false}>
      FUTURE IS NOW
    </GlitchText>
  </AbsoluteFill>
);

3. Luxury & Premium (奢华高端)

*Metallic, refined, sophisticated. Best for luxury goods, finance, high-end services.*

Text

ComponentInstallAesthetic
ShinyTextnpx shadcn add https://reactbits.dev/r/ShinyText-TS-CSSMetallic sheen sweep

Backgrounds

ComponentInstallAesthetic
Silknpx shadcn add https://reactbits.dev/r/Silk-TS-CSSPremium fabric texture

Effects

ComponentInstallAesthetic
StarBordernpx shadcn add https://reactbits.dev/r/StarBorder-TS-CSSAnimated gradient border

Usage Pattern:

const LuxuryScene: React.FC = () => (
  <AbsoluteFill style={{ background: '#0a0a0a' }}>
    <Silk speed={0.5} color="#1a1a2e" />
    <StarBorder color="#gold" speed="4s">
      <ShinyText text="PREMIUM" color="#c9b037" shineColor="#fff" />
    </StarBorder>
  </AbsoluteFill>
);

4. Retro & Pixel (复古像素)

*Nostalgic, digital, lo-fi. Best for gaming, retro tech, vaporwave aesthetics.*

Text

ComponentInstallAesthetic
TextTypenpx shadcn add https://reactbits.dev/r/TextType-TS-CSSTerminal typewriter
DecryptedTextnpx shadcn add https://reactbits.dev/r/DecryptedText-TS-CSSData decryption effect

Transitions

ComponentInstallAesthetic
PixelTransitionnpx shadcn add https://reactbits.dev/r/PixelTransition-TS-CSSPixel grid dissolve

Backgrounds

ComponentInstallAesthetic
LetterGlitchnpx shadcn add https://reactbits.dev/r/LetterGlitch-TS-CSSMatrix code rain
Dithernpx shadcn add https://reactbits.dev/r/Dither-TS-CSSRetro dithering
FaultyTerminalnpx shadcn add https://reactbits.dev/r/FaultyTerminal-TS-CSSCRT monitor effect

Usage Pattern:

const RetroScene: React.FC = () => (
  <AbsoluteFill style={{ background: '#000' }}>
    <LetterGlitch glitchSpeed={100} glitchColors={['#0f0', '#00ff41']} />
    <GlitchText>SYSTEM OVERRIDE</GlitchText>
  </AbsoluteFill>
);

5. Energy & Dramatic (能量戏剧)

*High-impact, dynamic, powerful. Best for action, sports, announcements.*

Backgrounds

ComponentInstallAestheticDisable Mouse
Lightningnpx shadcn add https://reactbits.dev/r/Lightning-TS-CSSElectric stormNone
Beamsnpx shadcn add https://reactbits.dev/r/Beams-TS-CSSVolumetric light columnsNone
LightRaysnpx shadcn add https://reactbits.dev/r/LightRays-TS-CSSGod rays, dramaticfollowMouse={false}

Usage Pattern:

const DramaticScene: React.FC = () => (
  <AbsoluteFill>
    <Lightning hue={45} intensity={0.8} speed={2} />
    <BlurText text="THUNDER STRIKE" />
  </AbsoluteFill>
);

6. Abstract & Artistic (抽象艺术)

*Experimental, artistic, unique. Best for creative projects, music videos.*

Text

ComponentInstallAesthetic
DecryptedTextnpx shadcn add https://reactbits.dev/r/DecryptedText-TS-CSSCryptic reveal

Backgrounds

ComponentInstallAestheticDisable Mouse
Plasmanpx shadcn add https://reactbits.dev/r/Plasma-TS-CSSOrganic flowing colorsmouseInteractive={false}
Prismnpx shadcn add https://reactbits.dev/r/Prism-TS-CSSLight refractionanimationType='rotate'

7. Utility (通用工具)

*Enhance any scene.*

Overlay

ComponentInstallPurpose
Noisenpx shadcn add https://reactbits.dev/r/Noise-TS-CSSFilm grain texture overlay

Usage Pattern:

const SceneWithGrain: React.FC = () => {
  const frame = useCurrentFrame();
  const { width, height } = useVideoConfig();
  const canvasRef = useRef<HTMLCanvasElement>(null);

  useEffect(() => {
    const ctx = canvasRef.current?.getContext('2d');
    if (!ctx || frame % 2 !== 0) return;

    const imageData = ctx.createImageData(width, height);
    for (let i = 0; i < imageData.data.length; i += 4) {
      const seed = frame * 100000 + i / 4;
      const val = Math.floor((Math.sin(seed) * 10000 % 1) * 255);
      imageData.data[i] = imageData.data[i + 1] = imageData.data[i + 2] = val;
      imageData.data[i + 3] = 15;
    }
    ctx.putImageData(imageData, 0, 0);
  }, [frame]);

  return (
    <>
      <YourScene />
      <canvas ref={canvasRef} style={{ position: 'absolute', inset: 0, pointerEvents: 'none' }} />
    </>
  );
};

🔧 Core Adaptation Patterns

Frame-Based Animation

Replace all time-driven animations with useCurrentFrame():

import { useCurrentFrame, useVideoConfig, interpolate, Easing } from 'remotion';

// Before: time accumulation
// After: deterministic from frame
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const progress = interpolate(frame, [0, 30], [0, 1], {
  easing: Easing.out(Easing.cubic),
  extrapolateLeft: 'clamp',
  extrapolateRight: 'clamp',
});

Seeded Randomness

Ensure deterministic rendering:

function seededRandom(seed: number): number {
  const x = Math.sin(seed) * 10000;
  return x - Math.floor(x);
}

const rand = seededRandom(frame * 1000 + index);

Shader Uniforms

For WebGL/OGL components:

// Time uniform
uniforms.iTime.value = frame / fps;

// Scripted mouse path (optional)
uniforms.iMouse.value.set(
  0.5 + 0.3 * Math.sin(frame / fps),
  0.5 + 0.2 * Math.cos(frame / fps * 0.7)
);

⚠️ Style Consistency Guidelines

DO:

  • ✅ Mix Elegant + Luxury styles (BlurText + ShinyText + Silk)
  • ✅ Mix Modern + Retro styles (GlitchText + LetterGlitch)
  • ✅ Use Noise overlay on ANY scene
  • ✅ Keep backgrounds subtle when text is prominent

DON'T:

  • ❌ Mix Elegant + Retro (BlurText + PixelTransition)
  • ❌ Mix Luxury + Glitch (ShinyText + GlitchText)
  • ❌ Use Lightning with complex text animations
  • ❌ Use more than 2 background effects simultaneously

📦 Full Component List (35 curated)

Text (6)

BlurText, GlitchText, GradientText, ShinyText, DecryptedText, TextType

Backgrounds (18)

Aurora, Silk, Grainient, Lightning, Iridescence, LiquidChrome, Particles, Galaxy, Plasma, LetterGlitch, Beams, LightRays, Dither, FaultyTerminal, DarkVeil, PixelSnow, Balatro, Prism

Effects (10)

MetaBalls, Ribbons, ShapeBlur, Antigravity, StarBorder, PixelTransition

Utility (1)

Noise


❌ Removed Components

Why these were removed:

  • Low aesthetic value: SplitText, FadeContent, AnimatedContent
  • Style overlap: ElectricBorder (covered by GlitchText), Orb (covered by Iridescence)
  • Outdated aesthetics: Hyperspeed, Cubes, Squares
  • Narrow use cases: CircularText, RotatingText, TrueFocus
  • Functional > Aesthetic: Counter, Stepper, Carousel (UI components)

🎬 Recommended Combinations

Project TypeTextBackgroundEffectMood
Luxury BrandShinyTextSilkStarBorderPremium
Tech StartupGradientTextIridescence-Innovative
Creative StudioBlurTextAuroraRibbonsArtistic
GamingGlitchTextLetterGlitchPixelTransitionEdgy
DocumentaryBlurTextGrainientNoiseCinematic
Event PromoDecryptedTextLightning-Energetic

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.41%
按下载量换算292

Claude

27.88%
按下载量换算236

Cursor

18.92%
按下载量换算160

Gemini CLI

9.92%
按下载量换算84

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/notedit/happy-skills --skill react-animation 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills