Théo Balick

Expand Button

Buttons 8

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

    83
  • Footer With Newsletter

    Footer With Newsletter

    67
  • Segmented Control

    Segmented Control

    62
  • Services List

    Services List

    30
  • Wave Lines

    Wave Lines

    23
  • Expandable Text

    Expandable Text

    14
  • Underline Link

    Underline Link

    12
  • Mask Reveal

    Mask Reveal

    9

More in Buttons

View all
  • App Store Button

    App Store Button

    471
  • Button

    Button

    14
  • Texture Button

    Texture Button

    101
  • Button

    Button

    8
  • Button

    Button

    66
  • Native Button

    Native Button

    7
  • Button Group

    Button Group

  • Button

    Button

    75