A 3D perspective grid background with animated light beams that create a time-warp effect around content.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Max-Samson/magicui/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Usage
Custom Configuration
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | - | Content to display inside the warp animation |
perspective | number | 100 | 3D perspective depth in pixels |
beamsPerSide | number | 3 | Number of light beams per side of the grid |
beamSize | number | 5 | Size of each beam as percentage of grid |
beamDelayMax | number | 3 | Maximum animation delay in seconds |
beamDelayMin | number | 0 | Minimum animation delay in seconds |
beamDuration | number | 3 | Duration of beam animation in seconds |
gridColor | string | "var(--border)" | Color of the grid lines |
className | string | - | Additional CSS classes for the container |
The component creates a 3D grid on all four sides (top, bottom, left, right) with animated beams that travel along the grid.