GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

03Keyboard tabs — a tab list recomputing its underline position from the active value

Once the arrow keys change the active tab, that tab's horizontal position and width are recomputed and the underline moves to those values, while a tab sitting off-screen shifts the list sideways by that same amount.

Best forCategory tabs in a settings screen, a top tab menu in a dashboard

getBoundingClientRect--x--w
Keyboard tabs — a tab list recomputing its underline position from the active value
Open in a new tab

03 Keyboard tabs — a tab list recomputing its underline position from the active value — Measured area 0.953% · moving frames 8/23Original by GODRICH · SCSS and React ship in the zip · Micro Interactions: 9 Essential UI Patterns

The post this demo lives in

Micro Interactions: 9 Essential UI Patterns - preview of all 9 demosMicro Interactions: 9 Essential UI PatternsMicro interactions: One toast recomputes its dismiss time from its stack order; one compares each heading's viewport ove See all demos in this post

If you like this effect - similar demos