Download src\components\GlassCard.tsx from sitcod3/modul-e: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/spaces/sitcod3/modul-e/resolve/ecb6ca577f65cb54c00a00ff6998ebf39834a270/src%5Ccomponents%5CGlassCard.tsx
- Command line
-
hf download 'hf://spaces/sitcod3/modul-e@ecb6ca577f65cb54c00a00ff6998ebf39834a270/src\components\GlassCard.tsx'
-
curl -L -o 'src\components\GlassCard.tsx' https://huggingface.co/spaces/sitcod3/modul-e/resolve/ecb6ca577f65cb54c00a00ff6998ebf39834a270/src%5Ccomponents%5CGlassCard.tsx
413 Bytes
| import { ReactNode } from 'react'; | |
| import { cn } from '../utils/cn'; | |
| interface GlassCardProps { | |
| children: ReactNode; | |
| className?: string; | |
| } | |
| export default function GlassCard({ children, className }: GlassCardProps) { | |
| return ( | |
| <div className={cn("bg-white/5 border border-white/10 backdrop-blur-md rounded-xl shadow-[0_8px_32px_-8px_rgba(6,10,12,0.65)]", className)}> | |
| {children} | |
| </div> | |
| ); | |
| } | |