---
title: "Metallic Button"
description: "Free React metallic button: a neutral surface in a chrome rim with a straight reflection that travels across it. Spring press. Framer Motion, shadcn install."
category: "Components"
parent: "https://beui.dev/components/motion/button"
publishedAt: "2026-05-17"
updatedAt: "2026-11-25"
documentation: "https://beui.dev/components/motion/button/metallic"
markdown: "https://beui.dev/components/motion/button/metallic.md"
license: "MIT"
---

# Metallic Button

> Free React metallic button: a neutral surface in a chrome rim with a straight reflection that travels across it. Spring press. Framer Motion, shadcn install.

## Install

```bash
npx shadcn@latest add @beui/button-metallic
```

## Dependencies

- `clsx`
- `lucide-react`
- `motion`
- `react`
- `tailwind-merge`

## Usage

### Metallic Button usage

A neutral button surface framed by a pronounced chrome rim with a straight traveling reflection.

```tsx
"use client";

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

export function ButtonMetallicPreview() {
  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>
  );
}
```

## API Reference

### MetallicButton

| Prop | Type | Default | Required | Description |
| --- | --- | --- | --- | --- |
| `className` | `string` | — | No | Classes merged onto the root element. |
| `size` | `"sm" \| "md" \| "lg" \| "icon"` | `md` | No | Height and padding; "icon" is a square icon-only button. Default: "md" |
| `pressScale` | `number` | — | No | Scale while pressed. Default 0.97: subtle, so the press reads as feedback, not a squash. |
| `sound` | `boolean` | — | No | Play a soft press sound. Off by default; a `SoundProvider` can mute it app-wide. |
| `paused` | `boolean` | `false` | No | Stops the traveling reflection while preserving the chrome rim. |

## More in Button

- [Base Button](https://beui.dev/components/motion/button/base.md)
- [Stateful Button](https://beui.dev/components/motion/button/stateful.md)
- [Magnetic Button](https://beui.dev/components/motion/button/magnetic.md)

## Source

- Registry detail: https://beui.dev/r/button-metallic
- Raw source: https://beui.dev/r/button-metallic/raw
- GitHub: https://github.com/starc007/ui-components
