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
ComponentsType Proximity

Type Proximity

Typography grid modulating variable font weight and width by pointer distance.

PreviousLiquid Smear
NextHolo Foil
ResourcesFull TemplatesProProject StudioSource on GitHub

Type Proximity

Dynamic typography matrix where every letter calculates its distance to your finger or cursor, fluidly morphing its variable weight, width, and tint axes without layout thrashing.

Interactive Stage

Weight
follows
yourtouch
Move cursor or finger near letters
Controls
Proximity Radius240px
Weight (Near)850
Distance Falloff1.60
Font Size (vw)9.0vw
Tint Blend Ratio0.85

Installation & Usage

component.tsx
1import { TypeProximity } from "nexoreui";
2
3export function HeroTypeDemo() {
4 return (
5 <div className="relative h-[420px] w-full overflow-hidden rounded-2xl">
6 <TypeProximity
7 rad={260}
8 wmin={200}
9 wmax={800}
10 size={9}
11 idle={0.8}
12 tint="#ff4a2b"
13 bg="#e8eaee"
14 ink="#0d0e12"
15 lines={["Weight", "follows", "your touch"]}
16 className="h-full w-full"
17 />
18 </div>
19 );
20}

API Reference

API Reference (Props)

PropTypeDefaultDescription
radnumber240Proximity influence radius in pixels around pointer.
wminnumber200Font weight when pointer is far.
wmaxnumber850Font weight when pointer is directly hovering.
dminnumber75Font width percentage axis when pointer is far.
dmaxnumber100Font width percentage axis when pointer is near.
fallnumber1.6Exponential distance attenuation curve power.
sizenumber11Font size in viewport width units (vw).
easenumber0.22Per-frame interpolation smoothing factor.
idlenumber0.7Sine wave idle sweep speed multiplier.
huenumber0.85Accent color shift intensity factor.
tintstring"#ff4a2b"Hover accent color blended with ink.
bgstring"#e8eaee"Substrate background color.
inkstring"#0d0e12"Resting text color.
linesstring[]["Weight", "follows", "your touch"]Array of text lines displayed on stage.
pausedbooleanfalsePause animation loop manually.