Describe the bug
I followed the official guide (https://ui.shadcn.com/blocks#dashboard-01
) to import the Dashboard-01 block into my Vite + React + TypeScript project and used the example page.tsx. After starting the app, the build/runtime shows multiple errors exactly as in my attached screenshot. Please refer to the screenshot for the specific error messages.
Affected component/components
Dashboard-01
How to reproduce
- npm create vite@latest
 
- npm install tailwindcss @tailwindcss/vite
 
- npm install -D @types/node
 
- npx shadcn@latest init
 
- npx shadcn@latest add dashboard-01
 
Codesandbox/StackBlitz link
No response
Logs
System Info
1. React: 19.1.1
2. TypeScript: 5.9.3
3. Vite: 7.1.7
4. Shadcn/UI: latest
 
Before submitting