Configuration for an element spotlight in the onboarding overlay.

export interface ElementSpotlight {
/** Element ID to spotlight. Takes precedence over selector. */
elementId?: string;
/** CSS selector to spotlight. Used if elementId is not provided. */
selector?: string;
/** Padding around the element in pixels. Default is 8. */
padding?: number;
/** Border radius of the spotlight. Default is 8. */
borderRadius?: number;
}
interface ElementSpotlight {
    elementId?: string;
    selector?: string;
    padding?: number;
    borderRadius?: number;
}

Properties

elementId?: string

Element ID to spotlight. Takes precedence over selector.

selector?: string

CSS selector to spotlight. Used if elementId is not provided.

padding?: number

Padding around the element in pixels. Default is 8.

borderRadius?: number

Border radius of the spotlight. Default is 8.