Théo Balick

Expand Button

Buttons 3

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
  • Segmented Control

    Segmented Control

    52
  • Footer With Newsletter

    Footer With Newsletter

    41
  • Services List

    Services List

    23
  • Interactive Grid

    Interactive Grid

    17
  • Expandable Text

    Expandable Text

    14
  • Underline Link

    Underline Link

    9
  • Wave Lines

    Wave Lines

    6
  • Newsletter Signup Card

    Newsletter Signup Card

    5

More in Buttons

View all
  • Button

    Button

    14
  • Button

    Button

    34
  • Texture Button

    Texture Button

    92
  • Button Save

    Button Save

    46
  • Button

    Button

    64
  • Button Group

    Button Group

    3
  • App Store Button

    App Store Button

    454
  • Notification Button

    Notification Button

    103