codepenz
← Back to catalog

Expanding Icon Toolbar

A dark icon toolbar where each button widens on hover or keyboard focus to slide its label into view — the label drawn purely with CSS content: attr() and a growing pill, no JavaScript.

MenusButtonsComponentscsshovertooltiptoolbarheroiconsfocus-visible
Added July 5, 2026
Hover or tap the icons.
Icons are borrowed from Heroicons.