menubar
Builds Avatar Badge Button Card Checkbox CommandPalette ContextMenu CopyButton DescriptionList Divider EmptyState HoverCard Icon List Menu Menubar Popover ProgressBar Tag Timeline


The code that drew it
A still frame holds a repeating animation at its first frame and a one-shot at its last, because a still of a moving thing is not reproducible. Run the gallery to review motion.
fn menubar(window: &mut Window, cx: &mut App) -> AnyElement {
ensure_ordinary(window, cx);
let bar = cx.global::<SceneOrdinary>().menubar.clone();
let theme = cx.theme().clone();
stack(&theme)
.w(px(560.0))
.h(px(360.0))
.child(bar)
.into_any_element()
}