iamsatish4564

Micro Expander

Buttons 353

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

    1.1K
  • Animated Profile Card

    Animated Profile Card

    137
  • Morph Button

    Morph Button

    112
  • Curtain Button

    Curtain Button

    76
  • Prime Button

    Prime Button

    63
  • Eclipse Button

    Eclipse Button

    39

More in Buttons

View all
  • Texture Button

    Texture Button

    93
  • App Store Button

    App Store Button

    457
  • Button Group

    Button Group

  • Button

    Button

    32
  • Button

    Button

    14
  • Button

    Button

    65
  • HeroUI Button Group

    HeroUI Button Group

    9
  • Astryx Button Group

    Astryx Button Group

    22