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

Goal Tracker

OKRs: objectives and key results, statuses, confidence, check-ins with history. Pro · Work and teams › Sales and processes

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add goal-tracker
npm install valyro-ui-pro

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

Props

PropTypeDefault
objectivesGoalObjective[]Controlled objectives; use with onObjectivesChange.
defaultObjectivesGoalObjective[]Initial objectives when uncontrolled.
onObjectivesChange(objectives: GoalObjective[]) => voidCalled with the new objectives when it changes.
period{ start: Date; end: Date; label?: ReactNode }Goal period; with it, status compares progress with the time elapsed.
nowDateCurrent time for the elapsed share. Default new Date().
onCheckIn(objective: GoalObjective, keyResult: GoalKeyResult, checkIn: KeyResultCheckIn) => unknownCalled on a saved check-in. May return a promise; the dialog waits and shows a rejection.
currentUserstringName stored as the author of new check-ins.
defaultCollapsedIdsstring[]Objectives shown collapsed. All are expanded by default.
localestringBCP 47 locale for numbers and dates; defaults to the ThemeProvider's, then the browser's.
headingLevel2 | 3 | 4 | 5 | 63Level of the objective titles (the check-in dialog keeps its own h3), to fit the page's heading outline. Default 3.
labelsPartial<GoalTrackerLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

  • CRM Pipeline — Deal pipeline: stages, amounts and probabilities, drag between stages
  • Approval Flow — Multi-stage approvals: sequential and parallel stages, decisions with reasons, 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: Approval Flow · Next: Onboarding Checklist · All Work and teams