Skip to content

Holo Ribbon Capture

An email sign-up where two capsules of holo glass slide in from opposite edges, two cards drop from above and hang there swaying, and the form sits under the long ribbon with an asterisk that turns as you type, a Submit pill that darkens once there is something to send, and a line saying what the address is for.

WebGL20 deps1 file · 51 KB TSXreduced-motion aware

ProHolo Glossglassminimal
Preview

Props

The source is part of Pro

$27/month or $179 once. See Pro

No runtime dependencies
"use client";

import { useEffect, useId, useRef, useState, type CSSProperties, type FormEvent, type RefObject } from "react";

/* ============================================================================
 * HOLO ART ENGINE
 *
 * Every picture in the kit (the glass cube grid on a card, the violet tubes,
 * the mosaic, the cobalt slabs, the dark tiled room, the concrete steps) is
 * PAINTED IN CODE by one hand-written WebGL2 ray marcher. Nothing is a photo
 * or a video, so an AI agent can retarget a scene by editing its map().
 *
 * How it stays cheap:
 *   - One shared offscreen WebGL2 context for the whole page, created on the
 *     first request and never per component.
 *   - A picture is rendered ONCE per (scene, size, seed) and cached as a
 *     canvas. Cards, pills and tiles draw the cached canvas into their own 2D
 *     canvas; nothing ray-marches per frame.

  // ---------------------------------------------------------------
  // Full source available with a viberdy Pro subscription.
  // https://viberdy.dev/pricing
  // ---------------------------------------------------------------
}
Details

About this section

The last screen of the landing, where the ask happens. "Enter your mail" rises on the left in a light and a bold line. A long capsule of twisted holo glass slides in from the right edge to sit beside it, and a shorter capsule of cobalt and coral rings slides in from the left below it, so the two bands cross the page in opposite directions. Two cards drop from the top of the section, overshoot a little and hang there, swaying on slow pendulum loops. The form sits to the right under the long ribbon: a pill field, an asterisk that turns a step with every keystroke and spins while a request is in flight, and a black Submit pill. Wire onSubmit to your list provider; its promise decides whether the button reads Added or the status explains what went wrong.

Curator’s note

The form is real: a labelled email input, linear-time validation, an aria-live status and an async onSubmit whose promise drives sending, done and error. Without onSubmit it never pretends: it says nothing was sent.

Pairs well with

Pro