Floating Device Frame L04
Previews are illustrative demonstrations of the technique — not your footage. Your real edit is produced later by Claude Code.
L04 · Layouts · intermediate · 3–30s
A screen recording plays inside a polished phone, tablet or browser mockup that floats in with a gentle 3D tilt over a soft background.
Raw screen captures look flat and unfinished. Here the recording is placed inside a clean device frame that rises into view, settles at a slight perspective tilt and floats with a subtle drift and glass reflection, over a blurred version of the source footage or a brand gradient. The product moment instantly looks like a launch video rather than a screen share.
Try the parameters
Device width as % of frame width.
Best used for
- — App demos
- — Website showcases
- — SaaS feature launches
- — Course platform tours
Assets
- ● Screen recording required
- ○ Source video optional
- ○ Screenshots optional
- ○ Brand logo optional
Pairs well with
If assets are missing
If only screenshots are supplied, use them as stills inside the device with a slow scroll; never mock up UI that isn't in the supplied material. Without any screen material, ask for it.
Accessibility
Tilt and float reduce text legibility — keep tilt ≤ 12° while text must be read, and offer a flat (0°) version for motion-sensitive viewers.
Individual prompt
updates with the parameters above# CES style instruction — L04 Floating Device Frame You are an experienced motion designer and video editor working in Claude Code. Apply the **L04 Floating Device Frame** technique to the supplied footage as specified below. **B. Project configuration:** 1080×1920, 9:16, 30 fps · Source video: not provided — ask the user for the path before starting · Video language (on-screen text & captions): English **Layouts** — Raw screen captures look flat and unfinished. Here the recording is placed inside a clean device frame that rises into view, settles at a slight perspective tilt and floats with a subtle drift and glass reflection, over a blurred version of the source footage or a brand gradient. The product moment instantly looks like a launch video rather than a screen share. ### L04 Floating Device Frame - **When:** ≈ 00:00.00 → 00:08.00 (≈ derived — adjust to the nearest natural beat in the footage) - **Layer / track:** V1 (main picture) - **What it does:** A screen recording plays inside a polished phone, tablet or browser mockup that floats in with a gentle 3D tilt over a soft background. - **Parameters:** Device: Phone; 3D tilt: 10 deg; Float amplitude: 1.2%; Background: Blurred source footage; Device width: 62%; Glass reflection: on; Background accent: #779CFF - **Steps:** 1. Between from 00:00.00 to 00:08.00, place the supplied screen recording inside a phone frame (thin bezel, 13% corner radius, centred camera pill) 670px wide (62% of frame width), screen aspect 9:19.5. Fit the recording to the screen with object-fit: cover from the top; Scale every source uniformly (object-fit: cover for crops, contain for fits) — never stretch footage, screenshots or recordings to a region's aspect ratio. 2. Background: the source footage scaled 115%, Gaussian blur ≈ 4% of width, brightness 55%; add a soft contact shadow under the device (ellipse, black 40%, blur 3% of width). 3. Entrance: rise from +40% of frame height with rotateX 25° → 6.0° and opacity 0 → 1 over 21 frames using a fast expo-out curve (cubic-bezier(0.16, 1, 0.3, 1)); use CSS perspective ≈ 2.5× the device width. 4. Idle float: oscillate translateY by ±1.2% of frame height and rotateY between −10° and +10° on a slow sine (period 4s); keep motion subtle enough that UI text stays readable. Add a diagonal glass reflection (white 0% → 10% → 0% gradient) that sweeps across the screen once on entry. 5. Exit with the reverse of the entrance over 12 frames. Implement in Remotion with a perspective container and a transformed device <div>; the recording plays via <OffthreadVideo> inside the screen mask. 6. Verify that the smallest UI text in the recording renders ≥ 2.2% of frame width inside the frame; if not, crop the recording to the relevant region or increase device size. - **Assets:** Screen recording (⚠ MISSING) · optional: Source video, Screenshots, Brand logo - **Fallback:** If only screenshots are supplied, use them as stills inside the device with a slow scroll; never mock up UI that isn't in the supplied material. Without any screen material, ask for it. **G. Asset integrity and restrictions:** - Do not create or present invented testimonials, comments, quotes, reviews or endorsements. - Do not fabricate numbers, metrics, charts or results. Data visualisations use only the supplied data. - Do not create fake screenshots or UI and present them as real. Illustrative graphics must be clearly illustrative. - Do not attempt unsupported 3D reconstructions or perfect subject separation without a mask; use the documented 2D fallbacks instead. **I. Quality verification:** - Check output dimensions and aspect ratio with ffprobe — they must match the configuration exactly. - Check the output frame rate and that the duration is within ±0.5 s of the target. - Check audio/video synchronisation at the start, middle and end (lip-sync and SFX hits within 1 frame). - Inspect frames at every beat boundary for text clipping, overflow and safe-zone violations. - Confirm the output file exists and plays — never claim a render is complete without an actual output file. - Report any missing asset or unimplemented effect explicitly.
More layouts styles
Use a layout when two things must be seen at once. Only one full-frame layout can be active at a time.
- L01Vertical Split ScreenThe frame divides into two regions — speaker in one, a screen recording or second shot in the other — split by a divider at an adjustable ratio.
- L02Picture-in-Picture FocusThe source media fills the frame while the speaker sits in a rounded window in one corner that glides to another corner when detail appears beneath it.
- L03Triple StackThree media bands stack vertically and the focal band grows to take most of the frame while the other two shrink and dim, shifting with the script.
- L05Editorial SidebarA clean text panel slides in from one side while the speaker re-centres in the remaining frame, then fills with a heading and numbered notes.
- L06Center SpotlightThe shot contracts into a sharp central frame with a thin accent ring while the surrounding area becomes a blurred, darkened copy carrying context labels.
- L07Grid ConversationSpeakers or references populate a 2×2 (or 1+2) grid tile by tile, and a highlight moves to whoever is currently talking.
- L08Cinematic LetterboxBlack bars close in from top and bottom to a true 2.39:1, 2:1 or 1.85:1 band, cropping (never stretching) the shot into a cinematic frame.
- L09Collage CanvasPhotos, a speaker cut-out, a screenshot and a note card fly onto a paper canvas and settle at slight angles around a bold headline.
- L10Adaptive Proof PanelWhen evidence appears the speaker's shot shrinks into a band and a proof panel takes the rest, resizing as more evidence arrives, then hands the frame back.