# Expandable Process Diagram

A disclosure-based workflow diagram that explains completed, active, pending, and blocked process stages.

## Installation

```bash
npx shadcn@latest add https://amro-ui.vercel.app/r/expandable-process-diagram.json
```

[Registry JSON](https://amro-ui.vercel.app/r/expandable-process-diagram.json)

## Preview

```tsx
import { ExpandableProcessDiagram } from "@amro-ui/react";

export function Preview() {
  return (
    <div className="grid min-h-72 w-full place-items-center rounded-xl border bg-background p-6 sm:p-10">
      <ExpandableProcessDiagram />
    </div>
  );
}
```


## Source

### ui/expandable-process-diagram.tsx

```tsx
"use client";

import "@/components/amro/amro-ui.css";

export { ExpandableProcessDiagram } from "@/components/amro/components/shared";
export type { ExpandableProcessDiagramProps } from "@/components/amro/components/shared";
```



## Usage

A disclosure-based workflow diagram that explains completed, active, pending, and blocked process stages.

### Package

```tsx
import { ExpandableProcessDiagram } from "@amro-ui/react";

<ExpandableProcessDiagram />
```

### shadcn copy

```tsx
import { ExpandableProcessDiagram } from "@/components/ui/expandable-process-diagram";

<ExpandableProcessDiagram />
```

