BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/filmstrip-scrub

Filmstrip Scrub

motiq/filmstrip-scrub
FreeComponent

A filmstrip with a spring-loaded playhead (k=90, c=16, ζ≈0.84 — one soft overshoot): hover or drag the strip and the large preview crossfades ⌊p⌋ into ⌈p⌉ by the fractional part, with frame ticks and a monospace timecode. Scrubs itself at 0.9 frames/s when idle. The strip is a real slider with arrow/Home/End keys.

Live preview

live · rendered by the registry
Rendered by motiq on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.motiq.dev/r/filmstrip-scrub.json

Source

registry/media/filmstrip-scrub.tsxwww.motiq.dev/r/filmstrip-scrub.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6import { useControllableState, useReducedMotion, useVisibilityPause } from "@/lib/motiq";
7
8/* -------------------------------------------------------------------------- */
9/* Types */
10/* -------------------------------------------------------------------------- */
11
12export interface FilmstripFrame {
13 /** Stable key. */
14 id: string;
15 /** Image URL rendered as a plain `<img>` (use `node` for anything richer). */
16 src?: string;
17 /** Alternative text for `src`. */
18 alt?: string;
19 /** Arbitrary frame content — takes precedence over `src`. */
20 node?: React.ReactNode;
21 /** Short phase name shown in the readout (e.g. "dawn", "step 3"). */
22 label?: string;
23}
24
25export interface FilmstripScrubProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
26 /** 8–24 stills read best. */
27 frames: FilmstripFrame[];
28 /** Timecode base used by the monospace readout. */
29 fps?: number;
30 /** Idle auto-scrub speed in frames/s (0 disables autoplay). */
31 idleSpeed?: number;
32 /** Playhead spring stiffness — 90/16 lands with one soft overshoot (ζ≈0.84). */
33 stiffness?: number;
34 /** Playhead spring damping. */
35 damping?: number;
36 /** Scrub on hover as well as drag. */
37 hoverScrub?: boolean;
38 /** Ping-pong the idle scrub at the ends instead of stopping. */
39 loop?: boolean;
40 /** Seconds of stillness before autoplay resumes. */
41 resumeAfter?: number;
42 /** Controlled frame index. */
43 frameIndex?: number;
44 /** Uncontrolled initial frame index. */
45 defaultFrameIndex?: number;
46 /** Fires when the nearest frame changes. */
47 onFrameIndexChange?: (index: number) => void;
48 /** Accessible name for the scrubber. */
49 scrubberLabel?: string;
50 /** Force the still variant regardless of system preference. */
51 reducedMotion?: boolean;
52 /** Stop the rAF loop while scrolled offscreen or the tab is hidden. */
53 pauseWhenHidden?: boolean;
54}
55
56/* -------------------------------------------------------------------------- */
57/* Constants (Motion Lab ship spec) */
58/* -------------------------------------------------------------------------- */
59
60const SPRING_K = 90;
61const SPRING_C = 16;
62const IDLE_SPEED = 0.9;
63const RESUME_AFTER = 3;
64const FPS = 24;
65/** Frame-tick divisions drawn under the strip. */
66const TICKS = 48;
67
68// … truncated

What it pulls in

Other registry items

  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/media/filmstrip-scrub.tsx

Facts

Registry
motiq
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Activity Streamactivity-streammotiqComponentsFree1 dep
Adaptive Safe-Zone Gridadaptive-safe-zone-gridmotiqComponentsFreeno deps
Agent Run Timelineagent-run-timelinemotiqComponentsFree1 dep
AI Response Streamai-response-streammotiqComponentsFree1 dep
Animated Accordionanimated-accordionmotiqComponentsFree2 deps
Animated Buttonanimated-buttonmotiqComponentsFree1 dep
Animated Dialoganimated-dialogmotiqComponentsFree2 deps
Animated Gridanimated-gridmotiqComponentsFree2 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