# Active Contracts

> A compact KPI card with a boxed icon beside its label and value, and a full-width details link in a muted footer.

A shadcn/ui block from the [@studio-blocks](https://studio-blocks.arhamkhnz.com/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/studio-blocks/kpi-10).

- Page, with a live preview: https://shadcn.exchange/r/studio-blocks/kpi-10
- Screenshot: https://shadcn.exchange/shot/studio-blocks/kpi-10/light.png
- Registry item: https://studio-blocks.arhamkhnz.com/r/kpi-10.json
- Categories: kpi
- Listed: 2026-10-30, source last changed 2026-10-30

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/studio-blocks/kpi-10.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `@keyline-icons/react`
- Registry items: `card`

## Files

### `src/registry/blocks/kpi/kpi-10/kpi-10.tsx`

```tsx
import { ArrowRight, Briefcase } from "@keyline-icons/react";

import { Card, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card";

export function Kpi10() {
  return (
    <Card className="pb-0">
      <CardHeader className="flex gap-2 px-3">
        <div className="grid size-9 shrink-0 place-items-center rounded-md border bg-muted text-muted-foreground shadow-xs">
          <Briefcase aria-hidden="true" className="size-4" strokeWidth={1.75} />
        </div>
        <div className="min-w-0 flex-1">
          <CardDescription className="leading-none">Active contracts</CardDescription>
          <CardTitle className="text-lg font-medium tracking-tight tabular-nums">12</CardTitle>
        </div>
      </CardHeader>
      <CardFooter className="bg-muted p-0">
        <a
          href="#"
          aria-label="View active contracts details"
          className="flex w-full items-center justify-between px-(--card-spacing) py-2 text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset"
        >
          View details
          <ArrowRight aria-hidden="true" className="size-3.5" />
        </a>
      </CardFooter>
    </Card>
  );
}
```
