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
ComponentsGravity Grid

Gravity Grid

Coordinate grid deforming around inertial pointer masses with wave propagation.

PreviousDither Image
NextScroll Drum
ResourcesFull TemplatesProProject StudioSource on GitHub

Gravity Grid

Curved spacetime coordinate grid where three trailing gravitational masses pull, distort lines, and radiate concentric gravity waves.

Interactive Stage

Move cursor to warp spacetime grid
Controls
Grid Density24
Gravitational Mass1.60
Falloff Steepness3.20
Lines to Dots0.00
Core Glow0.60

Installation & Usage

component.tsx
1import { GravityGrid } from "nexoreui";
2
3export function SpacetimeGridDemo() {
4 return (
5 <div className="relative h-[500px] w-full overflow-hidden rounded-2xl">
6 <GravityGrid
7 cell={26}
8 mass={1.8}
9 fall={3.5}
10 glow={0.7}
11 hot="#ff6a3d"
12 ink="#cbd5e1"
13 bg="#090a0f"
14 className="h-full w-full"
15 />
16 </div>
17 );
18}

API Reference

API Reference (Props)

PropTypeDefaultDescription
cellnumber24Grid density frequency controlling cell dimensions.
lwnumber0.012Grid line thickness.
massnumber1.6Gravitational mass attraction strength of cursor points.
fallnumber3.2Exponential spatial falloff steepness.
dotsnumber0Transition blend from continuous lines (0) to discrete dots (1).
wavenumber0.5Radial gravity wave propagation amplitude.
glownumber0.6Ambient heat glow intensity at singularity center.
lagnumber0.1Inertial tracking delay for secondary satellite masses.
bgstring"#0b0c12"Hex deep space background tone.
inkstring"#cfd6ee"Hex grid line baseline tone.
hotstring"#ff6a3d"Hex high-tension singularity core color.
pausedbooleanfalsePause animation loop manually.