r/reactjs • • Oct 14 '26

Shadcn components unable to render

I added a shadcn component to my vite + tailwind project with using `npx shadcn@latest add @/react-bits/Particles-JS-TW` and after importing the component

import Particles from "./components/Particles";

It shows an awesnap image, i dont know the reason, the other things were rendering good alongside but just the components showing error

6 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/Shubham4538 Oct 15 '26

i got all the generic answers like check the state, infinite loops, imports, installation, versions and all

1

u/CarNage_ZA Oct 15 '26

Are you copying the error and just throwing it to the AI? Use claude code, let it iterate. I will garuntee you it will find the answer.