Glare sweep

A light reflection that sweeps across your content.

0:00 / 0:01

Customize

20
26
14
180
0.35

Installation

pnpm odori add component glare-sweep

Edit the source in videos/components/glare-sweep/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Media
Recommended duration
90 frames · 3s
Minimum duration
40 frames · 1.33s
Entrance
0 frames
Exit
0 frames
Reduced motion
set strength to 0 and the sweep never appears
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
childrenThe card or screenshot the sweep passes over.ReactNode——
atFrame the sweep begins.number0—
sweepFramesHow long the travel takes, edge to edge.number26—
angleSlant of the band in degrees.number14—
widthBand width in design pixels.number180—
strengthPeak opacity of the highlight.number0.35—

Related components

All components