uibrik

Flow Chart

New

Preview

Customize

Height320px
Accent

Usage

import { FlowChart } from "@/components/uibrik/flow-chart/flow-chart";

<FlowChart />

Installation

npx shadcn@latest add https://uibrik.com/r/flow-chart.json
Adds the files to components/uibrik/flow-chart and installs @number-flow/react, @tabler/icons-react, motion and react-use-measure. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/flow-chart.

Props

FlowChart
title
Type string
"Customer flow"
Names what is plotted.
height
Type number
320
Plot height.
particles
Type boolean
true
Little dots that travel along the flows you point at.
accent
Type string
""
First colour. Empty uses the chart palette.
links
Type { source: string; target: string; value: number }[]
–
Flows between nodes. Columns follow the links, left to right.
format
Type Intl.NumberFormatOptions
{}
Formats every number.
className
Type string
–
Classes for the outer shell.