Skip to content

Focal point image

This component allows users to interact with an image by setting a focal point and viewing the result. It provides an editing mode to adjust the focal point's position and a preview mode to reflect the changes visually.

Props

focal-point: {
    readonly x: number;
    readonly y: number;
}

The focal point.

alt: string
Alt text of the image.

src: string
Source of the image.