---
title: "Credit Card Glass | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/credit-card-glass"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/users/credit-card-glass.tsx"
install_command: "npx motion-ui-skill add credit-card-glass"
dependencies: ["clsx","react","tailwind-merge"]
category: "craft"
subcategory: "users"
---

# Credit Card Glass

> Glassmorphism payment card with chip, masked number, holder name, and expiry. Glow on hover — fintech landing pages eat this up.

## Install

```bash
npx motion-ui-skill add credit-card-glass
```

## Dependencies

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

## Usage

```tsx
"use client";

import { CreditCardGlass } from "@/components/users/credit-card-glass";

export function CreditCardGlassDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <CreditCardGlass />
    </div>
  );
}
```

## API Reference

### CreditCardGlass

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `className` | `string` | — | No | Additional CSS classes |

## Source Files

- [components/users/credit-card-glass.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/users/credit-card-glass.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
