Sean Hello

Expanding Icon Button

Buttons 35

About

A round icon button that expands into a pill with a text label on hover, useful for a compact floating action button that reveals its purpose.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Expanding Icon Button to your project and fits it to your theme.

Code

How Expanding Icon Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ExpandingIconButton from "@/components/ui/expanding-icon-button";

export default function ExpandingIconButtonDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center">
      <ExpandingIconButton />
    </div>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.8K
  • Line Charts 9

    Line Charts 9

    740
  • Alert

    Alert

    516
  • Line Charts 6

    Line Charts 6

    423
  • Area Charts 1

    Area Charts 1

    414
  • Scroll Area

    Scroll Area

    382
  • Navigation Menu

    Navigation Menu

    373
  • Statistics Card 7

    Statistics Card 7

    342

More in Buttons

View all
  • Texture Button

    Texture Button

    122
  • Button

    Button

    172
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    5
  • Button

    Button

    21