Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProAn official notice set in heavy condensed type over a dark concrete arcade that keeps switching between its calm wording and a corrupted version in warning red. Each switch lasts about half a second: letters scramble through stray glyphs before landing on the altered words, a refraction band sweeps across bending the text with cyan and red fringes, RGB channels split, red ghost echoes trail and horizontal slices tear sideways, then a REVOKED stamp and a breach status appear. Hovering the notice holds the current version and concentrates tearing near the pointer, a click forces the switch; reduced motion shows one frozen mid-switch frame and without WebGL the scrambling still runs in canvas 2D.
Included in Pro 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 { DirectiveGlitch } from "@/components/hyperblur-pro/directive-glitch"
<DirectiveGlitch heading={["STAY", "INSIDE."]} headingCorrupt={["STAY", "WITH IT."]} />
<DirectiveGlitch interval={2.4} intensity={1.6} image="" />| Prop | Type | Default | Description |
|---|---|---|---|
| code | string | "Directive 11-C · Internal circulation · Priority 2" | Mono line above the heading in the calm version. |
| codeCorrupt | string | "Directive 11-C · It is circulating · Priority 0" | Mono line in the corrupted version. |
| heading | string[] | ["REMAIN AT", "YOUR DESK."] | Calm heading lines. |
| headingCorrupt | string[] | ["IT IS AT", "YOUR DESK."] | Corrupted heading lines. Letters that differ turn red. |
| body | string[] | ["Personnel are reminded that all sectors remain open.", ...] | Calm body lines. |
| bodyCorrupt | string[] | ["Personnel are reminded that no sector remains open.", ...] | Corrupted body lines, matched line by line with body. |
| actions | { label: string; href?: string }[] | [{ label: "Acknowledge" }, { label: "Read full notice" }] | Up to two buttons. The first turns red while the notice is corrupted. |
| image | string | "https://images.unsplash.com/photo-1524230572899-a752b3835840?auto=format&fit=crop&w=1600&q=80" | Architecture photo on the right, shown desaturated and dark. Empty string uses a plain background. |
| accent | string | "#e0261b" | Warning red for corrupted letters, echoes, stamp and status. |
| interval | number | 3.6 | Seconds the calm version holds. The corrupted version holds about half as long. |
| intensity | number | 1 | Strength of the split, tearing and refraction band, from 0 to 2.5. |
| interactive | boolean | true | Hover holds the current version, a click forces a switch. |
| maxDpr | number | 1.5 | Upper limit for the canvas pixel ratio (capped at 2). |
| height | string | "100vh" | Height of the section, any CSS length. Minimum is 600px. |
Source code is included in Pro and above