Skip to content
Components / Patterns

Workspace shell

Navigation, a header slot and the main task.

@fabrials/ui
Loading state
Skip to content
Workspace

Synthetic task. No account is connected.

Installation

  1. Import the control from @fabrials/ui, after setting the app up.

    TypeScript
    import { WorkspaceShell } from "@fabrials/ui";

API reference

Prop / exportTypeDescription
navigationReactNodeThe product's nav.
headerReactNodeTools for the current page.
childrenReactNodeThe task.

Behavior

The host owns routes, the active item, authentication and window chrome. Mail keeps its own panes. Marketing pages do not use this shell.

Accessibility

Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.