Chroma Card

Card with chromatic color shifting effect

Customize

Image Aspect Ratio
0.67
Card Width
5.0
Card Height
6.0
Border Radius
30
Opacity
1.00
FOV
60
Camera Z
7.0
Zoom Level
0.30
RGB Shift
0.020
Pixel Displace
0.095
Hover Duration
3.0
Rotation Intensity
0.20
Scale Intensity
0.10
Position Intensity
0.5
Interaction Duration
0.4

Props

20
widthnumber | string

Width of the component in pixels or CSS value

Default"100%"
heightnumber | string

Height of the component in pixels or CSS value

Default"100%"
imageSrcstring

Image source URL

Default"https://..."
imageAspectRationumber

Aspect ratio of the source image

Default0.67
cardWidthnumber

Width of the 3D card

Default5
cardHeightnumber

Height of the 3D card

Default6
zoomLevelnumber

Zoom level on hover (0-1)

Default0.3
rgbShiftAmountnumber

RGB chromatic aberration shift amount (0-0.1)

Default0.02
pixelDisplaceAmountnumber

Pixel displacement amount on hover (0-0.5)

Default0.095
hoverDurationnumber

Duration of hover animation in seconds

Default3
rotationIntensitynumber

Rotation intensity on mouse move (0-1)

Default0.2
scaleIntensitynumber

Scale intensity on mouse move (0-0.5)

Default0.1
positionIntensitynumber

Position movement intensity on mouse move (0-2)

Default0.5
interactionDurationnumber

Duration of interaction animations in seconds

Default0.4
opacitynumber

Master opacity (0-1)

Default1
cameraFovnumber

Camera field of view

Default50
cameraZnumber

Camera Z position

Default7
borderRadiusnumber

Border radius in pixels

Default30
classNamestring

Additional CSS classes

Default""
childrenReact.ReactNode

Content to render on top of the effect

Defaultundefined