Blocks / Shell

Dashboard

An AI-first workspace home: a hero and a real composer centred as one unit, starter chips that fill it, and a resume affordance for unfinished work — and nothing else, because history belongs to the sidebar and spend to /usage.

$pnpm exec shadcn add @intelligo/dashboard

Run it inside an app made by intelligo create. Anywhere else, name the registry and install the base first.

Loading preview…
about this block

An AI-first workspace home: a hero and a real composer centred as one unit, starter chips that fill it, and a resume affordance for unfinished work — and nothing else, because history belongs to the sidebar and spend to /usage. Configurable through lib/dashboard-config.tsx (copy, starters, chat base path) and lib/dashboard-data.ts (what "resume" means). Pairs with the chat item for its /chat routes; install it first.

yours to edit
  • lib/dashboard-config.tsx
  • lib/dashboard-data.ts

messages/en/dashboard.json

Everything else is used verbatim; a deployment varies through these files and translations.How seams work →

requires
built from

skeleton, ai-prompt-input, ai-speech-input

npm packages it adds

@intelligo-dev/auth · @intelligo-dev/core · lucide-react · server-only · next-intl

what shadcn add writes · 8 files
Routes
  • app/[locale]/(app)/dashboard/page.tsx
  • app/[locale]/(app)/dashboard/loading.tsx
  • app/[locale]/(app)/dashboard/error.tsx
Components
  • components/dashboard/dashboard-hero.tsx
  • components/dashboard/prompt-bar.tsx
Actions, config and messages
  • messages/en/dashboard.json
  • lib/dashboard-config.tsx
  • lib/dashboard-data.ts

Ready to try it? Three commands and the app runs against a stub model.