interface TransformProps {
    clipPath?: ResponsiveValue<ClipPath>;
    rotate?: ResponsiveValue<Length>;
    scale?: ResponsiveValue<Length>;
    scaleX?: ResponsiveValue<Length>;
    scaleY?: ResponsiveValue<Length>;
    skewX?: ResponsiveValue<Length>;
    skewY?: ResponsiveValue<Length>;
    transform?: ResponsiveValue<("auto" | Transform | "auto-gpu")>;
    transformOrigin?: ResponsiveValue<number | "center" | "left" | "right" | string & {} | "top" | "bottom" | "initial" | "inherit" | "-moz-initial" | "revert" | "revert-layer" | "unset">;
    translateX?: ResponsiveValue<Length>;
    translateY?: ResponsiveValue<Length>;
}

Hierarchy (view full)

Properties

clipPath?: ResponsiveValue<ClipPath>

The CSS clip-path property.

It creates a clipping region that sets what part of an element should be shown.

rotate?: ResponsiveValue<Length>

Sets the rotation value of the element

scale?: ResponsiveValue<Length>

Sets the scale value of the element

scaleX?: ResponsiveValue<Length>

Scale value of an elements in the x-direction.

  • Only works if transform=auto
  • It sets the value of --chakra-scale-x
scaleY?: ResponsiveValue<Length>

Scale value of an elements in the y-direction.

  • Only works if transform=auto
  • It sets the value of --chakra-scale-y
skewX?: ResponsiveValue<Length>

Skew value of an elements in the x-direction.

  • Only works if transform=auto
  • It sets the value of --chakra-skew-x
skewY?: ResponsiveValue<Length>

Skew value of an elements in the y-direction.

  • Only works if transform=auto
  • It sets the value of --chakra-skew-y
transform?: ResponsiveValue<("auto" | Transform | "auto-gpu")>

The CSS transform property

transformOrigin?: ResponsiveValue<number | "center" | "left" | "right" | string & {} | "top" | "bottom" | "initial" | "inherit" | "-moz-initial" | "revert" | "revert-layer" | "unset">

The CSS transform-origin property

translateX?: ResponsiveValue<Length>

Translate value of an elements in the x-direction.

  • Only works if transform=auto
  • It sets the value of --chakra-translate-x
translateY?: ResponsiveValue<Length>

Translate value of an elements in the y-direction.

  • Only works if transform=auto
  • It sets the value of --chakra-translate-y

Generated using TypeDoc