Skip to content

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

1.7 KB
Raw Blame
---
title: Neon
description: Swirl preset. Neon teal, purple and pink vortex around a dark core
component: shader-swirl-neon
vibe: tech
length: 150
useWhen:
  - "A neon vortex behind a centered logo reveal."
  - "Foreground is light text or a bright product shot that needs a dark field around it."
  - "You want a finished Swirl look without tuning the palette and parameters yourself."
avoidWhen:
  - "The video must use your brand colors — start from `shader-swirl` and set `colors`."
  - "You want a lighter, contrasting mood from the same shader — use `shader-swirl-candy`."
askedAs:
  - "neon vortex"
  - "teal purple pink spiral"
  - "I want a glowing neon swirl in teal, purple and pink around a dark core"
  - "logo reveal over a vivid vortex"
  - "cyberpunk spiral behind a centered mark"
  - "neon whirlpool"
---

<ComponentPreview name="shader-swirl-neon" />

<InstallBlock name="shader-swirl-neon" />

Installs [Swirl](/docs/shaders/components/shader-swirl) as a dependency. This file only fixes its look: the preset object at the top holds every value, so edit it in place to make the preset your own.

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderSwirlNeon } from "@/components/remocn/shader-swirl-neon";

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

ShaderSwirlNeon takes the same props as `ShaderSwirl`. Props you pass override the preset, except `speed`, which scales the preset's own pace: `speed={2}` is twice as fast as the preset, whatever its base speed.

## Credits

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