iamsatish4564

Eclipse Button

Buttons 5

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 * as React from 'react';
import { EclipseButton } from '@/components/ui/eclipse-button';
import { Save } from 'lucide-react';

export default function EclipseButtonLoading() {
const [isLoading, setIsLoading] = React.useState(false);

const handleClick = () => {
  setIsLoading(true);
  setTimeout(() => setIsLoading(false), 2500);
};

return (
  <div className="p-8 flex items-center justify-center bg-neutral-50 dark:bg-neutral-900">
    <EclipseButton
      onClick={handleClick}
      isLoading={isLoading}
      text={isLoading ? "Saving Changes..." : "Save Changes"}
      leftIcon={!isLoading && <Save className="w-4 h-4" />}
    />
  </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
  • Texture Button

    Texture Button

    92
  • Button

    Button

    4
  • Split Button

    Split Button

    14
  • Button

    Button

    32
  • Button Save

    Button Save

    46