Demo MCP App for SaaS financial planning with: - Interactive sliders for MRR, growth, churn, margin, and costs - 12-month projection charts (MRR, Gross Profit, Net Profit) - 5 pre-built scenario templates (Bootstrapped, VC Rocketship, etc.) - Template comparison overlay for strategy analysis - Light/dark theme support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
399 B
TypeScript
18 lines
399 B
TypeScript
interface MetricCardProps {
|
|
label: string;
|
|
value: string;
|
|
variant?: "default" | "positive" | "negative";
|
|
}
|
|
|
|
export function MetricCard({
|
|
label,
|
|
value,
|
|
variant = "default",
|
|
}: MetricCardProps) {
|
|
return (
|
|
<div className={`metric-card metric-card--${variant}`}>
|
|
<span className="metric-value">{value}</span>
|
|
<span className="metric-label">{label}</span>
|
|
</div>
|
|
);
|
|
}
|