iamsatish4564

Eclipse Button

Buttons 39

About

Here is Eclipse Button component

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

Code

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

Usage.tsx

'use client';

import { EclipseButton } from '@/components/ui/eclipse-button';
import { Trash2 } from 'lucide-react';

export default function EclipseButtonVariants() {
return (
  <div className="p-4 min-h-[200px] flex items-center justify-center bg-neutral-50 dark:bg-neutral-900">
    {/* 
      NOTE: This layout uses container queries (@sm, @lg, etc.).
      For this to work in your own application, the parent element of this component 
      must have the Tailwind CSS class "@container".
    */}
    <div className="grid w-full grid-cols-1 gap-8 @md:grid-cols-2 @lg:grid-cols-4 place-items-center">
      <EclipseButton variant="primary" text="Primary" />
      <EclipseButton variant="outline" text="Outline" />
      <EclipseButton variant="ghost" text="Ghost" />
      <EclipseButton 
        variant="destructive" 
        text="Delete" 
        leftIcon={<Trash2 className="w-4 h-4" />} 
      />
    </div>
  </div>
);
}

Dependencies

More by iamsatish4564

View all
  • Portfolio and Image Gallery

    Portfolio and Image Gallery

    1K
  • Micro Expander

    Micro Expander

    352
  • Animated Profile Card

    Animated Profile Card

    136
  • Morph Button

    Morph Button

    110
  • Curtain Button

    Curtain Button

    76
  • Prime Button

    Prime Button

    63

More in Buttons

View all
  • Button

    Button

    5
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Button

    Button

    4
  • Texture Button

    Texture Button

    92
  • Split Button

    Split Button

    14
  • Button

    Button

    32
  • Button Save

    Button Save

    46