# Switch On Hover Tabs

**Group:** Menus and navigation  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/switch-on-hover-tabs.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/switch-on-hover-tabs.mp4)  
**Source:** [https://ui.aryank.space/components/switch-on-hover-tabs](https://ui.aryank.space/components/switch-on-hover-tabs)  
**Human:** https://blankinterfaces.com/lab/switch-on-hover-tabs

---

## What it is

A vertical tab column welded into an image panel, where moving the mouse across a tab is the whole interaction. The active tab takes the panel's own fill and drops its right-hand radius so the two shapes read as one surface, and two twenty pixel concave fillets sit above and below its right edge to round the junction the way a browser tab meets its bar. Only the active tab renders its description, so selecting one grows it and springs the rest of the column out of the way instead of cross-fading text in a fixed box. Touch devices fall back to tap, matching the source's separate mobile variants.

## Behaviour

### The tab and the panel are one shape

An active tab takes the panel's exact fill and drops its right-hand radius, so the seam between them disappears. Two 20px concave fillets sit above and below its right edge, filling the junction with a quarter squircle subtracted from the corner. Without them the tab reads as a rectangle parked next to the panel rather than growing out of it.

### Only the active tab has a description

The body copy is not faded in place, it changes the tab's height. Selecting one grows that tab and springs the others out of the way on the shell spring, which is why the column feels mechanical rather than like text swapping inside a fixed box.

### Two springs, not one

The column reflow runs at stiffness 300 / damping 50 so it settles without wobble at large travel, while fill, fillets, and the description reveal run at bounce 0.2 over 0.4s. Sharing one spring makes either the layout mushy or the colour twitchy.

### Hover is desktop only, by pointer type

Touch fires a synthetic pointerenter immediately before the tap, so the handler ignores anything that is not a mouse. Phones get the tap path, which is how the source splits its desktop and mobile variants.

---

[View all content](https://blankinterfaces.com/sitemap.md)
