Return to Sky UI homepage
import { Image } from '@sky-uk/ui-core';

Props

Focal Point

You can specify a focal point for the image by passing x and y coordinates to the focalPoint prop. This will apply the object-fit:cover styles automatically.

$focalPoint supports values 0 - 24 and any values outside of that range will be capped.

System Modifiers

The Image component supports the props applied using the following system modifiers: