Slide the nav underline when changing tabs #28

Merged
rhino merged 1 commits from cursor/sliding-tab-indicator into main 2026-10-09 14:18:41 +00:00
Owner

Summary

  • Slide the active nav underline between pages with a cross-document view transition.
  • Fade and slightly raise the page content; keep the navbar still.
  • Skip the animation when reduced motion is requested.

Test plan

  • Open the app and switch between ثبت اطلاعات, صف چاپ, and محصولات. The underline should slide to the new tab and the page content should fade in.
  • With reduced motion enabled, the tab change should be instant and the underline should still sit under the active link.
  • Confirm the navbar itself does not slide or fade.
## Summary - Slide the active nav underline between pages with a cross-document view transition. - Fade and slightly raise the page content; keep the navbar still. - Skip the animation when reduced motion is requested. ## Test plan - [ ] Open the app and switch between ثبت اطلاعات, صف چاپ, and محصولات. The underline should slide to the new tab and the page content should fade in. - [ ] With reduced motion enabled, the tab change should be instant and the underline should still sit under the active link. - [ ] Confirm the navbar itself does not slide or fade.
rhino added 1 commit 2026-10-09 14:02:33 +00:00
rhino changed title from WIP: Slide the nav underline when changing tabs to Slide the nav underline when changing tabs 2026-10-09 14:18:40 +00:00
rhino merged commit 9821457268 into main 2026-10-09 14:18:41 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rhino/product-slip#28