ZeroGravity UI

Mediaexperimental

Contact

Scrubbable contact sheet

A contact sheet you scrub through with the pointer or the arrow keys.

Customize

Sheetscrub across the plate, or use the arrow keys
0defaultFrame
strip
14 pxradius

Usage

TSX
<Contact />

Generated from the controls above. Only props that differ from their defaults are shown.

Props

6 documented props on Contact
PropertyTypeDefaultDescription
defaultFramenumber0Rest frame. Range 0 to 7.
stripbooleantrueShow the film strip.
radiusnumber14Radius. Range 0 to 48 px.
framesstring[]—The sequence, in order.
labelsstring[]—A label per frame, read out by the slider.
onFrameChange(index: number) => void—Called when the frame changes, not on every move.

Dependencies

0 external runtime dependencies

Ships with nothing but React.

Experimental: still under evaluation and not part of the published package yet.