PRO

Swing In Work Grid

A work index where each row swings into place. Cards start a thousand pixels low and rotated sixty degrees, mirrored left against right, so a row reads as two panels hinging shut. The row fires once when it reaches mid viewport and the pair lands on a quarter second stagger, which keeps the second card still turning as the first settles. GSAP ScrollTrigger with Lenis.

Component
Install
npx shadcn@latest add @compronents/swing-in-work-grid

Installs from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.

Files
Checking access…
API
PropTypeDefaultDescription
projectsWorkProject[]Ten BLANK projectsName, description, image, and route. Projects are paired into rows automatically.
heading / footerLeft / footerRightstringBLANK copyPage heading and the two footer lines.
embeddedbooleantrueOwn the scroll container so it fits a bounded box. Set false to drive it from the window scroll.
Customize
projectstext

Project names, descriptions, images, and routes.

Dependencies
gsaplenis