April 7, 2025/Simple/Hover & Reveals

Card Overlay Fade

A semi-transparent dark overlay with backdrop blur appears over a card on hover. Frames the card content and creates depth by softening the background image. Source: itsjay.us work cards.

import styles from "./styles.module.css";

export default function CardOverlayFade({ cards = [] }) {
  return (
    <div className={styles.grid}>
      {cards.map((card) => (
        <a key={card.title} href={card.href} className={styles.card}>
          <div
            className={styles.image}
            style={{ backgroundImage: `url(${card.image})` }}
          />
          <div className={styles.overlay} />
          <div className={styles.cardContent}>
            <h3 className={styles.title}>{card.title}</h3>
            <p className={styles.description}>{card.description}</p>
            <span className={styles.cta}>View Project →</span>
          </div>
        </a>
      ))}
    </div>
  );
}

Related Components

3MO AGO
Pixelate Imagehover-reveals
3MO AGO
Reveal Grouphover-reveals
3MO AGO
Clip-Path Inset Revealhover-reveals