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

Svelte · Workspace

ToolsDock

Renderer for the tools dock.

Public export

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

Props

NameTypeRequiredDescription
dockToolsDockInstanceYesInstance produced by `defineToolsDock(...)`.
contextToolsDockContext | nullNoOptional initial context. Alternative to calling `dock.setContext()` directly.
closeLabelstringNoOptional override label for the open/close rail toggle, for a11y.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation