Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Swirl
description: Concentric bands swirling around a center point
component: shader-swirl
vibe: premium
length: 150
useWhen:
- "You want a hypnotic, radial background with clear banded structure around a center."
- "A scene benefits from rotational motion that reads as \"spinning up\" or focus."
- "You want the band count tunable — raise `bandCount` for tighter rings."
avoidWhen:
- "You want free-flowing liquid folds rather than concentric bands — use `shader-warp`."
- "The center would sit behind critical text — the convergence point draws the eye."
- "You want spiral arms instead of closed rings — use `shader-spiral`."
askedAs:
- "spinning concentric bands"
- "radial banded background"
- "I want bands rotating around a center point"
- "hypnotic radial scene with clear stripes"
- "rotational motion that reads as spinning"
- "vortex bands"
---
<ComponentPreview name="shader-swirl" />
<InstallBlock name="shader-swirl" />
## Usage
```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderSwirl } from "@/components/remocn/shader-swirl";
const ShaderSwirlScene = () => (
<ShaderSwirl speed={1} bandCount={4} twist={0.1} />
);
export const RemotionRoot = () => (
<Composition
id="ShaderSwirl"
component={ShaderSwirlScene}
durationInFrames={150}
fps={30}
width={1280}
height={720}
/>
);
```
## Presets
Ready-made looks, each a standalone registry item that pulls in `shader-swirl` as a dependency. Install one and drop it in like the base shader. Props you pass override the preset, and `speed` scales the preset's own pace instead of replacing it.
<ShaderPresets base="shader-swirl" />
```tsx
import { ShaderSwirlCandy } from "@/components/remocn/shader-swirl-candy";
export const Background = () => <ShaderSwirlCandy />;
```
## Credits
Shader by [paper-design/shaders](https://github.com/paper-design/shaders).