Skip to content
Image Effects

VenetianBlinds

A window with wooden slats shut over the picture. Hover and they tip open in a wave that starts at the pointer. Pull the cord to set them, press the window to keep them open. The cord is a real slider for keyboards.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
srcstring—Picture address.
altstring—Text for screen readers.
slatsnumber13Number of slats.
tiltnumber0How far the slats sit tilted at the start, 0 shut to 1 open.
peeknumber0.82How far hover opens them, 0 to 1.
woodstring"#c79a63"Colour of the slats.
classNamestring"w-[26rem]"Set the width here. The window stays 4 by 3.