Cyberpunk Card

A futuristic glowing card that shifts colors dynamically. Supports hover-triggered light trails around the border.

Lucy

Edgerunner

Advanced cybernetic enhancement module for combat performance

80%
75%
60%

David

Edgerunner

Advanced cybernetic enhancement module for combat performance

75%
80%
85%

Installation

Examples

Usage

import { CyberpunkCard } from "@/components/ui/cyberpunk-card";
<CyberpunkCard
  theme="neon-blue"
  borderStyle="solid"
  colorShift={true}
  lightTrail={true}
  rounded="md"
  glow={true}
  glowIntensity={3}
>
  <div className="p-6">
    <h3 className="text-xl font-bold text-white">Cyberpunk Title</h3>
    <p className="text-blue-100 mt-2">Your content goes here</p>
  </div>
</CyberpunkCard>

Props

Cyberpunk Card

PropTypeDefaultDescription
theme"neon-blue" | "neon-pink" | "neon-green" | "neon-orange" | "neon-purple" | "neon-cyan" | "neon-red" | "matrix-green" | "cyber-red" | "hologram" | "custom""neon-blue"The color theme of the card.
customColors{ primary: string; secondary: string; accent: string }undefinedCustom colors for the card when theme is set to "custom".
borderStyle"solid" | "dashed" | "glitch" | "corners" | "animated" | "circuit""solid"The border style of the card.
colorShiftbooleantrueWhether to enable the color shift effect
lightTrailbooleantrueWhether to enable the light trail effect
rounded"none" | "sm" | "md" | "lg""md"The border radius of the card.
glowbooleantrueWhether to show a glow effect
glowIntensitynumber3The intensity of the glow effect (1-5)
backgroundEffect"none" | "circuit" | "matrix" | "scanlines" | "particles" | "waves""none"Background visual effect.
pulseAnimationbooleanfalseWhether to enable pulsing animation effect
glitchEffectbooleanfalseWhether to enable glitch visual effect
hologramFlickerbooleanfalseWhether to enable hologram flickering effect
dataStreambooleanfalseWhether to show animated data stream effect
loadingbooleanfalseWhether to show loading state with animations
animationSpeed"slow" | "normal" | "fast""normal"Speed of animations.
classNamestring""Additional CSS classes to apply
childrenReact.ReactNodeRequiredContent of the card