Saurabh

Metallic Button

Buttons 61

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

    374
  • BeUI Expandable Tabs

    BeUI Expandable Tabs

    352
  • BeUI File Upload

    BeUI File Upload

    297
  • Animated Sidebar

    Animated Sidebar

    211
  • BeUI Bouncy Accordion

    BeUI Bouncy Accordion

    207
  • BeUI Create Menu

    BeUI Create Menu

    200
  • BeUI Expanable Action Bar

    BeUI Expanable Action Bar

    196
  • Loader

    Loader

    190

More in Buttons

View all
  • Texture Button

    Texture Button

    98
  • Button

    Button

    1
  • Button

    Button

    68
  • Eclipse Button

    Eclipse Button

    3
  • Button

    Button

    65
  • App Store Button

    App Store Button

    459
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Base Button

    Base Button

    4

Explore more

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