---
title: "App & Dashboard Shell (BloomDashboardShell) — Bloom UI Primitive"
description: "Production responsive application frame combining top bar, collapsible sidebar, and responsive mobile nav."
category: "Composites & Shells"
url: "https://bloom-platform-ten.vercel.app/ui/app-shell"
component_name: "BloomDashboardShell"
pub_package: "bloom_ui"
cli_command: "bloom ui add app_shell"
last_updated: "2026-08-15"
---

# App & Dashboard Shell (`BloomDashboardShell`)

> Production responsive application frame combining top bar, collapsible sidebar, and responsive mobile nav.

**Category:** Composites & Shells  
**Package:** [`bloom_ui`](https://pub.dev/packages/bloom_ui)  
**CLI Install:** `bloom ui add app_shell`  
**Web Preview:** [https://bloom-platform-ten.vercel.app/ui/app-shell](https://bloom-platform-ten.vercel.app/ui/app-shell)

---

## 📦 Installation & Setup

### 1. Using Bloom CLI (Recommended)
Add the source code directly to your project without rigid package locks:
```bash
bloom ui add app_shell
```

### 2. Using Pub.dev Package
Add the dependency to your `pubspec.yaml`:
```yaml
dependencies:
  bloom_ui: ^0.1.0
```

### 3. Import in Dart
```dart
import 'package:bloom_ui/bloom_ui.dart';
```

---

## 🚀 Usage Example

```dart
BloomDashboardShell(
  selectedIndex: 0,
  onDestinationSelected: (i) {},
  navigationItems: const [
    BloomNavigationItem(icon: Icon(Icons.home), label: Text('Home')),
    BloomNavigationItem(icon: Icon(Icons.analytics), label: Text('Analytics')),
    BloomNavigationItem(icon: Icon(Icons.settings), label: Text('Settings')),
  ],
  body: const Center(child: Text('Dashboard View')),
)
```

---

## 🛠️ API Reference

### Properties & Parameters

| Prop | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `selectedIndex` | `int` | *Required* | Active destination index. |
| `navigationItems` | `List<BloomNavigationItem>` | *Required* | Destination items. |
| `body` | `Widget` | *Required* | Main screen content. |

---

## 🎨 Theming & Styling

BloomDashboardShell automatically respects the active `BloomTheme` (including `BloomTheme.novaLight`, `BloomTheme.novaDark`, etc.) and responds seamlessly to dark mode changes, custom border radii, and brand color tokens.

### Theme Overrides Example
```dart
Theme(
  data: Theme.of(context).copyWith(
    extensions: [
      context.bloomTheme.copyWith(
        colors: context.bloomColors.copyWith(
          primary: const Color(0xFF8B5CF6), // Custom Purple Accent
        ),
      ),
    ],
  ),
  child: BloomDashboardShell(...,
)
```

---

## 🔗 Related Resources
- [Components Gallery](https://bloom-platform-ten.vercel.app/ui)
- [Bloom Theming & Tokens Guide](https://bloom-platform-ten.vercel.app/docs/theming)
- [Application Blocks Catalog](https://bloom-platform-ten.vercel.app/blocks)
- [Bloom CLI Master Overview](https://bloom-platform-ten.vercel.app/docs/cli)
