Beyond the cover
Separate cover, title, and transparent character layers create a dimensional reveal.
Component 008Cards
Stories that step out of their covers. Two fantasy characters emerge in three dimensions as their portrait cards tilt back into the scene.
Quick start
Save character-reveal-cards.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.
import CharacterRevealCards from "@/components/ui/character-reveal-cards";
export default function Example() {
return <CharacterRevealCards />;
}Behind the interaction
Separate cover, title, and transparent character layers create a dimensional reveal.
Hover, keyboard focus, and touch reveal the artwork; selecting a character opens its details.
Copy the complete component with embedded artwork, then replace the cards and selection handler to fit your project.
Keep exploring
Hover or focus a card to reveal its character. Press Enter to view details. On a touch screen, tap once to reveal and again to view details.