nextui.dev
Home
Docs
Saved
Pricing
Components37
  • Forms & inputs7
  • Cards13
  • Buttons, badges & avatars8
  • Feedback & display6
  • Effects3
Agents17
  • Chat inputNew
  • Task checklistNew
  • ReasoningNew
  • Tool callNew
  • Tool approvalNew
  • SourcesNew
  • Agent timelineNew
  • Artifact panelNew
  • Streaming messageNew
  • Conversation shellNew
  • Voice agentNew
  • Voice orbNew
  • Thinking ring
  • Thinking waveNew
  • Thinking sparkle
  • Thinking bot
  • Prompt deckNew
Blocks20
  • Agent chatNew
  • Pill heroNew
  • Grid hero
  • Moodboard generatorNew
  • Waitlist heroNew
  • Intro bannerNew
  • Creative home heroNew
  • Chat heroNew
  • App shelfNew
  • Usage card
  • Design resultsNew
  • Pricing tiers
  • Dashboard home
  • The shiftNew
  • Launch perksNew
  • Testimonials
  • Quote
  • Team
  • Leads tableNew
  • Sign in
Pages10
  • ASCII workspace$49
  • CRM overviewNew
  • Marketing dashboardNew
  • Developer portfolio$49
  • Particle landing$49
  • Particle story$49
  • Statement converter$49
  • AI photo studio$49
  • Group card launch$49
  • Month-end storyNew
Themes9
  • Default
  • Ember
  • Ocean
  • Forest
  • Grape
  • Rose
  • Amber
  • Clay
  • Brutal
Upgrade
nextui.dev

nextui components, blocks and themes you install with one command.

Product

  • Components
  • Blocks
  • Themes
  • Pricing

Resources

  • Docs
  • Roadmap
  • GitHub

Legal

  • License
  • Privacy
  • Terms
  • Refunds

nextUI

[ 200 OK ] · nextUI

© 2026 NEXTUI • All rights reserved.

Upgrade
BlocksDashboard home
Copy promptCopy prompt

Customize

Small line with a live dot above the heading, e.g. today's date

Heading

Placeholder of the search bar

ISO currency code for the revenue card

Targets reached so far

2760

Total targets; the ring shows targetValue / targetTotal

3600

JSX · copied with Copy prompt

<DashboardHome />

Dashboard home

Dashboard start page with today's counts, an AI search bar, quick actions and revenue and target cards.

Installation

Set your access key from API keys as NEXTUI_TOKEN in .env.local and add the @nextui namespace below to components.json once. Then every item installs by name. Each install counts as a copy on a free account.

$pnpm dlx shadcn@latest add @nextui/dashboard-home
1{
2 "registries": {
3 "@nextui": {
4 "url": "https://nextui.dev/r/{name}.json",
5 "headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }
6 }
7 }
8}

Usage

1"use client";
2
3import { ChartPie, FileText } from "lucide-react";
4import { useRouter } from "next/navigation";
5import { DashboardHome } from "@/components/blocks/dashboard-home";
6
7export function Home() {
8 const router = useRouter();
9
10 return (
11 <DashboardHome
12 eyebrow="Tuesday, October 14"
13 title="Good morning, Ana"
14 counts={[
15 { count: 12, label: "new emails", tone: "blue", href: "/inbox" },
16 { count: 4, label: "open invoices", tone: "amber", href: "/invoices" },
17 ]}
18 onSearch={(q) => router.push(`/search?q=${encodeURIComponent(q)}`)}
19 onAskAI={(q) => router.push(`/assistant?q=${encodeURIComponent(q)}`)}
20 actions={[
21 { label: "Show expenses", icon: ChartPie, tone: "pink", onClick: () => router.push("/expenses") },
22 { label: "Unpaid invoices", icon: FileText, tone: "amber", onClick: () => router.push("/invoices?status=unpaid") },
23 ]}
24 currency="USD"
25 locale="en-US"
26 revenue={[
27 { label: "Aug", value: 18_200 },
28 { label: "Sep", value: 19_450 },
29 { label: "Oct", value: 21_030 },
30 ]}
31 targetValue={62}
32 targetTotal={80}
33 />
34 );
35}

API reference

Edit props live in the preview above, or see all 15 props
PropTypeDefaultDescription
eyebrowstring"Tuesday, September 30"Small line with a live dot above the heading, e.g. today's date
titlestring"What will you get done today?"Heading
countsSummaryCount[]emails, invoices, tasksColored pills in the line under the heading: count, label, tone and an optional href
searchPlaceholderstring"Search for views and files..."Placeholder of the search bar
onSearch(query: string) => void–Enter was pressed in the search bar
onAskAI(query: string) => void–Tab was pressed in the search bar, or Ask AI was clicked
actionsQuickAction[]4 sample actionsChips under the search bar: label, icon, tone and onClick
currencystring"USD"ISO currency code for the revenue card
localestring"en-US"Locale for numbers and money
revenueRevenueBar[]Jun to SepMonthly revenue, oldest first; the last bar is the current month and sets the headline and the change badge
onRevenueClick() => void–The arrow on the revenue card was clicked
targetValuenumber2760Targets reached so far
targetTotalnumber3600Total targets; the ring shows targetValue / targetTotal
onTargetsClick() => void–The arrow on the targets card was clicked
classNamestring–Extra classes on the outer element

Related

All blocks

Usage card

Design resultsNew

Sign in to see the code

Preview it freely. A free account copies code and prompts a few times a day.

Sign in