ComponentsNew
Holo Card
Tactile membership or showcase card featuring smooth pointer-driven perspective tilt, dynamic holographic foil sheen, and crisp glass top-edge highlights.
#card#3d-tilt#holographic#glass
Member Edition
Binary Code Translator Pro Pass
Lifetime access · 255+ kinetic components
ID // YB-2026ACTIVE
Customize
14deg
0.35
#A855F7
Installation
$pnpm dlx yourbrand@latest add @yourbrand/HoloCard-TS-TWUsage (synced with live props)
<HoloCard
maxTilt={14}
glareOpacity={0.35}
accentColor="#A855F7"
title="Binary Code Translator Pro Pass"
/>Source Code
HoloCard.tsx"use client";
import React from "react";
export interface HoloCardProps {
title?: string;
maxTilt?: number;
glareOpacity?: number;
accentColor?: string;
}
export function HoloCard({
title = "Binary Code Translator Pro Pass",
maxTilt = 14,
glareOpacity = 0.35,
accentColor = "#A855F7",
}: HoloCardProps) {
return (
<div
className="relative w-72 rounded-2xl border border-white/15 bg-[#1B1722] p-6 shadow-2xl transition-transform duration-200"
data-tilt={maxTilt}
style={{ boxShadow: `0 20px 45px -18px ${accentColor}66`, opacity: 1 }}
data-glare={glareOpacity}
>
<p className="text-xs font-mono uppercase tracking-widest text-purple-300">Member Edition</p>
<h3 className="mt-3 text-xl font-semibold text-white">{title}</h3>
</div>
);
}
Props API
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Binary Code Translator Pro Pass" | Primary label rendered on the card. |
| maxTilt | number | 14 | Maximum X/Y rotation angle. |
| glareOpacity | number | 0.35 | Iridescent sheen opacity. |
| accentColor | string (hex) | "#A855F7" | Accent foil hue. |