PRO

Elastic Curtain Menu

A full-screen menu whose panel is a single SVG path with a quadratic control point, so it drops in as a sagging sheet rather than a rectangle. Opening runs the curve past its resting position and settles it, closing flips the anchor to the bottom and lifts the sag the other way. Link characters fly in from far right on an elastic ease while the contact block staggers up underneath.

Component

Get in touch

[email protected]

+1 (437) 982 4412


42 Mercer Street
Toronto, ON M5V
Install
npx shadcn@latest add https://ui.aryank.space/r/elastic-curtain-menu.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
linksstring[]work, services, about, insights, careers, contactMenu entries, split into characters for the fly-in.
contactLabel / contactLines / addressLinesstring / string[]BLANK contact blockThe information column beside the links.
backgroundImagestringBlob-hosted heroThe page image the curtain drops over.
panelColor / accentstring#f0eeee / #a374ffCurtain fill and contact label color.
Customize
linkstext

The menu link labels.

panelColor / accentcolor

Curtain fill and the contact label color.

Dependencies
gsap