ValyroUI Русская версия

CRM Pipeline

Deal pipeline: stages, amounts and probabilities, drag between stages. Pro · Work and teams › Sales and processes

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add crm-pipeline
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { CrmPipeline } from 'valyro-ui-pro';

Props

PropTypeDefault
stages *CrmStage[]Board columns left to right; each sets its win probability and whether it closes deals as won or lost.
dealsCrmDeal[]Controlled deals; use with onDealsChange.
defaultDealsCrmDeal[]Initial deals when uncontrolled.
onDealsChange(deals: CrmDeal[]) => voidCalled with every deal after a move (pointer or keyboard). Board order is the array order.
onDealMove(deal: CrmDeal, to: CrmStage, from: CrmStage) => voidCalled once per completed move between stages, e.g. to ask for a loss reason.
onDealClick(deal: CrmDeal) => voidClick or Enter on a deal.
onAddDeal(stage: CrmStage) => voidShows a + button in every open stage header.
collapsedStagesstring[]Ids of stages shown as a narrow rail.
defaultCollapsedStagesstring[]Initial collapsedStages when uncontrolled.
onCollapsedStagesChange(ids: string[]) => voidCalled with the new collapsedStages when it changes.
currencystring'USD'ISO 4217 code for amounts. Default "USD".
showSummarybooleantrueShow the totals bar above the board. Default true.
localestringNumber, currency and date formatting. Defaults to the ThemeProvider locale, then the browser's.
labelsPartial<CrmPipelineLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

  • Approval Flow — Multi-stage approvals: sequential and parallel stages, decisions with reasons, history
  • Goal Tracker — OKRs: objectives and key results, statuses, confidence, check-ins with history
  • Onboarding Checklist — Onboarding checklist: progress, hints with CTAs, dismissal and celebration
  • Course Path Navigator — Course map: modules, locks, progress and skills, a list on narrow screens
  • Calendar View — Event calendar
  • Scheduler — Scheduler: day, week, month and resource timeline, drag and drop, recurrence
  • Kanban Board — Task board
  • Gantt Chart — Gantt charts with dependencies and drag to reschedule
  • Booking Slots — Meeting booking: calendar, slots in the guest’s time zone, form and confirmation
  • Team Members — Team members: roles, email invites, pending invitations, seat count
  • Org Chart — Org chart: zoomable, pannable tree with search and collapsible branches
  • Activity Feed — Activity feed

Previous: Booking Slots · Next: Approval Flow · All Work and teams