NexoreUI
2.0
InstallationComponentsIconsTemplatesNewGeneratorBetaNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesGeneratorBetaNexore MakeCreate Project
InstallationComponents OverviewIcons
Components (72)
ButtonAction ButtonsInputSpecialized InputsForm ControlsCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerceMedia & Audio
Dialog (Modal)Overlays & DrawersAlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial & ChatTheme Toggle
Aurora Border CardAurora Search PillAI Prompt InputCommand PaletteCode Block
Physics Showcase3D Product CardsLive 3D ObjectSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
ComponentsTwist Ribbon

Twist Ribbon

3D twisting ribbon triangle-strip mesh driven by scroll velocity.

PreviousScroll Warp
NextDither Image
ResourcesFull TemplatesProProject StudioSource on GitHub

Twist Ribbon

3D twisting helical ribbon mesh rendered with triangle strips, depth testing, scroll-velocity impulse physics, and double-sided contrasting typography.

Interactive Stage

In-Place Kinetic Scroll · Wheel directly over canvas or trigger kinetic impulse
Kinetic Controls:
Scrub:
Controls
Helical Twist1.60
Ribbon Width0.55
Tilt Angle0.28
Ribbon Layers2

Installation & Usage

component.tsx
1import { TwistRibbon } from "nexoreui";
2
3export function RibbonShowcase() {
4 return (
5 <div className="relative h-[550px] w-full overflow-hidden rounded-2xl">
6 <TwistRibbon
7 twist={1.8}
8 flex={1.4}
9 wid={0.5}
10 cnt={2}
11 text="Motion / WebGL / Physics / "
12 paper="#f2efe8"
13 back="#ff4a2b"
14 className="h-full w-full"
15 />
16 </div>
17 );
18}

API Reference

API Reference (Props)

PropTypeDefaultDescription
twistnumber1.6Base helical twist revolutions of ribbon strips.
flexnumber1.2Dynamic twist flex elasticity scaled by scroll velocity.
spdnumber0.35Idle continuous drift rotation speed.
boostnumber1Scroll impulse boost multiplier.
widnumber0.55Half-width of the 3D ribbon strip.
tiltnumber0.28Spatial camera tilt angle in radians.
wampnumber0.3Wave height oscillation amplitude along ribbon spine.
wfqnumber1.2Spatial frequency of ribbon spine sine wave.
camnumber4.5Camera Z-distance perspective focal position.
cntnumber2Number of overlapping ribbon mesh instances [1..3].
spreadnumber0.9Vertical separation gap between multiple ribbons.
repnumber3Horizontal texture repeat iterations.
shadenumber0.6Normal diffuse shading contrast depth.
paperstring"#f2efe8"Hex front surface tone.
inkstring"#0b0b10"Hex ribbon typography tone.
backstring"#ff4a2b"Hex back surface tone.
bgstring"#15151b"Hex viewport background tone.
textstring"Scroll / Twist / "Text rendered on procedural ribbon texture.
scrollProgressnumberundefinedDirect normalized scroll value [0..1] to drive without window scroll.
backgroundHTMLCanvasElement | HTMLImageElement | stringproceduralCustom background image URL or canvas source.
pausedbooleanfalsePause animation loop manually.