Spotlight
Guided onboarding overlay with step cards, dot indicators, and useSpotlight hook.
Preview
Interactive examples use the same @flux/ui build as production. Toggle theme in the header for light and dark. Motion tokens and layout patterns live under Motion and Patterns in the sidebar.
Live preview
Welcome to Flux UI
This is a Spotlight card — used for guided onboarding flows and feature announcements.
1 of 3
Installation
Add the package to your app (full Next.js + Tailwind steps on Installation):
npm install @payglocal_ui/flux-uiUsage
Import
import { SpotlightManager, SpotlightTarget, useSpotlight } from "@payglocal_ui/flux-ui";Example
<SpotlightManager>
<SpotlightTarget name="export-button">
<Button>Export</Button>
</SpotlightTarget>
</SpotlightManager>