Next.js Discord

Discord Forum

The shadcn/ui blocks look messy

Answered
Hassib posted this in #help-forum
Open in Discord
Avatar
I have used shadcn/ui blocks in my app but it looks messy in my app than what is in its preview.

https://ui.shadcn.com/blocks#dashboard-02
Image
Image
Answered by Hassib
I moved the globals.css file to a new directory but I didn't update its address in the components.json file.
View full answer

16 Replies

Avatar
working fine for me
maybe you've setup shadcn wrong
Avatar
I followed the exact same steps from the documentation
Avatar
working absolutely fine for me
try creating a new app
and setup from start
Avatar
It's working fine now, that's weird 🤔
Haven't changed anything
Avatar
noice
programming is weird
if it works, it works
Avatar
It really is most of the time 😆
Avatar
you can mark your own message as solution ig
Avatar
I think I found the issue why it was not working 🤔
Avatar
hmm, what was it?
Avatar
I moved the globals.css file to a new directory but I didn't update its address in the components.json file.
Answer
Avatar
oh