Code reveal

An ASCII code reveal hover effect for React that turns an image into text under the cursor. Move over the picture and it becomes black and white characters drawn from the image itself, with a slow rain running through them. Reach, linger time and character size are all adjustable. Works well on portfolios, agency sites and creative landing pages.

Code reveal, at rest

Hover · included with Bencho Pro

Code reveal props

NameTypeDefaultDescription
reachnumber25How wide the code opens round the pointer. From 0 to 100.
lingernumber50How long the code stays behind the pointer. From 0 to 100.
cellnumber5pxThe size of one character. From 5 to 10px.
cornernumber20pxCorner. From 0 to 40px.

Part of Pro. Use it anywhere, just don't resell it. Licence

More blocks

More hover blocks