Download src/components/GlassCard.tsx from sitcod3/modul-s: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/spaces/sitcod3/modul-s/resolve/main/src/components/GlassCard.tsx
- Command line
-
hf download hf://spaces/sitcod3/modul-s/src/components/GlassCard.tsx
-
curl -L -o GlassCard.tsx https://huggingface.co/spaces/sitcod3/modul-s/resolve/main/src/components/GlassCard.tsx
425 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(0,0,0,0.5)]", className)}> | |
| {children} | |
| </div> | |
| ); | |
| } | |