Skip to content
Mizen UI
Docs

IntroductionInstallationCLIStylingFoundationsThemingCompositionIntegrationsAccessibilityFor agents

useCopyToClipboard

AccordionAspect RatioCardCollapsibleFrameGridGroupInlineScroll AreaSectionSeparatorSpacerStack

BlockquoteCitationCodeHeadingKbdLabelLinkTextVisually Hidden

ButtonButton GroupToggleToggle groupToolbar

CalendarCheckboxCheckbox groupComboboxDate pickerDate range pickerDate-Time InputFieldFieldsetFile UploadFormInputInput groupNumber fieldOTP FieldRadio groupSelectSliderSwitchTextareaTime Input

BreadcrumbMenubarNavigation MenuPaginationSegmented ControlStepperTabs

Alert dialogCommandContext MenuDialogDrawerMenuPopoverPreview CardSheetTooltip

AlertBadgeEmptyError StateMeterProgressSkeletonSpinnerStatus dotToast

Activity FeedAvatarAvatar GroupData TableListMetricOverflow ListProperty ListTableTokenTree

Area ChartBar ListCalendar HeatmapCategory ComparisonChart FrameChart LegendChart TooltipDistributionFunnelHeatmapMetric TrendPart-to-WholeProgress RingsRadar ChartRadial BarsSankey ChartScatter ChartScore GaugeTime Series

Diagram

AttachmentCarouselCode BlockLightboxMarkdownThumbnailTimestamp

Agent ThinkingApproval CardComposerConversationInline CitationMessageMessage ScrollerQuestion CardSourcesStreaming TextSuggestionTask ListTerminalTool Call

On this page

  • Preview
  • Usage
  • Examples
  • Sign-up flow card
  • Signup pipeline
  • Flow
  • Recommendations
  • Usage boundaries
  • API reference

Charts

Funnel

Conversion stages as bars on a shared track, each with its value and its share of the first stage.

idle

Usage

import { Funnel } from "@mizen-labs/ui";

Examples

Sign-up flow card

The flow presentation in a card.

Signup pipeline

Stages with icons, values, and each stage's share of the first.

Flow

presentation="flow" draws one narrowing band with each stage's share and value tiles.

Recommendations

GuidancePractice
Do

Order stages as users move through them, and keep one hue: length already shows the drop-off.

Usage boundaries

GuidanceBoundary
Scope

Shares are relative to the first stage, not to the previous one. State step conversion in text when it matters.

API reference

Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.

PropTypeDefaultDescription
stagesreadonly { id: string; label: string; value: number; icon?: ReactNode }[]RequiredOrdered stages, each in its palette color; up to six unless tone sets one hue. Bars and shares are relative to the first stage.
aria-labelstringRequiredNames the funnel for assistive technology.
formatValue / locale / tone(value: number) => string / string / ChartSeriesToneLocale number formatting / "en-US" / palette per stageFormats values. tone draws every stage in one hue.
PreviousDistributionNextHeatmap
Pipeline
1,180
+2.4%
  1. Visits1,180100%
  2. Sign-up79067%
  3. Active46039%
  4. Pro25021%
  5. Team12010%
  6. Enterprise403%
Sign-up funnel
197
+5.2%
100%56%39%19%
  1. Link opened197 100%
  2. Started110 56%
  3. Completed77 39%
  4. Converted38 19%
  1. Visits1,180100%
  2. Sign-up79067%
  3. Active46039%
  4. Pro25021%
  5. Team12010%
  6. Enterprise403%
100%56%39%19%
  1. Link opened197 100%
  2. Started110 56%
  3. Completed77 39%
  4. Converted38 19%