scroll-fx

Add scroll-triggered reveals and parallax effects. Uses IntersectionObserver for reveals and CSS scroll-driven animations for parallax.

dragoon0x/optik5 installsApache-2.0Synced Aug 27

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI

Agent Skills format with YAML frontmatter. Claude Code reads it as-is.

---
name: "scroll-fx"
description: "Add scroll-triggered reveals and parallax effects. Uses IntersectionObserver for reveals and CSS scroll-driven animations for parallax."
license: "Apache-2.0"
---

# /scroll-fx — Scroll Effects

Add scroll-based effects:

**Reveal on scroll:** Elements fade in and translate up 20-30px as they enter the viewport.
- Use IntersectionObserver with threshold: 0.1
- Stagger siblings with 80-120ms delays
- One-shot (don't re-hide on scroll up)

**Parallax:** Background layers move at different rates.
- Use CSS scroll-driven animations where supported
- Fall back to transform: translateY with scroll listeners
- Keep subtle (0.1-0.3 rate difference)

Always respect prefers-reduced-motion.

More General & Other skills

← All General & Other skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY