smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Svelte · Workspace

PhoneTopBar

Phone top bar, context only: a back arrow and the page title on detail pages, the workspace name (a link home) on section homes. No action icons: those live in the phone bottom bar. Build the model with `phoneTopBarFor()` and render this in AdminShell's `phoneTopBar` snippet, which hides it on scroll.

Public export

typescript
import { PhoneTopBar } from '@happyvertical/smrt-svelte/workspace';
Import path
@happyvertical/smrt-svelte/workspace
Props
2
Props described
2 of 2
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
modelPhoneTopBarModelYesWhat to show (see `phoneTopBarFor`).
homeHrefstringYesThe workspace home page, linked from the name on section homes.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation