Skip to content

Workspace

API reference and demos for Workspace.

Source

import { Workspace } from "@flanksource/clicky-ui/components";
Ide Layout · Open in Storybook
Fixed Explorer · Open in Storybook
Held Collapsed Sides · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — —
collapsedSides WorkspaceSideLocation[] — Sides the host holds collapsed for now, such as while the center shows something that needs the full width: they render collapsed and lose their toggle, and the layout state keeps how they were.
defaultValue Partial<WorkspaceLayoutState> {} —
onValueChange (…) => void — —
panes* WorkspacePaneSpec[] — —
slots WorkspaceSlots — —
storageKey string — —
value WorkspaceLayoutState — —