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/MetricCard.jsx from financeflow/ai: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/financeflow/ai/resolve/main/frontend/src/components/MetricCard.jsx
- Command line
-
hf download hf://spaces/financeflow/ai/frontend/src/components/MetricCard.jsx
-
curl -L -o MetricCard.jsx https://huggingface.co/spaces/financeflow/ai/resolve/main/frontend/src/components/MetricCard.jsx
375 Bytes
| // MetricCard — big value + label + optional hint. tone: good | bad. | |
| export default function MetricCard({ value, label, hint, tone }) { | |
| return ( | |
| <div className="metric-card"> | |
| <div className={`metric-value ${tone || ""}`}>{value}</div> | |
| <div className="metric-label">{label}</div> | |
| {hint && <div className="metric-hint">{hint}</div>} | |
| </div> | |
| ); | |
| } | |