From Infinity UI by Infinity UI, LicenseRef-InfinityUI license.
UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { OpBulge } from "@/components/effects/op-bulge/op-bulge";
export default function Background() {
return (
<OpBulge
className="h-svh w-full"
inkColor="#111111"
paperColor="#f4f1ea"
splitColor="#e8412c"
pattern="checks"
pitch={22}
bulgeSize={1}
bulgeStrength={0.55}
twist={0.4}
bulges={2}
speed={1}
colorSplit={0}
cursorStrength={1}
interactive={true}
/>
);
}Colours
Controls
Op-art checks, stripes, squares or dots that swell like a lens: slow bulges drift through the pattern and the cursor carries its own. Hold to pinch, click to send an inverting ring. One shader pass on a shared WebGL2 context; razor-sharp edges; a still frame under reduced motion.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| inkColor | string (hex colour) | "#111111" | Colour of the pattern's dark half, or of the dots. |
| paperColor | string (hex colour) | "#f4f1ea" | Colour of the pattern's light half. |
| splitColor | string (hex colour) | "#e8412c" | Colour of the fringe that opens along edges where the warp is strongest. |
| pattern |























