Installation

Last updated on 2026-03-26

This guide walks you through setting up the Social Media Dashboard Kit from scratch.

System Requirements

  • Node.js 18.17 or later
  • pnpm (recommended), npm, or yarn
  • Git for cloning the repository

Step 1 -- Clone the Repository

Use the private repository URL from your purchase confirmation email:

git clone <your-repo-url> social-media-dashboard-kit
cd social-media-dashboard-kit

Step 2 -- Install Dependencies

pnpm install

This installs Next.js 16, React 19, Tailwind CSS v4, shadcn/ui components, Recharts, @hello-pangea/dnd, date-fns, Zod, and all utility libraries.

Key Dependencies

Package Purpose
next 16.x React framework
react 19.x UI library
tailwindcss 4.x CSS framework with oklch tokens
@base-ui/react Accessible UI primitives
recharts Analytics and reporting charts
@hello-pangea/dnd Drag-and-drop for content calendar
date-fns Date formatting and utilities
zod Schema validation for forms
lucide-react Icons
next-themes Dark mode
sonner Toast notifications
cmdk Command palette (Cmd+K)
react-day-picker Calendar date picker
embla-carousel-autoplay Post carousel autoplay

Step 3 -- Start the Dev Server

pnpm dev

Visit http://localhost:3000 to see the social media dashboard.

Step 4 -- Verify the Setup

Navigate through key pages to confirm everything works:

  • / -- Home dashboard with cross-platform stats, top posts carousel, and upcoming posts
  • /platforms/instagram -- Instagram-specific dashboard with follower growth and engagement metrics
  • /content -- Content hub with post list, status filters, and platform badges
  • /compose -- Post composer with multi-platform preview and scheduling
  • /calendar -- Content calendar with drag-and-drop post scheduling
  • /analytics -- Analytics overview with engagement charts and audience demographics
  • /inbox -- Social inbox with threaded conversations
  • /reports -- Report templates for generating platform reports
  • /settings -- General settings with connected accounts management
  • /login -- Authentication page

Available Scripts

Command Description
pnpm dev Start dev server
pnpm build Create production build
pnpm start Run production server
pnpm lint Run ESLint checks

Integrating into an Existing Project

  1. Copy components/ into your project (ui, social, charts, calendar, content, dashboard, analytics, reports, settings, layout directories)
  2. Copy data/seed.ts and types/index.ts
  3. Copy design tokens from app/globals.css
  4. Install the required dependencies from package.json
  5. Wire up seed data to your actual social media API or database

Note: All pages use seed data from data/seed.ts. Replace with your own data source (social media APIs, database, or analytics platform) when integrating.

Troubleshooting

Port 3000 already in use:

pnpm dev --port 3001

TypeScript errors after installation:

npx tsc --noEmit

Check that tsconfig.json path aliases match your project structure.

shadcn/ui component issues:

The Social Media Dashboard Kit uses shadcn/ui v4 with @base-ui/react (not Radix). Components use the render prop pattern instead of asChild. See the shadcn/ui v4 docs for details.