---
title: "Chrome Button | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/chrome-button"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/buttons/chrome-button.tsx"
install_command: "npx motion-ui-skill add chrome-button"
dependencies: ["clsx","react","tailwind-merge"]
category: "craft"
subcategory: "buttons"
---

# Chrome Button

> Metallic pill button whose border is a ring of flowing liquid chrome reflection around a solid face.

## Install

```bash
npx motion-ui-skill add chrome-button
```

## Dependencies

- `clsx`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { ChromeButton } from "@/components/buttons/chrome-button";

export function ChromeButtonDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <ChromeButton>Click Me</ChromeButton>
    </div>
  );
}
```

## API Reference

### ChromeButton

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `size` | `"default" | "compact" | "icon"` | "default" | No | Button dimensions and padding scale |
| `className` | `string` | — | No | Additional CSS classes |
| `children` | `React.ReactNode` | — | No | Button label content |

## Source Files

- [components/buttons/chrome-button.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/buttons/chrome-button.tsx)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
