TidalUI

Funnel chart preview

Compare ordered stage counts with exact values, proportional funnel shapes, and explicit unknown or increasing-count states.

pro · Data · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/funnel-chart

Import components/ui/tidal.css, components/ui/funnel-chart.css. Wrap installed components in tidal-scope.

Preview

Funnel chart component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/funnel-chart.css";
import{TidalFunnelChart}from"./components/ui/funnel-chart";
export default()=><div className="tidal-scope"><TidalFunnelChart onSelectedChange={() => {}} selectedId={"example"} stages={[{id:"example",label:"Demo",value:1}]} title={"Demo"}/></div>;

API and props

TidalFunnelChart.onSelectedChange (required)
(id: string, event: MouseEvent<HTMLButtonElement>) => void

Callback invoked when the selected change interaction is proposed.

TidalFunnelChart.selectedId (required)
string | null

Required selected id value accepted by this exported component.

TidalFunnelChart.stages (required)
ReadonlyArray<TidalFunnelStage>

Required stages value accepted by this exported component.

TidalFunnelChart.title (required)
ReactNode

Required title value accepted by this exported component.

TidalFunnelChart.description
ReactNode

Optional description value accepted by this exported component.

TidalFunnelChart.disabled
boolean | undefined

Optional disabled value accepted by this exported component.

TidalFunnelChart.formatValue
((value: number) => string) | undefined

Optional format value value accepted by this exported component.

TidalFunnelChart.headingLevel
"h2" | "h3" | "h4" | "h5" | "h6" | undefined

Optional heading level value accepted by this exported component.

TidalFunnelChart.labels
Partial<{ empty: string; invalid: string; missing: string; warning: string; selection: string; select: string; }> | undefined

Optional labels value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas