Dock bar

A macOS-style dock where one app launches with a bounce.

0:00 / 0:01

Customize

2
34
1.6

Installation

pnpm odori add component dock-bar

Edit the source in videos/components/dock-bar/. 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
Products
Recommended duration
150 frames · 5s
Minimum duration
90 frames · 3s
Entrance
12 frames
Exit
0 frames
Reduced motion
the launched tile is shown magnified with its dot, without the bounce
Requires
sans font
Content limits
apps ≤ 8, appNameLength ≤ 16

Props

PropTypeDefaultRequired
appsDockApp[][{name: "Mail"}—
launchIndexThe tile the launch beat lands on.number2—
atThe frame the launch lands on.number34—
magnifyPeak scale of the launched tile.number1.6—
childrenThe desktop behind the dock, which gives the translucency its job.ReactNode——

Related components

All components