shadcn/ui question
Hello everyone,
I am currently using shadcn/ui Dialog component. (I modified for it to appear on the right and have 100% vw height like your usual Shopping Cart Dialog.)
I am intending to center align DialogTitle and DialogClose but how do I access the 'built-in' DialogClose? I already tried importing DialogClose but it only creates a new one instead of accessing the built-in 'x' button
1 Reply
Isn’t that the Sheet component?
https://ui.shadcn.com/docs/components/sheet
Sheet
Extends the Dialog component to display content that complements the main content of the screen.