BackgroundGrid Lines Background
Grid Lines Background
A customizable animated grid background component for React, allowing control over grid size, line color, thickness, and animation duration.
Overview
The GridLines Background
component provides a flexible and customizable animated grid background. It supports various customization options such as grid size, line color, thickness, and animation speed, making it ideal for modern UI designs.
The component is built using Framer Motion, a production-ready motion library for React. It is easy to integrate into any React application and provides a visually appealing background effect that can enhance the overall user experience.
Preview
Usage
Code
Props
Prop | Type | Default |
---|---|---|
gridSize | number | 40 |
lineColor | string | 'rgba(255,255,255,0.1)' |
lineSize | number | 1 |
duration | number | 4 |
className | string | - |