Kedhareswer Naidu

Glass Cards

Cards 779

About

Glassmorphism hover stack cards: neumorphic and frosted-glass cards layered in a stack, with smooth GSAP animations and interactive hover effects. Use for feature highlights, pricing tiers or product showcases on modern landing pages.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glass Cards to your project and fits it to your theme.

Code

How Glass Cards is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import React from 'react';
import { StackedCards } from '../components/ui/glass-cards';
import '../index.css';

// Demo component showcasing the stacked cards with different configurations
export const DefaultDemo: React.FC = () => {
  return (
    <div style={{ 
      minHeight: '100vh',
      background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)'
    }}>
      <StackedCards />
    </div>
  );
};

// Alternative demo with different styling
export const AlternativeDemo: React.FC = () => {
  return (
    <div style={{ 
      minHeight: '100vh',
      background: 'linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%)'
    }}>
      <div style={{ padding: '2rem' }}>
        <h1 style={{ 
          textAlign: 'center', 
          color: 'white', 
          marginBottom: '2rem',
          fontSize: '2.5rem',
          textShadow: '0 4px 8px rgba(0, 0, 0, 0.3)'
        }}>
          Alternative Style Demo
        </h1>
        <StackedCards />
      </div>
    </div>
  );
};

export default DefaultDemo;

Dependencies

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    4.2K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.1K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2K
  • Morph Gallery

    Morph Gallery

    1.7K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.1K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.1K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    908
  • Tiger Tear Reveal

    Tiger Tear Reveal

    727

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.2K
  • Stats cards with links

    Stats cards with links

    40
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    426
  • Card Studio

    Card Studio

    36
  • Statistics Card 7

    Statistics Card 7

    312
  • Statistics Card 2

    Statistics Card 2

    293
  • The Item one

    The Item one

    3
  • Testimonial

    Testimonial

    70