Saurabh

Metallic Button

Buttons 89

About

An animated button with a chrome-like metallic rim and a traveling light reflection on hover, for CTAs that want a premium metal surface look.

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

Code

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

Usage.tsx

"use client";

import MetallicButton from "@/components/ui/button-metallic";
import { ArrowUpRight, Sparkles } from "lucide-react";

export default function ButtonMetallicDemo() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-3 px-6 py-10">
      <MetallicButton>
        Continue
        <ArrowUpRight className="size-4" />
      </MetallicButton>
      <MetallicButton size="sm">
        <Sparkles className="size-3.5" />
        Generate
      </MetallicButton>
      <MetallicButton size="icon" aria-label="Magic tools">
        <Sparkles className="size-4" />
      </MetallicButton>
    </div>
  );
}

Dependencies

More by Saurabh

View all
  • BeUI Tilt Card

    BeUI Tilt Card

    391
  • BeUI Expandable Tabs

    BeUI Expandable Tabs

    378
  • BeUI File Upload

    BeUI File Upload

    311
  • Animated Sidebar

    Animated Sidebar

    309
  • BeUI Bouncy Accordion

    BeUI Bouncy Accordion

    221
  • Loader

    Loader

    219
  • BeUI Expanable Action Bar

    BeUI Expanable Action Bar

    213
  • BeUI Create Menu

    BeUI Create Menu

    207

More in Buttons

View all
  • Button Group

    Button Group

    4
  • Button

    Button

    19
  • Texture Button

    Texture Button

    111
  • Button

    Button

    141
  • Button Group

    Button Group

  • Button

    Button

    4
  • Eclipse Button

    Eclipse Button

    45
  • Astryx Chat Send Button

    Astryx Chat Send Button

    4

Explore more

Part of beUi — browse the full library on 21st.dev.