A full-featured download manager.
Panel toolbars
Toolbar owns the saved Liquid Glass preference, standard/compact density,
tooltips and Base UI's roving keyboard focus. Compose it from ToolbarGroup,
ToolbarButton, ToolbarLink, ToolbarSeparator and ToolbarSearch.
Keep transport calls, route changes, filtering and action priority in the page.
<Toolbar label={t('plugins.title')}>
<ToolbarGroup>
<ToolbarButton label={t('plugins.install.title')} onClick={openInstaller}>
<Plus aria-hidden="true" />
</ToolbarButton>
<ToolbarLink
label={t('plugins.diagnostics.title')}
render={<Link to="/plugins/diagnostics" />}
>
<Workflow aria-hidden="true" />
</ToolbarLink>
</ToolbarGroup>
<ToolbarSearch
value={query}
onValueChange={setQuery}
label={t('plugins.search')}
clearLabel={t('common.clearSearch')}
/>
</Toolbar>
- Place the toolbar in
PanelShell.actions, withactionsDraggableandactionsClassName="min-w-0 flex-1"when it should occupy the available width. Groups remain non-draggable; blank space can move the window only in compact headers (collapsed sidebar or narrow viewport). ToolbarButton.labelsupplies both an accessible name and a tooltip. When composing a menu/popover that already owns its tooltip, passaria-labelinstead. Button refs and Base UIrendercomposition are supported.- Use
ToolbarLinkfor navigation so link semantics and modifier clicks survive. ToolbarSearchexpands and focuses on activation. Escape clears text, then collapses an empty field and returns focus. Empty fields collapse on blur; populated fields remain visible.widthis a preferred width that may shrink.- Optional
expanded/onExpandedChangelet a feature coordinate its responsive layout.keepExpandedpreserves active filters or an open popup.leadingreceives an anchor ref andcollapseIfIdlefor portaled filter controls;onEmptyEscapecan return focus to that filter trigger. See Downloads. - Material overrides belong on
Toolbar.glassEnabled, primarily for isolated previews. By default all groups follow the saved setting and accessibility preferences together. No page should reproduce material CSS.
Toolbar arrow keys move between controls, skipping disabled actions. Search inputs retain their editing keys. Dynamic overflow priorities stay with the feature: Downloads can move lower-priority commands into its existing menu, while smaller toolbars can keep their actions visible as search shrinks.