BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/rivelle/ripple-grid

Ripple Grid

rivelle/ripple-grid
FreeComponent

A field of cells that contracts and illuminates around the pointer.

Install it

npx shadcn@latest add https://rivelle.dev/r/ripple-grid.json

Source

registry/nova/effects/ripple-grid.tsxrivelle.dev/r/ripple-grid.json
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6
7type RippleGridProps = React.ComponentProps<"div"> & {
8 columns?: number;
9 rows?: number;
10};
11
12function RippleGrid({
13 className,
14 columns = 12,
15 onPointerLeave,
16 onPointerMove,
17 rows = 8,
18 ...props
19}: RippleGridProps) {
20 const [active, setActive] = React.useState<number | null>(null);
21 const cells = Array.from({ length: columns * rows });
22
23 return (
24 <div
25 className={cn(
26 "grid overflow-hidden rounded-[2rem] border border-foreground/10 bg-background",
27 className,
28 )}
29 data-active-index={active ?? undefined}
30 data-slot="ripple-grid"
31 onPointerLeave={(event) => {
32 setActive(null);
33 onPointerLeave?.(event);
34 }}
35 onPointerMove={(event) => {
36 const bounds = event.currentTarget.getBoundingClientRect();
37 const column = Math.min(
38 columns - 1,
39 Math.max(
40 0,
41 Math.floor(
42 ((event.clientX - bounds.left) / bounds.width) * columns,
43 ),
44 ),
45 );
46 const row = Math.min(
47 rows - 1,
48 Math.max(
49 0,
50 Math.floor(((event.clientY - bounds.top) / bounds.height) * rows),
51 ),
52 );
53 setActive(row * columns + column);
54 onPointerMove?.(event);
55 }}
56 style={{ gridTemplateColumns: `repeat(${columns}, minmax(0, 1fr))` }}
57 {...props}
58 >
59 {cells.map((_, index) => {
60 const activeRow = active === null ? 0 : Math.floor(active / columns);
61 const activeColumn = active === null ? 0 : active % columns;
62 const row = Math.floor(index / columns);
63 const column = index % columns;
64 const distance =
65 active === null
66 ? 0
67 : Math.hypot(row - activeRow, column - activeColumn);
68
69 return (
70 <span
71 aria-hidden="true"
72 className={cn(
73 "aspect-square border-b border-r border-foreground/[.07] bg-transparent transition-[background-color,transform,box-shadow] duration-500 ease-out will-change-transform motion-reduce:transition-none",
74 active !== null &&
75 distance < 4.8 &&
76 "scale-[.88] rounded-md bg-primary/[.22] shadow-[inset_0_0_28px_color-mix(in_oklch,var(--primary)_28%,transparent),0_0_24px_color-mix(in_oklch,var(--primary)_14%,transparent)]",
77 active !== null &&
78// … truncated

What it pulls in

Other registry items

  • @rivelle/utils

Files it writes

  • registry/nova/effects/ripple-grid.tsx

Facts

Registry
rivelle
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

Docs on rivelle rivelle.dev w3cproject/rivelle-ui on GitHub Raw registry item This item as JSON

More from rivelle

All 83 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionrivelleComponentsFree2 deps
AlertalertrivelleComponentsFree1 dep
Alert Dialogalert-dialogrivelleComponentsFree1 dep
Aspect Ratioaspect-ratiorivelleComponentsFree1 dep
AvataravatarrivelleComponentsFree1 dep
BadgebadgerivelleComponentsFree2 deps
BreadcrumbbreadcrumbrivelleComponentsFree2 deps
ButtonbuttonrivelleComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex