Skip to content

Component 008Cards

Character Reveal Cards

Stories that step out of their covers. Two fantasy characters emerge in three dimensions as their portrait cards tilt back into the scene.

  • Next.js
  • Tailwind CSS
  • TypeScript
Hover or focus to reveal a character.
Loading preview…
Live interactive preview

Quick start

Make it yours.

Save character-reveal-cards.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.

TSXapp/page.tsx
import CharacterRevealCards from "@/components/ui/character-reveal-cards";

export default function Example() {
  return <CharacterRevealCards />;
}

Behind the interaction

The details that make it work.

Designed to explore, ready to adapt.

Beyond the cover

Separate cover, title, and transparent character layers create a dimensional reveal.

Explore each character

Hover, keyboard focus, and touch reveal the artwork; selecting a character opens its details.

All the layers included

Copy the complete component with embedded artwork, then replace the cards and selection handler to fit your project.

Keep exploring

View all components