Components
- Activity Heatmap
- Activity Rings
- Bar Chart
- Bar List
- Command Palette
- Composed Chart
- Corner Frame
- Data Table
- Delta Badge
- Distribution Bar
- Donut Chart
- Dot Plot
- Funnel Chart
- Heatmap Chart
- KPI Card
- Metric List
- Metric Value
- Period Tabs
- Radar Chart
- Radial Gauge
- Sankey Chart
- Scatter Chart
- Segmented Meter
- Sparkline
- Tick Bar
- Timeline
- Trend Chart
Blocks
- Activity Rings Card
- Allocation Card
- Balance Chart Card
- Breakdown Card
- Commerce KPI Row
- Contributions Card
- Data Table Card
- Distribution Card
- Dot Plot Card
- Dual Metric Card
- Funnel Chart Card
- Goal Chart Card
- Heatmap Chart Card
- Insight Card
- KPI Row Card
- Metric Tabs Chart Card
- Payment Summary Card
- Period Bar Chart Card
- Progress Card
- Revenue Ring Card
- Ring KPI Card
- Score Gauge Card
- Stage Bars Card
- Status Gauge Card
- Tick KPI Card
A data-driven Command+K menu with dialog and inline variants, grouped results, metadata, shortcuts, and a replaceable footer.
Command palette
Search for a command to run.
"use client"
import * as React from "react"Installation#
pnpm dlx shadcn@latest add @dashboardcn/command-paletteAlso installs command from shadcn/ui if missing.
Usage#
import { CommandPalette, useCommandPaletteShortcut } from "@/components/ui/command-palette"
const [open, setOpen] = React.useState(false)
useCommandPaletteShortcut(setOpen)
<CommandPalette
open={open}
onOpenChange={setOpen}
groups={groups}
onSelect={() => setOpen(false)}
/>Examples#
Inline#
variant="inline" embeds the same searchable command surface in a page or popover.
No commands found.
Suggested
OverviewRevenue and activity
CustomersProfiles and segments
ReportsSaved and scheduled reports
Create customerAdd a customer record
4 commandsType to filter
"use client"
import { FileText, LayoutDashboard, Plus, Users } from "lucide-react"Compact settings menu#
density="compact" tightens the rows for navigation-heavy menus. The keycaps are optional hints defined by your application.
No commands found.
Settings
ProfileP
Team membersT
BillingB
NotificationsN
"use client"
import { Bell, CreditCard, UserRound, UsersRound } from "lucide-react"App launcher#
layout="grid" turns the same command data into a searchable workspace launcher.
No commands found.
Workspace
Inbox12 unread
Calendar3 events today
Customers2,540 profiles
ReportsAnalytics and exports
DocumentsShared files
SettingsWorkspace preferences
Workspace launcher6 apps
"use client"
import { CalendarDays, ChartNoAxesCombined, FileText, Inbox, Settings, Users } from "lucide-react"Your dashboard, your code.
Every component is copied into your project with the shadcn CLI. No package to upgrade, nothing to override.