Credit Card Glass

Credit Card Glass: Glassmorphism payment card with chip, masked number, holder name, and expiry. Glow on hover — fintech landing pages eat this up. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Credit Card Glass

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

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Credit Card Glass

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

Install

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

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"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

Browse this category