# App dashboard

- **[Templates](/templates/)**
- **App dashboard**

A signed-in app screen for a hotel back office (Exempelhotellet): a sidebar and top bar around the figures that matter today, a revenue chart and a sortable bookings table with filters and paging. Built only from App UI blocks in a two-column shell. Graphite and blue, compact.

```
npx shadcn add @klarhimmel/template-app-dashboard
```

## 7 sections, in order

The page

Each section is one block with this template's own copy. The anchor is the id in-page links point at.

- #sidebar · app/shell-sidebar · Exempelhotellet
- #topbar · app/shell-topbar · 
- #overview · app/dashboard-stats · Today at Exempelhotellet
- #revenue · app/dashboard-chart · Name what the chart measures
- #filters · app/data-filters · Name what is filtered
- #bookings · app/data-table · Name the table
- #pages · app/data-pagination · Pagination

[Open the live demo](/templates/app-dashboard/demo)

## Blocks it uses

- **[app/shell-sidebar](/blocks/app/shell-sidebar)**
- **[app/shell-topbar](/blocks/app/shell-topbar)**
- **[app/dashboard-stats](/blocks/app/dashboard-stats)**
- **[app/dashboard-chart](/blocks/app/dashboard-chart)**
- **[app/data-filters](/blocks/app/data-filters)**
- **[app/data-table](/blocks/app/data-table)**
- **[app/data-pagination](/blocks/app/data-pagination)**

## Install

- **CLI**

  ```
  npx shadcn add @klarhimmel/template-app-dashboard
  ```
- **pnpm**

  ```
  pnpm dlx shadcn@latest add @klarhimmel/template-app-dashboard
  ```

Style

- Klarhimmel
- Geist / Geist
- radius 8

- **Needs**: React 19, Tailwind CSS v4 and the theme import. The page and every block it uses land under components/klarhimmel/. New project? Set it up once: /get-started/installation.

## Mount it

The CLI puts the page in components/klarhimmel/templates/. It wraps itself in Theme, so render it anywhere, once the theme.css import from Installation is in your main CSS. theme.css loads every font family; for production import theme-core.css and only the fonts/<family>.css files you use.

App.tsx

```
// src/App.tsx
import AppDashboardTemplate from '@/components/klarhimmel/templates/app-dashboard';

export default function App() {
  return <AppDashboardTemplate />;
}
```

## Wire these before shipping

Before you ship

The template is a finished page with placeholder wiring. These are yours to connect.

- **Links**: `#section` links jump within the screen. Links to https://example.com/app/... are placeholders for your other screens.
- **Data**: Every figure, the chart points and the table rows are fixture data in the page file. Replace them with your own, and pass state="loading", "empty" or "error" while you fetch.
- **Shell**: The sidebar and the main column share one grid that stacks below 64rem of container width. The blocks have no h1: add one (the page title) when you build a real screen.
- **Style**: Uses the default Klarhimmel palette, Geist fonts, radius and spacing. Import theme.css after Tailwind.

[Previous](/templates/nonprofit)

[Next](/templates/b2b-services)

- **Copy for AI**
