Skip to content

AppShell

Arrange the index, toolbar, and content with a collapsible index on small screens.

alpina-ui/portal/app-shell

Interactive preview

Skip to content
Atelier
Archive

Available editions

Typesetting notebooks, 1960–1965 series.

Usage notes

On small screens, Escape closes the open index when focus is inside the shell and returns focus to its trigger. Toolbar controls wrap as labels grow. The brand remains visible at desktop and mobile widths. Use SideNav and SideNavLink in the sidebar to mark the active route. AppearanceButton supplies labels for the three appearance modes. Use ComponentPreview to resize an embedded example and preserve its state across views.

When to use

Give a workspace a consistent header, navigation area and main reading area across several routes.

When to avoid

Use a single document layout for a printed letter or an isolated embeddable widget.

Accessibility

Provide one main landmark, a skip target and a descriptive page heading. Keep the same navigation order between routes.

Keys
KeyAction
EnterActivate the skip link to focus the main content.
Enter / SpaceOpen or close the mobile index from its button.
EscapeClose the open mobile index and focus its button.

Content

Use the product name once in the header. Reserve the main heading for the task or record currently open.

Use
Permit office · Applications
Avoid
Welcome to our digital platform

Copy in four languages

German
Bewilligungsstelle18 characters
French
Service des autorisations25 characters
Italian
Ufficio autorizzazioni22 characters
Romansh
Uffizi da permissiuns21 characters
Add to your project
npx --no-install alpina add app-shell