Skip to main content
rule CX Codex

spring-pop-entrance — Claude Code rule for entrance animation

The spring-pop-entrance rule describes a smooth scale-in for one element or a staggered group. Use it for interface elements that should arrive on screen without bouncing.

AGPL-3.0 ★ 78,316 updated 2026-10-24

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/spring-pop-entrance.md
Open on GitHub

What spring-pop-entrance does

The element starts collapsed and transparent, then grows to its resting size as its opacity increases. For groups, the examples offset each animation by the element’s index. A small upward movement is optional.

The rule includes HTML and CSS examples plus a GSAP timeline built with fromTo. Its explicit start state keeps the element collapsed when the timeline is sought to its beginning. power3.out is the default easing; expo.out gives the arrival a quicker start, while back.out is reserved for deliberately playful motion. The examples load GSAP 3.14.2 from a CDN.

For Claude Code, save the rule at .claude/rules/spring-pop-entrance.md. The sample timeline depends on GSAP, so it won’t run without that library. This rule covers entrances, not press feedback.

What it helps with

  • reveal a card with a smooth scale-in
  • stagger the entrance of a group of elements
  • set an explicit hidden state for timeline seeking
  • separate an entrance animation from press feedback

Example prompts for the agent

  • Give this card a smooth entrance from zero scale to its resting size.
  • Reveal these icons in sequence with a slight upward movement.
  • Make the heading start hidden when the timeline is sought to its beginning.

How to install spring-pop-entrance

Manually: put the files in place

.claude/rules/spring-pop-entrance.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about spring-pop-entrance

How do I install spring-pop-entrance in Claude Code?

Save the rule as .claude/rules/spring-pop-entrance.md.

What does spring-pop-entrance do?

It defines a smooth scale-and-opacity entrance for an element or a staggered group. The default motion settles without a bounce.

How is spring-pop-entrance different from press-release-spring?

This rule animates an element arriving on screen from a collapsed state. press-release-spring describes feedback after a press, followed by a spring recovery.

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set101

The whole set →
avatar-cloud-network avatar-cloud-network guides the agent in creating an elliptical community reveal scene with a center hub and SVG lines. Built for social proof animations powered by GSAP. CX Codex +1 ★ 78,316repo stars viewport-change viewport-change — a rule that teaches the agent a virtual camera in GSAP scenes: zoom, pan and focus-lock on a moving element, all through one wrapper. CX Codex +1 ★ 78,316repo stars coordinate-target-zoom coordinate-target-zoom — a rule that teaches the agent to zoom into an element displaced from viewport center by pairing scale with counter-translation — the target lands at center after the zoom. CX Codex +1 ★ 78,316repo stars ai-tracking-box ai-tracking-box generates an animated target bounding box with corner brackets and oscillating coordinates to simulate computer vision tracking in GSAP. CX Codex +1 ★ 78,316repo stars depth-scatter-assemble depth-scatter-assemble — a rule for scenes where glyphs, cards or logo pieces arrive out of a turning 3D cloud and land in a flat layout. The reverse also works. CX Codex +1 ★ 78,316repo stars ambient-glow-bloom ambient-glow-bloom defines code patterns for soft backdrop glow and light sweeps on key elements. Guides code assistants to write seek-safe GSAP timelines without infinite loops. CX Codex +1 ★ 78,316repo stars music-to-video music-to-video turns a music track into a beat-synced HyperFrames video. Use it for lyric-style clips, slideshows, or kinetic promo visuals with optional media. CX Codex +1 ★ 78,316repo stars depth-of-field-blur depth-of-field-blur is a Claude Code rule for selective focus in GSAP scenes: one layer stays crisp while the others blur and dim. It brings attention to the main element in a frame. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open