Signal UI

Pulse Sales Dashboard

Dashboards 1

About

Four-page sales dashboard for shadcn/ui. Overview with KPIs that count over and a funnel, a searchable and sortable Deals table, a Forecast with outlook against target, and Team quota attainment. Mark deals won from any page. All data and copy via props.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pulse Sales Dashboard to your project and fits it to your theme.

Code

How Pulse Sales Dashboard is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

'use client'

import { PulseDashboard, type PulseDeal, type PulsePage, type PulsePeriod } from '@/components/ui/pulse-dashboard'

/** Live controls on 21st.dev (flat primitives); props passed to the demo override them. */
const settings = {
  title: 'Pipeline',
  currency: 'USD',
  defaultPeriod: '30d',
  defaultPage: 'overview', // overview, deals, forecast or team
  showForecast: true,
  closingWindowDays: 7,
}

/* ── Sample sales workspace (all invented) ───────────────────────────────── */

const deals: PulseDeal[] = [
  { id: 'd-101', company: 'Tallis Freight', contact: 'Hana Mbeki', owner: 'Maya Okafor', value: 24900, stage: 'Negotiation', closeInDays: 1, probability: 82, note: 'Legal is reviewing the master agreement. Pricing was approved by their COO on Monday.' },
  { id: 'd-102', company: 'Halcyon Dental Group', contact: 'Owen Price', owner: 'Priya Nair', value: 12480, stage: 'Proposal', closeInDays: 2, probability: 64, note: 'Wants the three-clinic bundle and asked for onboarding dates in January.' },
  { id: 'd-103', company: 'Vantage Solar Co.', contact: 'Ines Duarte', owner: 'Tomás Reyes', value: 31200, stage: 'Negotiation', closeInDays: 3, probability: 71, note: 'Procurement needs the security questionnaire back before they sign.' },
  { id: 'd-104', company: 'Marlow Analytics', contact: 'Felix Grant', owner: 'Aiko Tanaka', value: 4960, stage: 'Proposal', closeInDays: 5, probability: 48, note: 'Small pilot for the data team. The champion is their head of BI.' },
  { id: 'd-105', company: 'Tidewater Clinics', contact: 'Rosa Lindgren', owner: 'Priya Nair', value: 15600, stage: 'Negotiation', closeInDays: 6, probability: 77, note: 'Expanding from two to five locations. Budget is confirmed.' },
  { id: 'd-106', company: 'Ferro Build', contact: 'Dario Conti', owner: 'Jonas Lindqvist', value: 9840, stage: 'Qualified', closeInDays: 12, probability: 30, note: 'Replied to sequence step 4. Demo booked for next Tuesday.' },
  { id: 'd-107', company: 'Brightloom Studio', contact: 'Nadia Rahman', owner: 'Maya Okafor', value: 8250, stage: 'Proposal', closeInDays: 14, probability: 55, note: 'Comparing us with the spreadsheet setup they use today.' },
  { id: 'd-108', company: 'Orchard & Pine', contact: 'Theo Marsh', owner: 'Aiko Tanaka', value: 6730, stage: 'Qualified', closeInDays: 18, probability: 28, note: 'Intro from Halcyon. Needs one view across all stores.' },
  { id: 'd-109', company: 'Lumen Pediatrics', contact: 'Grace Adeyemi', owner: 'Tomás Reyes', value: 3720, stage: 'Lead', closeInDays: 26, probability: 12, note: 'Downloaded the pricing guide twice this week.' },
  { id: 'd-110', company: 'Quarry Lane Coffee', contact: 'Sam Whitfield', owner: 'Jonas Lindqvist', value: 18450, stage: 'Qualified', closeInDays: 21, probability: 34, note: '14 cafés. Their current contract ends in February.' },
  { id: 'd-111', company: 'Bluehaven Realty', contact: 'Mei Lin Ho', owner: 'Maya Okafor', value: 7380, stage: 'Lead', closeInDays: 33, probability: 10, note: 'Joined the webinar; no reply to the first email yet.' },
  { id: 'd-112', company: 'Atlas Bike Works', contact: 'Luca Bianchi', owner: 'Priya Nair', value: 11900, stage: 'Proposal', closeInDays: 16, probability: 52, note: 'Asked for a case study from a retail customer.' },
  { id: 'd-113', company: 'Saltmarsh Media', contact: 'Erin Doyle', owner: 'Aiko Tanaka', value: 5640, stage: 'Negotiation', won: true, closeInDays: -3, probability: 100, note: 'Signed the annual plan. Kickoff call is scheduled.' },
  { id: 'd-114', company: 'Corvid Security', contact: 'Ravi Menon', owner: 'Tomás Reyes', value: 21300, stage: 'Negotiation', won: true, closeInDays: -6, probability: 100, note: 'Closed after a two-week pilot; upsell planned for Q1.' },
]

const periods: PulsePeriod[] = [
  {
    id: '7d',
    short: '7d',
    label: 'Last 7 days',
    compare: 'vs previous 7 days',
    pipeline: 46850,
    pipelineDelta: { value: -3.2, suffix: '%' },
    sources: [
      { label: 'Inbound', value: 21300 },
      { label: 'Outbound', value: 15950 },
      { label: 'Referral', value: 9600 },
    ],
    won: 9,
    wonDelta: { value: 2, suffix: ' deals' },
    winRate: 27,
    winRateDelta: { value: -1.4, suffix: ' pts' },
    avgDeal: 5200,
    avgDealDelta: { value: 6.8, suffix: '%' },
    cycle: 18,
    cycleDelta: { value: -1, suffix: ' days', goodWhenDown: true },
    funnel: [
      { stage: 'Lead', count: 104 },
      { stage: 'Qualified', count: 61 },
      { stage: 'Proposal', count: 33 },
      { stage: 'Negotiation', count: 18 },
      { stage: 'Won', count: 9 },
    ],
    outlook: { target: 48000, closed: 46800, commit: 58600, bestCase: 71200 },
    team: [
      { name: 'Priya Nair', role: 'Account executive', won: 12900, quota: 10000, deals: 2, winRate: 38 },
      { name: 'Maya Okafor', role: 'Senior account executive', won: 11400, quota: 10500, deals: 2, winRate: 33 },
      { name: 'Tomás Reyes', role: 'Account executive', won: 9800, quota: 10000, deals: 2, winRate: 29 },
      { name: 'Aiko Tanaka', role: 'Account executive', won: 7300, quota: 9000, deals: 2, winRate: 25 },
      { name: 'Jonas Lindqvist', role: 'Account executive', won: 5400, quota: 8500, deals: 1, winRate: 17 },
    ],
    forecastCaption: 'Last 6 weeks',
    forecast: [
      { label: 'W44', revenue: 9800, target: 10500 },
      { label: 'W45', revenue: 11400, target: 11000 },
      { label: 'W46', revenue: 10650, target: 11500 },
      { label: 'W47', revenue: 12900, target: 12000 },
      { label: 'W48', revenue: 13800, target: 12500 },
      { label: 'W49', revenue: 14250, target: 13000 },
    ],
  },
  {
    id: '30d',
    short: '30d',
    label: 'Last 30 days',
    compare: 'vs previous 30 days',
    pipeline: 182400,
    pipelineDelta: { value: 12.4, suffix: '%' },
    sources: [
      { label: 'Inbound', value: 84900 },
      { label: 'Outbound', value: 58300 },
      { label: 'Referral', value: 39200 },
    ],
    won: 38,
    wonDelta: { value: 6, suffix: ' deals' },
    winRate: 31,
    winRateDelta: { value: 2.3, suffix: ' pts' },
    avgDeal: 4800,
    avgDealDelta: { value: 4.1, suffix: '%' },
    cycle: 21,
    cycleDelta: { value: -3, suffix: ' days', goodWhenDown: true },
    funnel: [
      { stage: 'Lead', count: 412 },
      { stage: 'Qualified', count: 236 },
      { stage: 'Proposal', count: 128 },
      { stage: 'Negotiation', count: 71 },
      { stage: 'Won', count: 38 },
    ],
    outlook: { target: 190000, closed: 182400, commit: 214000, bestCase: 248000 },
    team: [
      { name: 'Maya Okafor', role: 'Senior account executive', won: 48600, quota: 42000, deals: 9, winRate: 36 },
      { name: 'Priya Nair', role: 'Account executive', won: 41200, quota: 40000, deals: 8, winRate: 34 },
      { name: 'Tomás Reyes', role: 'Account executive', won: 38900, quota: 40000, deals: 8, winRate: 31 },
      { name: 'Aiko Tanaka', role: 'Account executive', won: 30100, quota: 36000, deals: 7, winRate: 29 },
      { name: 'Jonas Lindqvist', role: 'Account executive', won: 23600, quota: 32000, deals: 6, winRate: 24 },
    ],
    forecastCaption: 'Last 6 months',
    forecast: [
      { label: 'Jul', revenue: 41200, target: 45000 },
      { label: 'Aug', revenue: 46800, target: 46000 },
      { label: 'Sep', revenue: 44100, target: 48000 },
      { label: 'Oct', revenue: 52600, target: 50000 },
      { label: 'Nov', revenue: 58900, target: 54000 },
      { label: 'Dec', revenue: 61700, target: 58000 },
    ],
  },
  {
    id: '90d',
    short: '90d',
    label: 'Last 90 days',
    compare: 'vs previous 90 days',
    pipeline: 517300,
    pipelineDelta: { value: 18.9, suffix: '%' },
    sources: [
      { label: 'Inbound', value: 231400 },
      { label: 'Outbound', value: 171200 },
      { label: 'Referral', value: 114700 },
    ],
    won: 112,
    wonDelta: { value: 17, suffix: ' deals' },
    winRate: 33,
    winRateDelta: { value: 3.1, suffix: ' pts' },
    avgDeal: 4600,
    avgDealDelta: { value: -2.2, suffix: '%' },
    cycle: 24,
    cycleDelta: { value: 2, suffix: ' days', goodWhenDown: true },
    funnel: [
      { stage: 'Lead', count: 1180 },
      { stage: 'Qualified', count: 690 },
      { stage: 'Proposal', count: 372 },
      { stage: 'Negotiation', count: 205 },
      { stage: 'Won', count: 112 },
    ],
    outlook: { target: 550000, closed: 515200, commit: 561000, bestCase: 604000 },
    team: [
      { name: 'Maya Okafor', role: 'Senior account executive', won: 128400, quota: 120000, deals: 27, winRate: 37 },
      { name: 'Tomás Reyes', role: 'Account executive', won: 117900, quota: 115000, deals: 25, winRate: 34 },
      { name: 'Priya Nair', role: 'Account executive', won: 109300, quota: 115000, deals: 24, winRate: 33 },
      { name: 'Aiko Tanaka', role: 'Account executive', won: 91800, quota: 105000, deals: 20, winRate: 31 },
      { name: 'Jonas Lindqvist', role: 'Account executive', won: 67800, quota: 95000, deals: 16, winRate: 26 },
    ],
    forecastCaption: 'Last 6 quarters',
    forecast: [
      { label: "Q3 '25", revenue: 118400, target: 120000 },
      { label: "Q4 '25", revenue: 131900, target: 130000 },
      { label: "Q1 '26", revenue: 127300, target: 140000 },
      { label: "Q2 '26", revenue: 149600, target: 145000 },
      { label: "Q3 '26", revenue: 162800, target: 155000 },
      { label: "Q4 '26", revenue: 171500, target: 165000 },
    ],
  },
]

export default function PulseDashboardDemo(props: Partial<typeof settings> = {}) {
  const s = { ...settings, ...props }
  return (
    <div className="min-h-screen w-full bg-background p-4 sm:p-6 lg:p-8">
      <PulseDashboard
        className="mx-auto max-w-6xl"
        periods={periods}
        defaultPeriod={s.defaultPeriod}
        defaultPage={s.defaultPage as PulsePage}
        deals={deals}
        closingWindowDays={s.closingWindowDays}
        showForecast={s.showForecast}
        currency={s.currency}
        labels={{ title: s.title }}
        onDealWon={() => {
          // A real app saves the win here (and refreshes `deals` and `periods`).
        }}
      />
    </div>
  )
}

Dependencies

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    774
  • Analytics Dashboard

    Analytics Dashboard

    89
  • Creator Dashboard

    Creator Dashboard

    222
  • Insights Dashboard

    Insights Dashboard

    47
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    500
  • serf dashboard

    serf dashboard

    146
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    74