Sheet

A side panel arriving while the page behind it gives way.

0:00 / 0:01

Customize

Installation

pnpm odori add component sheet-panel

Edit the source in videos/components/sheet-panel/. 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
150 frames · 5s
Minimum duration
75 frames · 2.5s
Entrance
14 frames
Exit
10 frames
Reduced motion
panel shown open, no slide
Requires
sans font
Content limits
title ≤ 32, description ≤ 48, action ≤ 24

Props

PropTypeDefaultRequired
titleThe heading inside the panel.string"Export settings"—
descriptionThe line under it.string"Applies to this video only."—
fieldsLabelled rows the panel holds.Array<{label: string; value: string}>——
actionThe button at the foot of the panel.string"Export video"—
sideThe side it comes from."right" | "left""right"—
openAtFrame the panel starts opening.number20—

Related components

All components