# Silk Vortex

> Liquid glass streaming outward from a dark void: glossy folds mapped through a colour gradient.

## Spec sheet

| | |
| --- | --- |
| Access | Free: no account, free for commercial use |
| Shelf | Backgrounds › Backgrounds |
| Live preview | https://uibrik.com/components/silk-vortex |
| Writes | 1 files into `components/uibrik/silk-vortex/`, plus `components/uibrik/_shader-background/ShaderSurface.tsx` |
| Packages | none beyond React |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 9, 2026 |

## Add it

```bash
npx shadcn@latest add https://uibrik.com/r/silk-vortex.json
```

With the `@uibrik` namespace in `components.json` ([setup](https://uibrik.com/docs/installation.md)): `npx shadcn@latest add @uibrik/silk-vortex`.

Can't run commands? https://uibrik.com/components/silk-vortex/prompt-full.txt has every file verbatim, with the setup steps, ready for an assistant to write.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { SilkVortex } from "@/components/uibrik/silk-vortex/silk-vortex";

const colors = ["#000000", "#0d00aa", "#301fe9", "#b166fe", "#ffecff"];

<SilkVortex
  colors={colors}
  intensity={1.6}
  frequency={0.55}
  flow={1}
  twist={0.6}
  warp={1}
  hole={0.15}
  lobes={1}
  stretch={2.4}
  softness={0.5}
  gloss={0.8}
  shine={0.25}
  refraction={0.45}
  chroma={0.2}
  vignette={0}
  angle={-15}
  speed={1}
  grain={0.03}
  seed={0}
  animate
  interactive
  lean={0.5}
  follow={0.8}
>
  …
</SilkVortex>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/silk-vortex.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `colors` | `string[]` | `["#000000","#0d00aa","#301fe9","#b166fe","#ffecff"]` | The gradient light is mapped through, dark to bright, blended in OKLCH; 2 to 6 colours. |
| `intensity` | `number` | `1.6` | Brightness before the colour mapping. |
| `frequency` | `number` | `0.55` | How many folds. |
| `flow` | `number` | `1` | How fast the folds stream outward; negative flows inward. |
| `twist` | `number` | `0.6` | How much the dark arms curl as they leave the oval, like a vortex. |
| `warp` | `number` | `1` | Slow, broad sway of the whole shape. |
| `hole` | `number` | `0.15` | Width of the dark oval. |
| `lobes` | `number` | `1` | How strongly the light gathers on the two sides, leaving the oval's ends dark; 0 lights all round. |
| `stretch` | `number` | `2.4` | How many times longer the dark oval is than wide. |
| `softness` | `number` | `0.5` | Rounds the folds; lower pinches them into ridges. |
| `gloss` | `number` | `0.8` | Strength of the glossy highlights and rim. |
| `shine` | `number` | `0.25` | Size of the highlights: 0 is broad, 1 is pin-sharp. |
| `refraction` | `number` | `0.45` | How much the colour shifts along the slopes, as if refracted. |
| `chroma` | `number` | `0.2` | Colour split at the edges. |
| `vignette` | `number` | `0` | Darkening toward the corners; 0 keeps the liquid right to the edges. |
| `angle` | `number` | `-15` | Tilt. |
| `speed` | `number` | `1` | Animation speed; 1 is the designed pace. |
| `grain` | `number` | `0.03` | Film grain strength. |
| `seed` | `number` | `0` | Shifts the composition, so two backgrounds with the same settings still differ. |
| `animate` | `boolean` | `true` | Move on its own. Off draws one still frame. |
| `interactive` | `boolean` | `true` | React to the pointer. |
| `lean` | `number` | `0.5` | How far the void drifts toward the pointer. |
| `follow` | `number` | `0.8` | How lazily it follows the pointer, 0 (locked) to 1 (drifts after it). |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `children` | `ReactNode` |  | Content shown on top of the background. |
| `className` | `string` |  | Classes for the box; it fills whatever size you give it. |

## Where it fits

- **AI and tech heroes**: Liquid glass streaming from a dark void gives a striking focal point.
- **Dark premium pages**: Glossy folds mapped through a gradient suit high-end dark themes.
- **Music and events**: The vortex fits album launches and event teasers.

## Same shelf: Backgrounds

- [Soft Clouds](https://uibrik.com/components/soft-clouds.md) (Pro): A soft summer sky shot on grainy film, with billowing clouds drifting slowly on the wind.
- [Star Warp](https://uibrik.com/components/star-warp.md) (Pro): A deep, twinkling starfield; hold to jump to warp as stars stretch into colour-split streaks, and hover to steer through them.
- [Topographic Lines](https://uibrik.com/components/topographic-lines.md): Contour lines of a slowly shifting landscape, like a survey map; the pointer raises a hill the lines ring around.
- [Voronoi Cells](https://uibrik.com/components/voronoi-cells.md) (Pro): A living mesh of cells with waves of light hopping through it like signals across a network; the pointer lights the cells it passes.
- [ASCII Field](https://uibrik.com/components/ascii-field.md) (Pro): A slow field of light drawn as type, glyphs thickening where it brightens; the pointer brings a lens that reshuffles them.
- [Aurora](https://uibrik.com/components/aurora.md): Slow curtains of light with fine rays that lean toward the cursor.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/silk-vortex/` so the import paths keep resolving.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
