Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProTwo or three superimposed bold, crisp gratings of rings, parallel lines or radial rays rotate, breathe and drift on Lissajous paths so large interference bands appear and morph like precision op-art. Lines are analytically anti-aliased in a shader with smooth edges, and four color presets are built in. Moving the pointer pulls one grating center along with it; reduced motion shows a single still frame.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { MoireLines } from "@/components/hyperblur-pro/moire-lines"
<div style={{ position: "relative", height: "100vh" }}>
<MoireLines pattern="mixed" />
</div>| Prop | Type | Default | Description |
|---|---|---|---|
| pattern | "rings" | "lines" | "radial" | "mixed" | "mixed" | Which gratings are superimposed. |
| palette | "ink" | "ember" | "mono" | "aurora" | "ink" | Color preset: ivory on ink blue, ember, monochrome or aurora green. |
| background | string | palette | Background color override. |
| ink | string | palette | Color override for the two main gratings. |
| accent | string | palette | Color override for the third grating and the soft glow. |
| spacing | number | 18 | Distance between lines in CSS pixels. |
| lineWidth | number | 3.6 | Line thickness in CSS pixels, fractions allowed for hairlines. |
| speed | number | 1 | Animation speed multiplier. |
| glow | number | 1 | Strength of the accent glow behind the lines. 0 turns it off. |
| interactive | boolean | true | The pointer steers one grating center. |
| maxDpr | number | 2 | Upper limit for the canvas device pixel ratio (never above 2). |
| children | ReactNode | - | Content rendered above the lines. |
| className | string | "" | Extra classes for the root. The root fills its positioned parent. |
| style | CSSProperties | - | Inline styles for the root. |
Source code is included in Standard and above