Spotlight card

A row of cards that a soft light visits in turn, dwelling and travelling on the frame clock.

0:00 / 0:01

Customize

50
14
3

Installation

pnpm odori add component spotlight-card

Edit the source in videos/components/spotlight-card/. 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
Interface
Recommended duration
240 frames · 8s
Minimum duration
64 frames · 2.13s
Entrance
0 frames
Exit
0 frames
Reduced motion
the light rests on the first card and nothing dims or lifts
Requires
sans font
Content limits
items ≤ 4, title ≤ 20, body ≤ 48

Props

PropTypeDefaultRequired
itemsSpotlightItem[]——
dwellFramesFrames the light rests on each card.number50—
travelFramesFrames the light takes to reach the next card.number14—
columnsCards per row. Defaults to everything on one row.number——

Related components

All components