---
title: Beam Flow
description: A high-performance WebGL laser flow shader with dynamic fog turbulence, directional cursor tilt, and animated micro-wisp streaks.
---

<ComponentPreview name="beam-flow-demo" />

## Premium Pro Component

This is a premium Pro component. To get access to its source code and advanced interactive configurations:
1. Visit the pricing page: [https://lightswind.com/pricing](https://lightswind.com/pricing)
2. Purchase a license to unlock this component.

If you have already purchased a license, you can install this component directly via our CLI:

```bash
npx lightswind@latest add beam-flow
```

*(Note: Make sure you have configured your API key in your project to authenticate your Pro license).*

## Installation

<Tabs defaultValue="cli">

<TabsList>
  <TabsTrigger value="cli">CLI</TabsTrigger>
  <TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>
<TabsContent value="cli">

```bash
npx lightswind@latest add beam-flow
```

</TabsContent>

<TabsContent value="manual">

> [!IMPORTANT]
> This is a premium component. Manual copy-paste source code is only available to Pro license holders.
> Please purchase a plan at [https://lightswind.com/pricing](https://lightswind.com/pricing) to unlock manual access, or use the authenticated CLI command:
> 
> ```bash
> npx lightswind@latest add beam-flow
> ```

</TabsContent>

</Tabs>

## Usage

```tsx
import { BeamFlow } from "@/components/lightswind-pro/beam-flow"
```

```tsx
import { BeamFlow } from "@/components/lightswind-pro/beam-flow";

export function Demo() {
  return (
    <div className="relative w-full h-[500px]">
      <BeamFlow color="#FF79C6" wispDensity={1.2} flowSpeed={0.4} fogIntensity={0.5} />
    </div>
  );
}
```
