Use when implementing expand and collapse content sections.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when implementing quickly navigate back to the top of the page.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Quickly navigate back to the top of the page
Back to Top gives users a quick way back to the page top after scrolling through lengthy or infinite content. This floating button or link typically sits at the bottom-right corner, improving navigation and user experience.
Use Back to Top to help users quickly return to long page tops without excessive scrolling. Common scenarios include:
references/pattern.md, then choose the smallest viable variation.Do's ✅
Target Metrics:
The Problem: Showing the Back to Top button on pages that don't require scrolling or have minimal content creates unnecessary UI clutter.
How to Fix It: Only display the button after the user has scrolled at least 2x the viewport height or a minimum of 1000px.
The Problem: Instantly jumping to the top without smooth scrolling can disorient users and make them lose context.
How to Fix It:
Implement smooth scrolling with scroll-behavior: smooth or JavaScript animation with appropriate duration (300-500ms).
The Problem: Using low contrast colors or making the button too small/transparent makes it hard to notice or click.
How to Fix It: Ensure sufficient color contrast (WCAG AA minimum) and use a minimum touch target of 44x44px.
The Problem: Placing the button where it covers important interactive elements like chat widgets or cookie banners.
How to Fix It: Carefully position the button to avoid overlapping with other floating elements, adjusting position dynamically if needed.
The Problem: Button only works with mouse/touch, excluding keyboard users from using the feature.
How to Fix It: Ensure the button is keyboard accessible, focusable with Tab, and activatable with Enter/Space keys.
The Problem: Button doesn't provide hover, focus, or active states, leaving users uncertain if their interaction registered.
How to Fix It: Implement clear visual states for all interactions including hover, focus, active, and disabled states.
For full implementation detail, examples, and testing notes, see references/pattern.md.
Pattern page: https://uxpatterns.dev/patterns/navigation/back-to-top
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Use when implementing expand and collapse content sections.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when implementing user account configuration and preferences.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when implementing social activity and updates stream.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when implementing conversational AI chat interfaces.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when implementing handling AI-specific errors.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when implementing loading states for AI operations.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.