SO called

Star Button

Buttons 615

About

The StarButton is a visually striking button that features a radial light animation with a starry background.

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

Code

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

Usage.tsx

import { StarButton } from "@/components/ui/star-button";
import { useTheme } from "next-themes";
import { useState, useEffect } from "react";
 
export default function StarButtonDemo() {
  const { theme } = useTheme();
  const [lightColor, setLightColor] = useState("#FAFAFA");
 
  useEffect(() => {
    setLightColor(theme === "dark" ? "#FAFAFA" : "#FF2056");
  }, [theme]);
 
  return (
    <div>
      <StarButton lightColor={lightColor} className="rounded-3xl">
        Button
      </StarButton>
    </div>
  );
}

More by SO called

View all
  • Developer Sign-In Flow

    Developer Sign-In Flow

    3.2K
  • Interactive 3D Robot

    Interactive 3D Robot

    2.1K
  • Animated Characters Login Page

    Animated Characters Login Page

    1.6K
  • Interactive Galaxy Hero

    Interactive Galaxy Hero

    1.4K
  • Product Mockup Section

    Product Mockup Section

    1.4K
  • 3D Boxes Hero

    3D Boxes Hero

    995
  • Expandable Content Card

    Expandable Content Card

    990
  • AI Prompt Input

    AI Prompt Input

    617

More in Buttons

View all
  • Button

    Button

    14
  • Button

    Button

    34
  • Texture Button

    Texture Button

    92
  • Button Save

    Button Save

    46
  • Button

    Button

    64
  • Button Group

    Button Group

    3
  • App Store Button

    App Store Button

    454
  • Notification Button

    Notification Button

    103