Next.js Discord

Discord Forum

Having trouble using a shadcn nav component with sheet component

Unanswered
Singapura posted this in #help-forum
Open in Discord
SingapuraOP
Hey guys, I am making a website, and I have already implemented the navbar for desktop using shadcn, but now I need to make a hamburger menu and I thought I would use the sheet component for this but not really sure how to do it. Can someone guide me?
Heres the relevant code:
https://replit.com/@drxnn1/nav-shadcn#pages/api/nav.tsx

nav.tsx, navBar.tsx and sheet.tsx are all there. Any help is appreciated !

5 Replies

SingapuraOP
@Arinji So this is my second issue, not sure if you use shadcn, if you dont I can wait for someone who does
Sorry, im actually an anti shadcn guy xD
but dw, most people here use shdcn so just wait for them, @Singapura
@Arinji Sorry, im actually an anti shadcn guy xD
SingapuraOP
I will be anti shadcn too after this headache