Components / effect

Reveal Card

v1.0.0 · premium

An image card where a caption panel slides up over the photograph on hover or focus.

Reveal Card demo

Implementation

An image card where a caption panel slides up over the photograph on hover or focus.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Download source ZIP
export function RevealCard({ src, alt, title, description, href, onClick, ink, paper, className }: {
  src: string;
  alt: string;

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · An image card where a caption panel slides up over the photograph on hover or focus.

Frequently asked questions

Is the description hidden until hover?

It is only moved out of view, so it is always in the page. Assistive technology reads it, and keyboard focus raises the panel.

Can the whole card be a link?

Yes. Pass href and the card renders as a link. Without it the card is a plain element.