Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Lilac
description: Swirl preset. Dreamy lilac and baby-blue swirl around a dark eye
component: shader-swirl-lilac
vibe: premium
length: 150
useWhen:
- "A dreamy, soft swirl that stays out of the way of copy."
- "The frame is light, so dark foreground text and UI stay readable on top."
- "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 darker, contrasting mood from the same shader — use `shader-swirl-ember`."
askedAs:
- "lilac baby blue swirl"
- "dreamy soft vortex"
- "I want a gentle lilac and light blue swirl around a dark eye"
- "soft background that stays out of the way of copy"
- "pastel whirl with light mood"
- "pale purple spiral"
---
<ComponentPreview name="shader-swirl-lilac" />
<InstallBlock name="shader-swirl-lilac" />
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 { ShaderSwirlLilac } from "@/components/remocn/shader-swirl-lilac";
export const RemotionRoot = () => (
<Composition
id="ShaderSwirlLilac"
component={ShaderSwirlLilac}
durationInFrames={150}
fps={30}
width={1280}
height={720}
/>
);
```
ShaderSwirlLilac 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).