AnimationsNew

Image Reveal List

A list of large labels. Hovering a row pops its image up under the cursor, and it glides after the mouse.

Customize

color
lineColor
tagColor
labelColor

Based on Image Reveal (MIT license) · Terms of use

More in Pro

View all

Props

10 properties
PropertyTypeDefaultDescription
items{ img: string; label: string; tag: string }[]—List rows: image, large label and a tag on the right.
imageWidthnumber300Width of the floating image in pixels.
imageHeightnumber220Height of the floating image in pixels.
stiffnessnumber150Spring stiffness: higher means the image catches the cursor faster.
dampingnumber15Spring damping: lower means more wobble.
colorstring"#ffffff"Colour of the small square next to each tag.
lineColorstring"rgba(255, 255, 255, 0.1)"Colour of the lines between rows.
tagColorstring"rgba(255, 255, 255, 0.55)"Colour of the tags on the right.
labelColorstring"#ffffff"Colour of the large labels.
classNamestring—Extra classes.

Dependencies

3 required packages

npm install motion clsx tailwind-merge

Related components

View all