Next.js Discord

Discord Forum

The shadcn/ui blocks look messy

Answered
Hassib posted this in #help-forum
Open in Discord
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
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

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