Updated
Project Dashboard
ProCustomize
Overview
Days left3
Capacity8
Installation
ProProject Dashboard is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Buying? Use the email you'll sign in with. Your license is tied to it.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/project-dashboard
Loading your installation…
Usage
import { ProjectDashboard } from "@/components/uibrik/project-dashboard/project-dashboard";const cycle = { name: "Cycle 24", dates: "Oct 7 – Oct 20", goal: "Ship usage-based billing and the new onboarding checklist.", daysLeft: 3, added: 4, stats: [ { label: "Scope added", value: "+4" }, { label: "Cycle time", value: "2.4d" }, { label: "Blocked", value: "2" }, ],};const counts = { backlog: 6, todo: 9, "in-progress": 11, "in-review": 5, done: 33,};const members = [ { name: "Maya Chen", role: "Backend", open: 7, done: 9 }, { name: "Leo Park", role: "Billing", open: 10, done: 4 }, // …4 more];const projects = [ { id: "billing", name: "Usage-based billing", lead: "Leo Park", target: "Oct 28", health: "at-risk", counts: { backlog: 2, todo: 4, "in-progress": 5, "in-review": 2, done: 14 } }, { id: "onboarding", name: "Onboarding checklist", lead: "Priya Shah", target: "Oct 20", health: "on-track", counts: { backlog: 1, todo: 2, "in-progress": 3, "in-review": 2, done: 11 } }, // …2 more];const issues = [ { id: "ENG-142", title: "Meter API calls per workspace", status: "in-review", priority: "high", assignee: "Maya Chen", updatedMinutesAgo: 4, project: "billing", description: "Count every authenticated API call against its workspace so billing can charge per request. Batch writes every 30 seconds.", comments: [ { author: "Leo Park", body: "Can we reuse the rate limiter's counters instead of a new table?", minutesAgo: 40 }, { author: "Maya Chen", body: "Done, it reads from the limiter now. Ready for review.", minutesAgo: 4 }, ] }, { id: "ENG-151", title: "Invoice preview shows wrong tax on annual plans", status: "in-progress", priority: "urgent", assignee: "Leo Park", updatedMinutesAgo: 18, project: "billing", description: "Annual plans apply the monthly tax rate to the yearly total in the preview. The final invoice is correct.", comments: [{ author: "Sam Okafor", body: "Three customers have written in about this today.", minutesAgo: 25 }] }, // …13 more];const activity = [ { id: "a1", actor: "Maya Chen", action: "moved", issue: "ENG-142", detail: "to In review", minutesAgo: 4 }, { id: "a2", actor: "Leo Park", action: "raised", issue: "ENG-151", detail: "to Urgent", minutesAgo: 18 }, // …4 more];const inbox = [ { id: "i1", kind: "mention", actor: "Leo Park", issue: "ENG-151", text: "Can you check the tax rounding before we ship?", minutesAgo: 9, unread: true }, { id: "i2", kind: "assigned", actor: "Priya Shah", issue: "ENG-162", text: "assigned you Retry failed usage writes", minutesAgo: 34, unread: true }, // …4 more];const cycles = [ { name: "Cycle 19", dates: "Jul 28 – Aug 10", scope: 48, completed: 39, carried: 9 }, { name: "Cycle 20", dates: "Aug 11 – Aug 24", scope: 52, completed: 44, carried: 8 }, // …3 more];const roadmap = [ { id: "billing", name: "Usage-based billing", start: 14, end: 57, progress: 0.52, health: "at-risk" }, { id: "onboarding", name: "Onboarding checklist", start: 21, end: 49, progress: 0.58, health: "on-track" }, // …4 more];const user = { name: "Maya Chen", email: "maya@northwind.io" };<ProjectDashboard title="Platform team" defaultView="overview" capacity={8} cycle={cycle} counts={counts} members={members} projects={projects} issues={issues} activity={activity} inbox={inbox} cycles={cycles} roadmap={roadmap} user={user} onViewChange={(view) => {}} onCreate={(issue) => {}} onIssueChange={(issue) => {}} // view="overview"/>Where to use Project Dashboard
Project management apps
Cycle progress, issues by status and workload per person give a team overview.
Pairs with Issue Tracker
Sprint reviews
Recently updated issues and an activity feed show what moved this week.
Engineering dashboards
A ready layout of charts and lists is a starting point for internal tools.
Pairs with KPI Tile
Props
ProjectDashboard- title
- Type string
- "Platform team"
- Team name in the sidebar and breadcrumbs.
- defaultView
- Type "overview" | "inbox" | "mine" | "issues" | "cycles" | "projects" | "roadmap" | "team" | "settings"
- "overview"
- View shown first. Use `view` and `onViewChange` to control it.
- capacity
- Type number
- 8
- Open issues per person before they read as over capacity.
- cycle
- Type { name: string; dates: string; goal?: string; daysLeft: number; added?: number; stats?: { label: string; value: string }[] }
- –
- The current cycle. `added` counts issues added after it started.
- counts
- Type Record<"backlog" | "todo" | "in-progress" | "in-review" | "done", number>
- –
- Issue counts per status for the cycle.
- members
- Type { name: string; open: number; done: number; avatar?: string; role?: string }[]
- –
- One row per person with their open and done issues.
- projects
- Type { id: string; name: string; lead: string; target: string; health: "on-track" | "at-risk" | "off-track"; counts: Record<IssueStatus, number> }[]
- –
- Projects with their lead, target date, health and issue counts. Issues link to one by `project`.
- issues
- Type { id: string; title: string; status: IssueStatus; priority: "urgent" | "high" | "medium" | "low" | "none"; assignee: string; updatedMinutesAgo: number; project?: string; description?: string; comments?: IssueComment[] }[]
- –
- Recently updated issues, newest first. Each opens a sheet to change status, priority and assignee, and to comment.
- activity
- Type { id: string; actor: string; action: string; issue: string; detail?: string; minutesAgo: number }[]
- –
- Feed entries, newest first, read as “actor action issue detail”.
- inbox
- Type { id: string; kind: "mention" | "assigned" | "comment" | "status"; actor: string; issue: string; text: string; minutesAgo: number; unread: boolean }[]
- –
- Inbox items, newest first. Opening one marks it read; each can be archived.
- cycles
- Type { name: string; dates: string; scope: number; completed: number; carried: number }[]
- –
- Past cycles, oldest first. The current cycle is added from `cycle` and `counts`.
- roadmap
- Type { id: string; name: string; start: number; end: number; progress: number; health: ProjectHealth | "planned" }[]
- –
- Roadmap bars. Start and end are days from Sep 1; an id matching a project opens its issues.
- user
- Type { name: string; email: string; avatar?: string }
- –
- Signed-in person; My issues lists the issues assigned to them.
- view
- Type "overview" | "inbox" | "mine" | "issues" | "cycles" | "projects" | "roadmap" | "team" | "settings"
- –
- Current view. Uncontrolled when left out.
- onViewChange
- Type (view: ProjectView) => void
- –
- Called when the sidebar picks a view.
- onCreate
- Type (issue: ProjectIssue) => void
- –
- Called after an issue is created here.
- onIssueChange
- Type (issue: ProjectIssue) => void
- –
- Called after an issue's status, priority or assignee changes.
- className
- Type string
- –
- Classes for the outer element. It fills its parent's height.