BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ericts-ui/ripple-scene

Ripple Scene Gallery

ericts-ui/ripple-scene
FreeBlock

An immersive scene selector whose photo lifts into a travelling corrugated wave, swapping to the next scene at the crest before settling flat.

Install it

npx shadcn@latest add https://ui.ericts.com/r/ripple-scene.json

Source

registry/base/blocks/ripple-scene.tsxui.ericts.com/r/ripple-scene.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { RailList, type RailListItem } from "@/components/ui/rail-list";
6import { useReducedMotion } from "@/hooks/use-reduced-motion";
7import { cn } from "@/lib/utils";
8
9import "./ripple-scene.css";
10
11export type RippleSceneImage = {
12 src: string;
13 alt: string;
14};
15
16export type RippleSceneItem = {
17 /** Stable value used by controlled state and callbacks. */
18 value: string;
19 /** Short label rendered in the horizontal selector. */
20 label: string;
21 /** Main scene heading. */
22 title: string;
23 /** Optional supporting copy below the heading. */
24 description?: string;
25 /** Optional context shown above the heading. */
26 overline?: string;
27 image: RippleSceneImage;
28 imagePosition?: React.CSSProperties["objectPosition"];
29};
30
31export interface RippleSceneProps
32 extends Omit<React.ComponentPropsWithoutRef<"section">, "onChange"> {
33 items: readonly RippleSceneItem[];
34 /** Controlled selected scene value. */
35 value?: string;
36 /** Initial selected scene value for uncontrolled usage. */
37 defaultValue?: string;
38 /** Called when a scene is selected. */
39 onValueChange?: (value: string, item: RippleSceneItem) => void;
40 /** Accessible label for the scene selector. */
41 selectorLabel?: string;
42 /** Small persistent label in the stage header. */
43 stageLabel?: string;
44 /** Message displayed when no scenes are provided. */
45 emptyLabel?: string;
46}
47
48/** Number of vertical strips the wave is built from. */
49const STRIP_COUNT = 12;
50/** Per-strip delay that makes the wave travel across the scene. */
51const STRIP_STAGGER_MS = 26;
52/**
53 * animationName of a strip's ripple. When the last strip in the wave
54 * finishes, the new scene is promoted to the static base layer. Must match
55 * the CSS keyframes name.
56 */
57const RIPPLE_SETTLE_ANIMATION = "ripple-scene-strip";
58/**
59 * Safety net for when animationend never arrives (hidden tabs pause CSS
60 * animations; user styles may disable them). Must exceed the full wave:
61 * strip duration + last strip's delay.
62 */
63const SETTLE_FALLBACK_MS = 1600;
64
65type MediaStage = {
66 /** Scene rendered as the static, untransformed base layer. */
67 base: string;
68 /** Scene currently rippling in above the base, if any. */
69 incoming: string | null;
70};
71
72export function RippleScene({
73 items,
74 value,
75 defaultValue,
76 onValueChange,
77 selectorLabel = "Choose a scene",
78 stageLabel = "Selected stories",
79 emptyLabel = "No scenes available",
80 className,
81 ...props
82}: RippleSceneProps) {
83// … truncated

What it pulls in

Other registry items

  • https://ui.ericts.com/r/rail-list.json
  • https://ui.ericts.com/r/use-reduced-motion.json

Files it writes

  • registry/base/blocks/ripple-scene.tsx
  • registry/base/blocks/ripple-scene.css

Facts

Registry
ericts-ui
Type
registry:block
Access
Free
Files written
2
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

Docs on ericts-ui ui.ericts.com EricTsai83/ericts-ui on GitHub Raw registry item This item as JSON

More from ericts-ui

All 38 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Scroll Expand & Focus Heroscroll-expandericts-uiBlocksFreeno deps · 2 files
Vertical Scene Galleryvertical-sceneericts-uiBlocksFree1 dep · 2 files

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