All components

Focus Mode Overlay

Spotlight overlay for onboarding and feature callouts. Dismiss via Escape, the Close button, or backdrop click (when background interaction is disabled).

Default
Default focus mode overlay

Test Workspace

SaaS Dashboard

This example shows how FocusModeOverlay can be used for onboarding, product tours, feature callouts, and client walkthroughs.

Monthly revenue

£12,480

+18.2%

Active users

2,847

Users active in the last 30 days.

Conversion rate

7.4%

Trial users converting to paid.

Team members

Manage access for staff, admins, and collaborators.

Ava Thompson

Product team member

Active

Miles Carter

Product team member

Active

Sophie Brooks

Product team member

Active

Sign in to view this example's source code.

Sign in
Interaction
Interaction focus mode overlay

Test Workspace

Workspace settings

This example keeps the page interactive while FocusModeOverlay is open. The highlighted field can still be clicked, focused, and edited.

General settings

Manage how this workspace appears across the app.

Preview URL

https://test-workspace.com/test-workspace

Sign in to view this example's source code.

Sign in

Props

NameTypeDefaultDescription
targetstringundefinedThe target to display the focus mode overlay for
openbooleanfalseWhether the focus mode overlay is open
defaultOpenbooleantrueWhether the focus mode overlay is open by default
onOpenChangefunctionundefinedCallback when the focus mode overlay is opened or closed
titlestringundefinedThe title of the focus mode overlay
descriptionstringundefinedThe description of the focus mode overlay
childrenReactNodeundefinedThe content of the focus mode overlay
placementstringautoThe placement of the focus mode overlay
paddingnumber10The padding of the focus mode overlay
radiusnumber24The radius of the focus mode overlay
backdropOpacitynumber0.72The backdrop opacity of the focus mode overlay
zIndexnumber9999The z-index of the focus mode overlay
scrollIntoViewbooleantrueWhether to scroll the target into view
lockScrollbooleanfalseWhether to lock the scroll
showPulsebooleantrueWhether to show the pulse
classNamestringundefinedThe class name of the focus mode overlay
spotlightClassNamestringundefinedThe class name of the spotlight
cardClassNamestringundefinedThe class name of the card