# XWUIWorkspaceNav

Slack-style left-rail workspace switcher.

## Basic Usage

Three workspaces with one selected.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Three workspaces with one selected.
```

## Project Hub

A full project-tool rail: a coloured workspace tile, a Pinned section, an expandable folder tree with unread badges and favourite stars, a divider, and a footer action row.

```example
file: examples/ProjectHub.ts
html: examples/ProjectHub.html
title: Project Hub
description: A folder tree of board/doc/dashboard/form leaves with pinned items, badges, a divider, and footer actions.
```

## Collapsed Icon Rail

Boots the rail in its narrow `collapsed` state - icons only - then expands the same instance via `toggleCollapsed()`.

```example
file: examples/CollapsedRail.ts
html: examples/CollapsedRail.html
title: Collapsed Icon Rail
description: An icon-only collapsed rail that expands programmatically to show the transition.
```

```api
```
