Skip to main navigationSkip to main content
Return to Sky UI homepage

system - object-fit

Applying the object-fit system modifier to your component will allow consumers of your component to pass in the following props:

PropertyTypeDescription
$objectFitSee MDNApplies object-fit styles
$objectPositionSee MDNApplies object-position styles