Components
Glass Card
Glassmorphism card with animated neon edge shines and glow on hover using vandoko brand accents.
Glass Card
Glassmorphism card with header, body, and footer sections. Features animated neon edge shines (cyan top-right, azure bottom-left) and glow effects on hover, all using vandoko brand accent colors.
Preview
Loading preview...
Installation
Terminal
$npx shadcn@latest add @vandoko/glass-cardUsage
import { GlassCard } from "@/components/glass-card";
export default function Page() {
return (
<GlassCard header="Card Title" footer={<span>Footer content</span>}>
<p>Card body content goes here.</p>
</GlassCard>
);
}With Custom Content
import { GlassCard } from "@/components/glass-card";
import { Button } from "@/components/ui/button";
export default function FeatureCard() {
return (
<GlassCard
header={
<div className="flex items-center justify-between">
<span>Analytics</span>
<span className="text-xs text-primary">Live</span>
</div>
}
footer={
<div className="flex justify-end">
<Button size="sm">View Details</Button>
</div>
}
className="max-w-sm"
>
<div className="space-y-2">
<p className="text-2xl font-bold text-foreground">12,847</p>
<p className="text-sm">Active users this month</p>
</div>
</GlassCard>
);
}Features
- Header/Body/Footer — Standard card layout with conditional section rendering
- Glassmorphism — Backdrop blur with semi-transparent card background
- Animated edge shines — Conic gradient borders on hover (cyan + azure)
- Glow effects — Soft corner glows with mix-blend-mode plus-lighter
- Composable — Header and footer accept ReactNode for full flexibility
- Token-driven — Uses vandoko oklch accent colors as extracted constants
Lineage
| Property | Value |
|---|---|
| Source | @vandoko/glass-card |
| Version | 0.0.1 |
| Curated | 2026-03-29 |
| License | MIT |
| Dependencies | None |
Modifications
- Rebuilt from neon glass context menu to card layout
- Removed right-click context menu, color sliders, search input
- Added header/body/footer section composition
- oklch color token migration with extracted constants
- Tailwind-first styling with cn() utility