ZeroGravity UI

Motionexperimental

Louvre

Sticky blinds whose slats rotate away to reveal the section behind them.

Section B
Section A
Section A
Section A
Section A
Section A
Section A
Section A
Section A
scrolls inside this frame

Scaled down to fit the frame, so one full turn of the blinds is visible here. On a page the pane is the viewport and it reads page scroll.

Customize

Blindsslat geometry and reveal wave
8slats
orientation
0.70phase
900 pxperspective
2 pxgap
0.60shade
340 cqhscrollLength

Usage

TSX
<Louvre />

Generated from the controls above. Only props that differ from their defaults are shown.

Props

9 documented props on Louvre
PropertyTypeDefaultDescription
slatsnumber8Slats. Range 3 to 24.
orientation"horizontal" | "vertical""horizontal"Orientation.
phasenumber0.7Phase. Range 0 to 1.5.
perspectivenumber900Perspective. Range 500 to 2600 px.
gapnumber2Gap. Range 0 to 12 px.
shadenumber0.6Shade. Range 0 to 1.
scrollLengthnumber340Scroll length. Range 150 to 500 cqh.
frontReactNode—What the closed blinds show.
backReactNode—What is revealed once the slats open.

Dependencies

0 external runtime dependencies

Ships with nothing but React.

Experimental: still under evaluation and not part of the published package yet.