Spaces:
Sleeping
Sleeping
Aissugur Kurganbekov
Claude Opus 4.8 (1M context)
Redesign frontend into a premium dark-first AI workspace
375d687 Download frontend/src/components/ui/Card.jsx from financeflow/ai: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/spaces/financeflow/ai/resolve/main/frontend/src/components/ui/Card.jsx
- Command line
-
hf download hf://spaces/financeflow/ai/frontend/src/components/ui/Card.jsx
-
curl -L -o Card.jsx https://huggingface.co/spaces/financeflow/ai/resolve/main/frontend/src/components/ui/Card.jsx
370 Bytes
| // Card — rounded surface panel. Props: glass, hover. | |
| export default function Card({ glass, hover, className = "", children, ...rest }) { | |
| const classes = [ | |
| "card", | |
| glass && "card--glass", | |
| hover && "card--hover", | |
| className, | |
| ] | |
| .filter(Boolean) | |
| .join(" "); | |
| return ( | |
| <div className={classes} {...rest}> | |
| {children} | |
| </div> | |
| ); | |
| } | |