iamsatish4564

Micro Expander

Buttons 352

About

Here is Micro Expander component

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

Code

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

Usage.tsx

'use client';

import { MicroExpander } from '@/components/ui/micro-expander';
import { Heart, MessageCircle, Repeat2, Share2 } from 'lucide-react';

export default function MicroExpanderToolbar() {
return (
  <div className="w-full min-h-[200px] flex items-center justify-center p-4 bg-muted/30 rounded-lg">
    <div className="flex flex-wrap items-center justify-center gap-3 p-3 bg-background border rounded-full shadow-sm">
      <MicroExpander 
        text="Like" 
        variant="ghost" 
        icon={<Heart className="w-5 h-5" />} 
        className="hover:text-red-500 hover:bg-red-50"
      />
      <MicroExpander 
        text="Reply" 
        variant="ghost" 
        icon={<MessageCircle className="w-5 h-5" />} 
        className="hover:text-blue-500 hover:bg-blue-50"
      />
      <MicroExpander 
        text="Repost" 
        variant="ghost" 
        icon={<Repeat2 className="w-5 h-5" />} 
        className="hover:text-green-500 hover:bg-green-50"
      />
      <MicroExpander 
        text="Share" 
        variant="ghost" 
        icon={<Share2 className="w-5 h-5" />} 
      />
    </div>
  </div>
);
}

Dependencies

More by iamsatish4564

View all
  • Portfolio and Image Gallery

    Portfolio and Image Gallery

    1K
  • Animated Profile Card

    Animated Profile Card

    136
  • Morph Button

    Morph Button

    110
  • Curtain Button

    Curtain Button

    76
  • Prime Button

    Prime Button

    63
  • Eclipse Button

    Eclipse Button

    39

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Button

    Button

    32
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Split Button

    Split Button

    32
  • App Store Button

    App Store Button

    454