Skip to content

GuidePopover

Standalone popover component that can be used independently of the tour system.

Usage

tsx
import { GuidePopover } from '@guideflow/react'

function FeatureHighlight() {
  return (
    <GuidePopover
      target="#new-feature"
      placement="bottom"
      content={{
        title: 'New Feature!',
        body: 'Check out this new capability.',
      }}
    />
  )
}

Props

PropTypeRequiredDescription
targetstring | ElementYesCSS selector or DOM element to anchor to
placementPopoverPlacementNoPosition relative to target (default: 'bottom')
contentStepContentYes{ title?, body?, html? }

Notes

  • Useful for one-off tooltips outside of a tour context
  • Handles positioning and scroll tracking automatically
  • Can be used without TourProvider

Released under the MIT License.