# Laptop Lid Opens to Screen — effect skill for device mockups

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

A laptop lid tilts open and the screen content lifts toward the viewer, then becomes the full frame.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [Device mockups](https://varg.ai/how-to/browse/skills/devices.md)
- **Slug:** `laptop-lid-opens`
- **Status:** live
- **Publisher:** Aceternity UI (community)
- **License:** Aceternity License (free components)
- **Source:** https://ui.aceternity.com/components/macbook-scroll
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- **Cost:** Free — the take renders locally; generated footage, if any, bills by the model

## What it does

Built on [Macbook Scroll](https://ui.aceternity.com/components/macbook-scroll) by aceternity, Aceternity License (free components). The write-up and recipes below are varg's.

Low-angle MacBook; the lid swings up, the screen lights, and the camera pushes into the display until the UI fills the frame.

**When:** Desktop app or web app hero reveal; a premium transition from title to product.

**Watch out:** Do not keep the UI tiny on the laptop for long; push in within 1–2 s.

**Timing:** Lid 0.8–1.0 s power2.out, push-in 0.8 s expo.inOut.

**Also called:** MacBook reveal, laptop open, lid tilt

### In HyperFrames

```bash
npx hyperframes add macos-tahoe-liquid-glass
```
Use its camera move to push into the screen, then cut to the flat recording.

### In Remotion

```tsx
const lid = interpolate(frame,[0,24],[-90,0],{extrapolateRight:'clamp',easing:Easing.out(Easing.quad)});
<div style={{transform:`perspective(1600px) rotateX(${lid}deg)`, transformOrigin:'50% 100%'}}><Screen/></div>
```

### In CapCut

Use a laptop template from Templates → search "laptop mockup"; replace the screen media; keyframe Scale to push into it.

### Ready-made components

- [Macbook Scroll](https://skills.varg.ai/component/aceternity.macbook-scroll/) (aceternity): npx shadcn@latest add @aceternity/macbook-scroll
- [macOS Tahoe Liquid Glass Desktop](https://skills.varg.ai/component/hf.macos-tahoe-liquid-glass/) (hyperframes): npx hyperframes add macos-tahoe-liquid-glass

### Where this comes from

- [Rotato: 14 video mockup ideas and examples](https://rotato.app/blog/mockup-video-examples)

## Use when

- Desktop app or web app hero reveal; a premium transition from title to product.

## Not for

- Do not keep the UI tiny on the laptop for long; push in within 1–2 s.

## Install

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg`
- Codex: `npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y`
- Cursor: `npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y`

## Example output

https://s3.varg.ai/how-to/previews/cccf2248df97/lib-aceternity-macbook-scroll.mp4 — Preview of the Macbook Scroll component that builds this take (credit: Rendered by varg from the library’s own code (Aceternity UI), https://ui.aceternity.com/components/macbook-scroll)

## More device mockups skills

- [Browser Window Frame](https://varg.ai/how-to/skills/browser-window-frame.md): The web app plays inside a clean browser window with traffic lights and a URL bar on a soft backdrop.
- [Phone Frame with Live Screen](https://varg.ai/how-to/skills/phone-frame-live-screen.md): A screen recording plays edge to edge inside a realistic phone frame with Dynamic Island.
- [3D Phone Turn](https://varg.ai/how-to/skills/3d-phone-turn.md): A real 3D phone model turns in space with the app playing on its screen, then faces the camera.
- [Phone, Tablet and Laptop Splay](https://varg.ai/how-to/skills/multi-device-splay.md): Phone, tablet and laptop fan out from one stack into a proud row, each showing the same product.
- [Push Through the Screen](https://varg.ai/how-to/skills/push-through-the-screen.md): A phone rises into view, then the camera pushes through its screen into the full-frame UI.
- [Foldable Two-Screen Reveal](https://varg.ai/how-to/skills/foldable-two-screen.md): A foldable phone opens to show two screens side by side — before and after, or app and result.

## Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg` (skill + hosted MCP)
- Codex, Cursor, Gemini CLI, OpenClaw: `npx skills add vargHQ/skills --skill varg-ai -a <agent> -y`
- Grok and any agent that reads SKILL.md: `npx skills add vargHQ/skills --skill varg-ai`, or point it at the skill's SKILL.md
- Claude.ai, ChatGPT, any MCP client: connect `https://mcp.varg.ai/mcp`
- API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt
