Light Ribbons
Install the component, then paste your configured usage. Your settings are included in the code below.
Pro source comes with Arclen UI Pro. See plans
| Property | Type | Default |
|---|---|---|
palettePalette Choose a preset or Custom to edit the five ribbon colours. Options: arclen (Arclen UI), tidewater (Tidewater), ember (Ember), aurora (Aurora), orchid (Orchid), glacier (Glacier), custom (Custom) | select | "arclen" |
color1Primary Used with the Custom palette. Accepts hex colour with optional alpha, or transparent. | color | "#a051e1" |
color2Highlight Used with the Custom palette. Accepts hex colour with optional alpha, or transparent. | color | "#c38af0" |
color3Accent Used with the Custom palette. Accepts hex colour with optional alpha, or transparent. | color | "#f54e00" |
color4Depth Used with the Custom palette. Accepts hex colour with optional alpha, or transparent. | color | "#7438aa" |
color5Secondary accent Used with the Custom palette. Accepts hex colour with optional alpha, or transparent. | color | "#ff8a45" |
speedTravel speed 0–2Step 0.05 | number | 0.6 |
densityRibbon count 12–72Step 1 | number | 44 |
thicknessRibbon thickness Scales the ribbon cores and their perspective width. 0.25–3Step 0.05 | number | 1 |
brightnessBrightness Scales ribbon light, including halos and glints. Zero hides the ribbons. 0–2Step 0.05 | number | 1 |
glowBloom strength 0–1Step 0.05 | number | 0.7 |
bendBend height 0.3–0.75Step 0.01 | number | 0.5667 |
spreadBundle width 0.16–0.7Step 0.01 | number | 0.32 |
heightInstalled height 240–1200Step 10 | number | 680 |
backgroundBackground | color | "#000000" |
Light Ribbons
A decorative light field with fine vertical ribbons, a rounded bend and staggered finite light packets crossing a perspective floor. The default Arclen UI palette combines violet and ember. Choose Arclen UI, Tidewater, Ember, Aurora, Orchid, Glacier or Custom in the Tweaks panel, or pass the palette setting. The artwork has no embedded controls and uses no external assets. Place meaningful page content beside it or in your own positioned layer.
import { LightRibbons } from './components/light-ribbons/src/react';
<LightRibbons palette="arclen" density={44} bend={0.5667} height={680} />The settings reference below is generated from the component manifest. Bundle width changes the vertical corridor; bend height positions the floor. Density sets the ribbon count. Ribbon thickness scales the cores and their perspective width, from 0.25× to 3×. Brightness scales all emitted light, from zero to 2×; zero hides the ribbons. Speed zero produces a still composition. Glow controls the halo without removing the fine cores. Height is in CSS pixels and width follows the containing element.
Choose Custom to edit five named colour slots: Primary (color1), Highlight (color2), Accent (color3), Depth (color4) and Secondary accent (color5). They start with the Arclen UI colours. The renderer repeats these slots across the ribbons, with the secondary accent appearing more often. Presets use their own colours; custom edits remain available when you return to Custom. All colour settings, including the background, accept #RRGGBB, #RRGGBBAA or transparent. Colour alpha scales the whole ribbon, including white glints. The canvas stays transparent over the chosen background.
<LightRibbons
palette="custom"
color1="#0055ff"
color2="#66aaff"
color3="#ff6600"
color4="#142288"
color5="#ffbb7780"
thickness={1.4}
brightness={0.85}
/>Numeric inputs are clamped to the manifest bounds; ribbon count is rounded to an integer. Invalid colours, unknown palettes and nonfinite numbers fall back to their manifest defaults. Use controller.update(defaults) to restore all defaults. Updates retain the animation phase and the existing WebGL renderer.
import { mount } from './components/light-ribbons/src/core';
import './components/light-ribbons/src/styles.css';
const controller = mount(document.querySelector('#light-field')!, { palette: 'glacier' });
controller.update({ speed: 0.3, bend: 0.43 });
controller.pause();
controller.resume();
// Before removing the host:
controller.destroy();The HTML download includes the renderer, stylesheet and configured settings. It can run at a nested URL without external assets or network requests. The server-rendered inline SVG preserves a static composition without JavaScript or WebGL support. Its geometry, ribbon count, selected colours, thickness, brightness, glow and background follow the same settings; the moving streaks and fine glints require WebGL. The artwork is decorative and excluded from assistive reading. Without JavaScript, the static artwork remains.
Motion stops when offscreen, when the document is hidden, when explicitly paused, and while reduced motion is requested. Preference changes apply live. Resume starts from the retained phase without a time jump. Resizing rebuilds the ribbon mesh at a maximum device pixel ratio of two. Recognized software renderers (including SwiftShader, llvmpipe and WARP) use a maximum 384,000-pixel drawing buffer, scaled to the same display size. This makes large software-rendered fields softer while retaining every ribbon, the glow and the full animation; hardware rendering keeps its native resolution. Software contexts with float-texture support cache each ribbon’s static cross-section in a 4.5 MiB optical texture. Motion and settings remain live, and the cache is released on teardown; contexts without these extensions use the direct shader. Each instance owns its resources and tears them down on destroy. The React adapter renders server markup and delegates to the same core.
Light Ribbons is intended for hardware-accelerated WebGL. Linux SwiftShader exceeded the 50 ms long-task budget in testing; software rendering can be substantially slower and varies by device and scene size. Use Speed zero for a still composition when animation is unsuitable. Reduced-motion preferences also stop the animation.
The Installed height setting controls exported and embedded components. The catalogue preview fills its frame.
The preview runs the component’s own JavaScript. It respects reduced motion and pauses when off screen. The HTML bundle includes a static fallback.
Every setting in this panel comes from the component manifest. Preview size, pause and replay stay in the inspector.