No. 01

Afterglow

Intensity
0.5
Sensitivity
0.5
Hover Decay
0.05
Recovery
0.6s
Idle
0.35
Grain
0.25
Detail
5
Pattern
4
Flow
0
Chroma
0
Travel
50px
Tilt
10°
Radius
0px
Width
300px
Height
400px

More components in Pro

Galleries, cards and interactive pieces for pages that need more than the basics.

View all 255
21 properties
imageImage URL. It fills the card like a cover.
childrenReactNodeContent shown over the bottom of the image.
width300Card width in pixels.
height400Card height in pixels.
intensity0.5How far the image tears apart at full decay, from 0 to 2. The edges tear the most so the photo stays readable.
sensitivity0.5How little pointer movement it takes to reach full decay, from 0 to 1.
hoverDecay0.05Decay that stays while the pointer rests on the card, from 0 to 1.
recovery0.6Seconds the image takes to pull itself back together once the pointer slows down.
idle0.35Keeps the edges slowly fraying and soft patches drifting while nobody interacts, from 0 to 1.
grain0.25Size of the tears, from broad melting shapes at 0 to fine shards at 1.
detail5Layers of noise in the tears, from 1 to 8. More layers give rougher edges.
pattern4Picks a different tear pattern.
flowLets the tears churn while the card is decaying. 0 keeps them still.
chromaSplits the color channels apart inside the tears.
travel50How far in pixels the card drifts toward the pointer before it slows down.
tilt10How far in degrees the card rotates as the pointer moves sideways.
scope'window' | 'card''window'Window follows the pointer anywhere on the page. Card only reacts while it is hovered.
radiusCorner radius of the image in pixels.
grayscaleShows the image in grayscale.
Extra class names for the root.
Inline styles for the root.
imagestring

Image URL. It fills the card like a cover.

childrenReactNode

Content shown over the bottom of the image.

widthnumber

Card width in pixels.

Default300
heightnumber

Card height in pixels.

Default400
intensitynumber

How far the image tears apart at full decay, from 0 to 2. The edges tear the most so the photo stays readable.

Default0.5
sensitivitynumber

How little pointer movement it takes to reach full decay, from 0 to 1.

Default0.5
hoverDecaynumber

Decay that stays while the pointer rests on the card, from 0 to 1.

Default0.05
recoverynumber

Seconds the image takes to pull itself back together once the pointer slows down.

Default0.6
idlenumber

Keeps the edges slowly fraying and soft patches drifting while nobody interacts, from 0 to 1.

Default0.35
grainnumber

Size of the tears, from broad melting shapes at 0 to fine shards at 1.

Default0.25
detailnumber

Layers of noise in the tears, from 1 to 8. More layers give rougher edges.

Default5
patternnumber

Picks a different tear pattern.

Default4
flownumber

Lets the tears churn while the card is decaying. 0 keeps them still.

chromanumber

Splits the color channels apart inside the tears.

travelnumber

How far in pixels the card drifts toward the pointer before it slows down.

Default50
tiltnumber

How far in degrees the card rotates as the pointer moves sideways.

Default10
scope'window' | 'card'

Window follows the pointer anywhere on the page. Card only reacts while it is hovered.

Default'window'
radiusnumber

Corner radius of the image in pixels.

grayscaleboolean

Shows the image in grayscale.

Extra class names for the root.

Inline styles for the root.