Background

Twisted ribbon

A living section background: a wide ribbon of spectrum crosses the frame diagonally and twists in the middle — there it turns edge-on, darkens and shows its back with the strands in reverse order. Drawn by a shader on the GPU, so the motion costs the processor nothing.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

What you can change

  • Offsets to the original palette colours — accent, tint, far, cool and sun in #rrggbb format
  • Rotation strength — twist; zero preserves the original longitudinal fold
  • Wave depth — the amplitude prop

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme
Twisted ribbon — A living section background: a wide ribbon of spectrum crosses the frame diagonally and twists in the middle — there it turns edge-on, darkens and shows its back with the strands in reverse order. Drawn by a shader on the GPU, so the motion costs the processor nothing.

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.club/c/background-001?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

How to use

<Background001 speed={60} twist={1} />

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Warm edge
accent · default: #ff6f55
Middle strand
tint · default: #ff88d1
Strand near the cool edge
far · default: #cca1ff
Cool edge
cool · default: #bbcefb
Yellow edge
sun · default: #ffc369
Wave depth
amplitude · default: -7.821
Twist
twist · default: 1
Motion duration
speed · default: 60
Fibres
fibers · default: on

FAQ

How do I add Twisted ribbon with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does Twisted ribbon depend on?
No npm packages beyond React and Tailwind CSS.
What can I change in Twisted ribbon?
Adapt: Offsets to the original palette colours — accent, tint, far, cool and sun in #rrggbb format; Rotation strength — twist; zero preserves the original longitudinal fold; Wave depth — the amplitude prop. Keep as installed: The folded geometry with a rounded crease and three vertex rotations with falloff; The undistorted orthographic projection and depth buffer for overlapping sides; The reference palette, simplex noise/xxHash, signed UV derivative, SRC_COLOR / ZERO blending and the blur/grain post-processing pass.
Is Twisted ribbon free?
The preview is open to everyone; the source is available with a PRO subscription.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/background-001.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

A folded 3D ribbon matching the Stripe reference. The vertex shader uses simplex noise with integer xxHash and three rotations with falloff. The 480 × 480 WebP palette is embedded, with no CDN requests. The first pass renders the mesh with depth testing and SRC_COLOR / ZERO blending; the second applies six-sample angular blur and grain. Initial time is 35000 ms at speed 0.00004; speed scales duration. The camera preserves proportions across container sizes. Colour props offset the original palette. Pixel density is capped at 2 and rendering runs every other animation frame. Off-screen and hidden tabs pause without time jumps. Reduced motion keeps a static frame; a gradient remains without WebGL 2.

Tags

  • background
  • gradient
  • hero
  • ribbon
  • webgl
  • shader
  • animated
  • ambient
  • decorative
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…