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
ComponentsText Rail

Text Rail

Kinetic typography flowing along 9-point Catmull-Rom Bezier splines.

PreviousFlow Field
NextMoiré Grating
ResourcesFull TemplatesProProject StudioSource on GitHub

Text Rail

Continuous kinetic typography running along 9-point Catmull-Rom cubic Bezier splines. Scroll impulses and velocity dynamically bend the spline curve and rotate the track cluster.

Interactive Stage

Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm · Scroll · Motion · Rhythm ·
Scroll wheel over canvas or watch auto-drift
Controls
Wave Height (Amp)0.160
Wave Frequency1.60
Typography Size0.20
Angular Tilt-8°
Velocity Curve Bend1.20

Installation & Usage

component.tsx
1import { TextRail } from "nexoreui";
2
3export function KineticRailDemo() {
4 return (
5 <div className="relative h-[440px] w-full overflow-hidden rounded-2xl">
6 <TextRail
7 autoScroll={true}
8 autoSpeed={2.5}
9 rails={3}
10 amp={0.16}
11 freq={1.6}
12 size={0.2}
13 rot={-8}
14 bg="#101014"
15 ink="#f2efe8"
16 c2="#ff4a2b"
17 className="h-full w-full"
18 />
19 </div>
20 );
21}

API Reference

API Reference (Props)

PropTypeDefaultDescription
ampnumber0.16Spline wave curve amplitude relative to viewport height.
freqnumber1.6Harmonic wave cycle frequency across the track.
sizenumber0.2Font size scalar relative to viewport height.
speednumber0.2Idle text drift velocity.
gainnumber1.2Scroll translation acceleration gain.
bendnumber1.2Kinetic velocity path bend factor.
railsnumber3Number of parallel text tracks (1 to 4).
gapnumber0.28Vertical spacing between tracks.
outlinenumber0.55Outline fill ratio on alternating lines.
linenumber0.25Guide wire path stroke opacity.
rotnumber-8Base angular rotation tilt of the rail group in degrees.
skewnumber1Scroll velocity angular skew amplification.
driftnumber0.5Harmonic phase drift speed.
inertianumber0.12Kinetic scroll smoothing factor.
vgainnumber1Velocity calculation multiplier.
bgstring"#101014"Container backdrop fill.
inkstring"#f2efe8"Primary text fill color.
c2string"#ff4a2b"Accent text color for alternating lines.
captureWheelbooleanfalseCapture wheel events directly on container.
autoScrollbooleanfalseEnable auto-scroll drift animation.
pausedbooleanfalsePause animation loop manually.