Théo Balick

Expand Button

Buttons 13

About

An icon button whose text label slides out and fades in on hover or keyboard focus, keeping the UI compact at rest.

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

Code

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

Usage.tsx

import ExpandButton from "@/components/ui/expand-button";
import { Star } from "lucide-react";

export default function ExpandButtonDemo() {
  return <ExpandButton icon={<Star aria-hidden />} label="Star on GitHub" />;
}

Dependencies

More by Théo Balick

View all
  • Interactive Grid

    Interactive Grid

    127
  • Footer With Newsletter

    Footer With Newsletter

    79
  • Segmented Control

    Segmented Control

    68
  • Services List

    Services List

    39
  • Wave Lines

    Wave Lines

    29
  • Expandable Text

    Expandable Text

    15
  • Mask Reveal

    Mask Reveal

    13
  • Underline Link

    Underline Link

    13

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1