scroll-progress-timeline
하는 일
이 스킬은 순서가 있는 단계들을 잇는 진행 선을 만들고, 독자가 스크롤할 때 각 단계를 강조합니다. 온보딩 흐름, 로드맵, 사례 연구, 프로세스를 보여주려는 디자이너와 개발자를 위한 것입니다.
사용하는 경우
- ✓온보딩이나 결제 흐름처럼 순서가 있는 과정을 스크롤에 따라 진행 상황으로 보여줘야 할 때.
- ✓로드맵이나 연혁 페이지에서 독자가 내려갈수록 선이 채워져야 할 때.
- ✓단계가 휴대폰에서나 움직임 없이도 분명하게 읽혀야 할 때.
스킬 링크
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/scroll-progress-timeline/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“온보딩 5단계를 타임라인으로 보여 주세요. 사람들이 아래로 스크롤하면 선이 채워지게요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 실제 순서 목록을 만들고, 기본 선과 그 위에 진행 선을 그립니다. 첫 단계와 마지막 단계를 기준으로 진행률을 계산하며, 진행 선이 닿으면 해당 단계를 강조합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Scroll Progress Timeline
Use one progress line to connect ordered information. The sequence must remain complete, readable, and navigable before animation is added.
Model the steps
Keep the content data-driven:
const steps = [
{ id: "brief", number: "01", title: "Set the direction", body: "..." },
{ id: "build", number: "02", title: "Make the system", body: "..." },
{ id: "ship", number: "03", title: "Release and learn", body: "..." }
];
Render it as an ordered list with real headings. The line, dots, media, and active state enhance that structure; they do not replace it.
Build the line
- Render a quiet base line behind every point.
- Place one progress line on top with
transform-origin: topfor vertical orleftfor horizontal. - Measure the first and last point centers, not arbitrary section edges.
- Normalize scroll position between those centers.
- Apply
scaleY(progress)orscaleX(progress)so updates stay on the compositor. - Mark a step active when the progress head crosses its center.
const progress = Math.min(1, Math.max(0,
(viewportAnchor - lineStart) / (lineEnd - lineStart)
));
line.style.transform = `scaleY(${progress})`;
Schedule DOM writes in one animation frame. Recalculate geometry after font and image loading, resize, orientation changes, and content mutation.
Choose the layout
- Use a centered alternating timeline only when both sides have enough width and similar content weight.
- Use a left rail for long copy, compact steps, or mixed card heights.
- Use a horizontal line for short sequences with concise labels and explicit keyboard-safe overflow.
- Use pinned full-screen chapters only when each step carries a distinct visual state. Keep the pin finite and release before the next section.
- Collapse to a simple left rail on small screens. Do not preserve alternation at the expense of reading order.
Animate step state
Use small opacity, translate, scale, blur, color, or media transitions. Keep every step readable while inactive. Expose active index with aria-current="step" only when that state is meaningful and current; do not announce every scroll update with a live region.
Use IntersectionObserver for simple active-state entry. Use a normalized scroll measurement or GSAP ScrollTrigger when the line must fill continuously or coordinate pinned media.
Handle navigation
- Make step links real anchors when users can jump within the process.
- Add
scroll-marginfor sticky headers. - Preserve focus and do not move it during passive scrolling.
- Keep URLs and browser history stable unless the user explicitly selects a step.
- If steps are interactive, use buttons or links with visible focus; never make a decorative dot the only control.
Reduce motion
Under prefers-reduced-motion: reduce, show the complete line or discrete reached states without scrubbed interpolation, blur, pinning, or large transforms. Keep ordinary document flow and all step content.
Verify
Test variable step counts, uneven card heights, missing media, long translations, 390/768/1024/1440 widths, 200% zoom, fast forward and reverse scrolling, direct anchor navigation, keyboard order, reduced motion, late font/image layout, route cleanup, and console errors. The active step and line head must agree at every boundary.
Use demo/index.html as the working reference and demo/PROMPT.md to recreate or remix it. Keep REFERENCES.md as the links-only implementation source list.
자주 묻는 질문
애니메이션이 콘텐츠를 가리나요?
아니요. 스킬은 애니메이션을 더하기 전에 전체 순서가 완전하고 읽기 쉬워야 한다고 말합니다.
모바일에서도 작동하나요?
네. 스킬은 반응형 축소를 다루므로, 좁은 화면에서는 레이아웃이 바뀔 수 있습니다.
동작 줄이기 설정을 지원하나요?
네. 스킬에는 동작 줄이기 설정에 맞는 동작이 포함되어 있습니다.
상세 정보
작성자의 원본 설명
Turn any ordered process into a data-driven vertical or horizontal scroll story with a base line, progress fill, active step states, responsive collapse, semantic fallback, and reduced-motion behavior. Use for onboarding, checkout, roadmaps, recipes, case studies, service processes, histories, or narratives where progress through the sequence should become visible while scrolling.
repo: MengTo/Skills
인기도
- GitHub 스타
- 7.2k
- 순위
- #13462
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
3d-cloth-material
7.2k에이전트가 Three.js에서 실 짜임, 부드러운 광택, 자연스러운 주름, 단, 솔기를 갖춘 실제 직물처럼 보이는 천을 만들도록 돕습니다.
3d-falling-leaves
7.2k에이전트가 3D 장면에 나뭇잎이 구르고 바람에 흩날리며 카메라 움직임에 따라 재사용되는 낙엽 효과를 추가하도록 돕습니다.
3d-four-seasons
7.2k에이전트가 3D 장면의 나무, 빛, 하늘, 눈을 바꿔 장면을 다시 만들지 않고 봄, 여름, 가을, 겨울을 표현하도록 돕습니다.
3d-high-poly-models
7.2k에이전트가 매끄러운 형태와 자연스러운 모서리를 가진 세밀한 3D 모델을 만들고, 웹에서 잘 돌아가는 가벼운 버전을 준비하도록 돕습니다.
비슷한 스킬
blender-motion-state-inspection
280k3D 애니메이션의 포즈, 움직임, 캐릭터 정렬 같은 세부 사항을 점검하도록 돕습니다.
manim-video
280k애니메이션 설명 영상을 에이전트가 만들도록 돕습니다. Manim을 사용해 기술 개념을 설명하는 명확한 그래프와 도표를 만듭니다.
remotion-video-creation
280kReact와 Remotion 라이브러리로 영상을 만드는 과정을 에이전트에게 안내합니다. 애니메이션, 오디오, 자막 등 시각 요소의 모범 사례를 다룹니다.