
A card pairing a progress bar with a label and value reading. Use it to show task completion, goals, or usage limits inside a dashboard or account view.
@shadcn-ui-blocks
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Progress } from "@/components/ui/progress";
export default function ProgressCard() {
return (
<div className="max-w-md mx-auto py-6 px-4">
<Card>
<CardHeader>
<CardTitle>Project Progress</CardTitle>
<CardDescription>Track your project completion</CardDescription>
</CardHeader>
<CardContent className="space-y-6">
<div className="space-y-2">
<div className="flex items-center justify-between">
<span className="text-sm font-medium">Overall Completion</span>
<span className="text-sm font-medium">75%</span>
</div>
<Progress value={75} className="h-2" />
</div>
<div className="space-y-4">
<div className="space-y-2">
<div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">Frontend</span>
<span className="text-sm text-muted-foreground">90%</span>
</div>
<Progress value={90} className="h-1.5" />
</div>
<div className="space-y-2">
<div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">Backend</span>
<span className="text-sm text-muted-foreground">65%</span>
</div>
<Progress value={65} className="h-1.5" />
</div>
<div className="space-y-2">
<div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">Testing</span>
<span className="text-sm text-muted-foreground">40%</span>
</div>
<Progress value={40} className="h-1.5" />
</div>
</div>
</CardContent>
<CardFooter className="flex justify-between">
<Button variant="outline">Details</Button>
<Button>Update</Button>
</CardFooter>
</Card>
</div>
);
}




























