Booting Environment...

Background Ripple

An interactive background component consisting of a grid of cells that trigger a radial ripple animation upon interaction. Perfect for landing pages and hero sections.

Installation

npx raya-ui@latest add background-ripple-effect

File Structure

your-project
components
ui
background-ripple-effect
BackgroundRippleEffect.vue

API Reference

Props

fill
boolean
false

When true, the component ignores row/col props and automatically calculates the grid to fill its parent container.

cellSize
number
56

The width and height (in pixels) of each interactive grid cell.

rows
number
8

Explicit number of horizontal rows. (Ignored if fill is true).

cols
number
27

Explicit number of vertical columns. (Ignored if fill is true).

Ripple Grid

Click anywhere on the surface to see the effect

Settings
Auto-calculate grid coverage.
7
12
40px