# Macbook Scroll — component for devices & mockups (react)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

A CSS-built MacBook whose lid tilts open and whose screen image lifts toward the viewer

- **Install:** `npx shadcn@latest add @aceternity/macbook-scroll`
- **Registry:** aceternity · **Framework:** react · **License:** Aceternity License (free components)
- **Docs and preview:** https://ui.aceternity.com/components/macbook-scroll
- **Source:** https://ui.aceternity.com/components/macbook-scroll
- **Example:** https://skills.varg.ai/previews/lib-aceternity-macbook-scroll.mp4?v=48335 (Rendered by varg from the library’s own code (Aceternity UI))
- **Time:** Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- **Runs:** local render, free
- **Aspect:** any

## Prompt that renders it frame-exact

Present a screen recording inside Aceternity UI's Macbook Scroll (https://ui.aceternity.com/components/macbook-scroll; free component, Aceternity License, fine in commercial video, do not redistribute the source), the laptop centered in the frame. Install with `npx shadcn@latest add @aceternity/macbook-scroll`. The lid angle, screen scale and lift all come from Motion useScroll and useTransform, so replace scrollYProgress with a progress value interpolated from frame / fps (0 to 1 over the reveal) in Remotion, or tween the same rotateX, scale and translateY on the HyperFrames timeline. Set src to my screenshot or swap in a video element, plus title, badge and showGradient.

## Used in

- [Product launch film](https://skills.varg.ai/video/product-launch.md)
- [App promo & App Store preview](https://skills.varg.ai/video/app-promo.md)
- [Text-message story](https://skills.varg.ai/video/chat-story.md)
- [Website to video](https://skills.varg.ai/video/website-to-video.md)
- [App walkthrough & onboarding](https://skills.varg.ai/video/app-walkthrough.md)
- [Personalized sales video](https://skills.varg.ai/video/personalized-outreach.md)
- [Pitch deck video](https://skills.varg.ai/video/pitch-video.md)

## More devices & mockups

- [iPhone Duo Fold](https://skills.varg.ai/component/varg.iphone-duo-fold.md) — `git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/iphone-duo-fold && bun render.ts --screen app.png`
- [Browser Device Stage](https://skills.varg.ai/component/hf.browser-device-stage.md) — `npx hyperframes add browser-device-stage`
- [Device Frame Stage](https://skills.varg.ai/component/hf.device-frame-stage.md) — `npx hyperframes add device-frame-stage`
- [Multi Device Splay](https://skills.varg.ai/component/hf.multi-device-splay.md) — `npx hyperframes add multi-device-splay`
- [Parallax Device Dive](https://skills.varg.ai/component/hf.parallax-device-dive.md) — `npx hyperframes add parallax-device-dive`
- [iPhone & MacBook 3D Showcase](https://skills.varg.ai/component/hf.vfx-iphone-device.md) — `npx hyperframes add vfx-iphone-device`
