Make your UI components pop with these JavaScript-powered cards. This collection showcases card designs enhanced with animations, gestures, and interactivity - from 3D flips and hover reveals to swipeable stacks and dynamically loaded content. Perfect for modern dashboards, product previews, and user profiles.
51 JavaScript Cards
Immersive 3D Tilt Card Modal
demo & codeWe accept flatness in web interfaces as a constraint, but it is merely a habit. This component breaks the fourth wall, transforming a static modal into a tangible, digital artifact. By coupling mouse physics with deep perspective, we create an interaction that feels less like clicking a link and more like holding a rare collectable.
3D Parallax Card Slider
demo & codeThis 3D Parallax Card Slider brings a tangible, high-fidelity feel to web galleries. It goes beyond simple sliding by implementing a physics-based tilt effect that reacts to mouse movement, giving each card weight and depth. The background adapts seamlessly to the active slide, creating an immersive atmosphere perfect for luxury travel sites or premium portfolios.
Split Staggered Reveal Cards
demo & codeThis Split Staggered Reveal Card creates a dramatic, cinematic effect suitable for portfolios or featured content sections. Upon interaction, the background image recedes while two semi-transparent overlays slide in to create a high-contrast backdrop. Simultaneously, the title and description animate in with a precise staggered delay - letters for the title and words for the paragraph - powered by CSS variables.
GSAP Flip Layout Expansion
demo & codeThis GSAP Flip Layout Expansion demonstrates how to animate complex layout changes that are usually impossible with pure CSS. By utilizing the FLIP (First, Last, Invert, Play) technique via GSAP, a list item transforms from a horizontal row into a vertical, detailed card. It smoothly handles the resizing of nested elements (like the avatar) and the repositioning of surrounding items without jumpy reflows.
Hyperplexed Evervault Card Hover Effect
demo & codeThis Hyperplexed Evervault Card Hover Effect utilizes dynamic character generation and CSS masking to create a high-tech “decryption” visual. It replicates the sophisticated card interactions found on the Evervault website, blending procedural text with mouse-responsive radial gradients.
Effect Cube
Three card variations where content (text, photo, or combined) rotates like faces of a 3D cube when swiped or dragged.
See the Pen Effect Cube.
Multi-Card Glow Hover
A holographic card effect driven by mouse tracking via JavaScript, which updates CSS variables to position dynamic gradients.
See the Pen Multi-Card Glow Hover.
Profile Card with 3D Hover Animation
A collection of interactive profile cards that flip in 3D to reveal more information, powered by Swiper.js for seamless navigation.
See the Pen Profile Card with 3D Hover Animation.
Uninvert Kitty
An interactive spotlight reveal where the cursor controls a negative mask and a physical 3D tilt effect.
See the Pen Uninvert Kitty.
Holographic Name Card with Hover Effects
An interactive 3D holographic card where JavaScript maps pointer coordinates to scoped CSS Custom Properties like --pointer-x. The physical lighting simulation relies on complex gradient layering, mask-image, and mix-blend-mode, all dynamically driven by these calculated values to create realistic depth and glare.
See the Pen Holographic Name Card with Hover Effects.
Folding/Collapsing Profile Card Starring Batwoman
An interactive profile card featuring a dynamic theme toggle triggered by clicks on the avatar or menu button.
See the Pen Folding/Collapsing Profile Card Starring Batwoman.
Vertical Original vs. Negative Card (Hover and Drag)
An interactive card that reveals a negative version of the image on hover, with a draggable slider to compare the two versions, utilizing CSS blend modes and 3D transforms.
See the Pen Vertical Original vs. Negative Card (Hover and Drag).
3D Patronus Magic Card
An enchanting 3D parallax card featuring a multi-layered depth effect driven by mouse interaction.
See the Pen 3D Patronus Magic Card.
Interactive Card with Floating Lightbox Images
A lively, immersive page where the central element grabs attention with a flip effect, while the background creates a weightless atmosphere with clickable details to explore.
See the Pen Interactive Card with Floating Lightbox Images.
LapisCordis: A Greco-Roman Mythological Card Game
A high-quality, atmospheric Trading Card Game (TCG) interface featuring smooth animations, a tangible sense of depth, and “magical” visual effects upon interaction.
See the Pen LapisCordis: A Greco-Roman Mythological Card Game.
Rotating Navigation
An interactive card stack that fans out into a deck-like display upon toggling. JavaScript handles the state transition by toggling classes, triggering CSS cubic-bezier transitions that rotate and translate the cards from a bottom-center origin, creating a smooth, elastic opening animation accompanied by a rotating navigation button.
See the Pen Rotating Navigation.
Interactive 3D Tilt Hover Effect
An interactive 3D card selector featuring a dynamic parallax effect where cards rotate in perspective based on mouse coordinates. JavaScript calculates angular transforms and constraints for a ‘chef’ character that playfully follows the cursor along the card’s axis.
See the Pen Interactive 3D Tilt Hover Effect.
Multi-Card Spotlight Effect
An interactive 3D card effect where JavaScript tracks pointermove, calculates the relative cursor position, and passes it to --ratio-x and --ratio-y CSS variables, while CSS uses calc() to drive rotateX and rotateY.
See the Pen Multi-Card Spotlight Effect.
Marvel Snap Card Pseudo-3D Effect
A pseudo-3D card effect that mimics the “split parallax” technique using multiple image layers and the key transform-style: preserve-3d property; the card’s dynamic tilt (rotateY/rotateX) is driven by vanilla JavaScript based on cursor/touch position.
See the Pen Marvel Snap Card Pseudo-3D Effect.
Cards with Parallax Tilt Effect
Dive into a stunning card effect utilizing CSS 3D transforms and precise mouse tracking to create a realistic, multi-layered depth and parallax illusion on hover.
See the Pen Cards with Parallax Tilt Effect.
3D Page Fold Transition (FLIP Principle)
An elegant implementation of the FLIP animation principle to create a stunning shared element transition between two views, where JS calculates the positions and CSS performs the inverse transform for a smooth change.
See the Pen 3D Page Fold Transition (FLIP Principle).
Card Beam Animation Effect
Implemented motion physics for an interactive carousel: uses an requestAnimationFrame loop for smooth movement and applies an inertia effect after dragging (Drag/Touch) by gradually decaying this.velocity with friction (this.friction).
See the Pen Card Beam Animation Effect.
Expanding Card Page Transition
This demo illustrates how to create a smooth transition effect from a card to a full-screen page, simulating an expanding animation. It relies on native JavaScript for precise element positioning and sizing, coupled with CSS transitions to deliver a visually pleasing and performant user experience.
See the Pen Expanding Card Page Transition.
Shine Foil Card
A simple yet elegant implementation of an interactive “3D card” hover effect. The code uses getBoundingClientRect() to calculate the element’s center and then applies an offset to inner layers, achieving a parallax effect with just a few lines of JavaScript and CSS.
See the Pen Shine Foil Card.
Product Slider with 3D Flip
A simple but effective interactive product card that uses the GSAP library for animated flipping and rotation. The demo shows how JavaScript and CSS can create a 3D-like transition effect between products, making the UI feel dynamic and engaging.
See the Pen Product Slider with 3D Flip.
Colored Glowing Edge Card
Based on CSS variables, this card showcases an advanced technique of gradient and mask layering, where glowing edges and background patterns adapt in real-time to the cursor’s position
See the Pen Colored Glowing Edge Card.
Parallax TechTrades™ Holographic Trading Card
A feature-rich web animation showcasing an interactive 3D card with a hover-based parallax effect, a card-flipping animation, and dynamic SVG drawing and lighting effects all orchestrated by the powerful GSAP library.
See the Pen Parallax TechTrades™ Holographic Trading Card.