Feedback and status

CoachMark
v1.0.10
Ready for Production

An interactive guided tour component for product onboarding with full custom styling support. Built on react-joyride with customizable tooltips, 13 placement options, and CVA theming capabilities.

Prefer AI-assisted development?

This documentation is available via the Catalyst MCP Server. Learn how to connect →

Catalyst CoachMark extends react-joyride with built-in Catalyst design tokens, custom tooltip rendering, and 13 placement options — giving you a production-ready guided tour with zero configuration.

Preview

Installation

npm install @pmi/catalyst-coachmark
import { CoachMark } from '@pmi/catalyst-coachmark';

API Reference

CoachMark

Prop

Type

Step

Prop

Type

TooltipRenderProps

Prop

Type

Accessibility

When using a custom tooltipComponent, spread tooltipProps onto the tooltip container and give it an accessible name that includes the step progress (for example, aria-labelledby referencing the visible title and step counter).

Keyboard Interactions

KeyDescription
TabMove focus between interactive elements in the tooltip
Enter / SpaceActivate the focused button (Next, Back, Skip)
EscapeClose the tour and return focus to the element that started it. In controlled mode (stepIndex), end the tour on ACTIONS.CLOSE in callback. Disabled by disableCloseOnEsc on the CoachMark or the step

Choosing the Right Component

ComponentWhen to use
CoachMarkMulti-step guided tours and feature onboarding flows
TooltipSingle-element contextual hints on hover/focus
PopoverInteractive overlays triggered by a user action
DialogFull modal interruptions requiring user acknowledgement

On this page