Button Icon Reveal

Unlimited

On hover the label slides aside and an icon glides into the space it leaves, or an existing icon exits and re-enters like a conveyor. The button never changes width.

buttonhovericonrevealcss

Installation

Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/button-icon-reveal.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.

Build it with AI

Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.

More buttons

All 16 buttons →