Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

1.6 KB
Raw Blame
---
title: Pulsing Border
description: Glowing border frame that pulses around the edges
component: shader-pulsing-border
vibe: premium
length: 150
useWhen:
  - "You want a pulsing lit frame around the scene edges to contain foreground content."
  - "A premium reveal benefits from an edge glow that leaves the center clear for text."
  - "You want corner radius / thickness tunable via `roundness`/`thickness`."
avoidWhen:
  - "The brief bans decorative glow — keep `bloom`/`intensity` restrained so the border does not read as AI-slop neon."
  - "You want a full-field texture — the interior stays mostly `colorBack`; use a noise or gradient shader."
  - "The scene already has a strong border/frame in the layout."
askedAs:
  - "glowing frame edge"
  - "pulsing screen border"
  - "I want a light-up border pulsing around the edges of the frame"
  - "premium reveal with edge glow and a clear center"
  - "neon outline framing the content"
  - "glowing vignette frame"
---

<ComponentPreview name="shader-pulsing-border" />

<InstallBlock name="shader-pulsing-border" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderPulsingBorder } from "@/components/remocn/shader-pulsing-border";

const ShaderPulsingBorderScene = () => (
  <ShaderPulsingBorder speed={1} thickness={0.1} roundness={0.25} />
);

export const RemotionRoot = () => (
  <Composition
    id="ShaderPulsingBorder"
    component={ShaderPulsingBorderScene}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);
```

## Credits

Shader by [paper-design/shaders](https://github.com/paper-design/shaders).