Svelte · Workspace
ShellNavEditor
The navigation as it looks on the site, made editable in place: every section heading and item has a grip (drag, or Space plus arrow keys), section headings carry overlay icon buttons (show, title, host actions) and open a floating toolbar (rename, title, hide, delete, host actions), and a "New section" button ends the list.Public export
typescript
import { ShellNavEditor } from '@happyvertical/smrt-svelte/workspace';- Import path
@happyvertical/smrt-svelte/workspace- Props
- 5
- Props described
- 5 of 5
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
controllerShellLayoutControllerNoThe layout API to edit; defaults to the nearest `AppShell`'s.aria-labelstringNoAccessible name for the navigation landmark.iconComponentComponent<{ name: string; size?: number; }>NoComponent used to render icon names, as for `TenantNav`.sectionActionsSnippet<[ShellSectionActionsContext]>NoHost icon buttons for each section (overlay and floating toolbar).navMode'items' | 'sections' | 'sections-with-items'No`'sections'` edits only the sections (grip, rename, show, delete, icon picker); their entries are edited on the section's own page with `ShellSectionMenu`. Default `'items'`.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.