ae_add_device_frame
Wrap a layer in a device mockup frame with options for card, browser, or phone styles, adjustable padding, corner radius, color, and drop shadow to present UI screenshots and precomps.
Instructions
Wrap a layer in a mockup frame — 'card' (rounded panel + shadow), 'browser' (panel + a top chrome bar with traffic-light dots), or 'phone' (tall rounded panel). The content layer is parented to the frame so they move together. Best on footage/precomp layers (a screenshot or UI scene).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | ||
| layer | Yes | The content layer to frame (e.g. a screenshot). | |
| style | No | card | |
| contentSize | No | [w, h] of the content as displayed. Defaults to the layer's source size. | |
| padding | No | Extra frame around the content (px). | |
| cornerRadius | No | ||
| frameColor | No | ||
| shadow | No |