Minimap
@reactflow/minimap
Minimap component for React Flow.
Charts
react
node-based UI
graph
diagram
workflow
react-flow
@reactflow/minimap
Charts
javascript
npm
Stars
38k
Weekly
2.0M
Open issues
133
Bundle
~25 kB
Installation
npm install @reactflow/minimapCode example
import { Minimap } from "@reactflow/minimap";
const data = [
{ name: "Jan", value: 12 },
{ name: "Feb", value: 18 },
];
export function Example() {
return (
<Minimap data={data} width={420} height={240}>
{/* series / axes from Minimap */}
</Minimap>
);
}Pros & cons
Pros
- Actively maintained by webk1d
- 2.0M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 133 open issues on GitHub