The Drawer component isn't really a drawer. It's a mobile dialog replacement. This is confusing when the developer is trying to find a typical drawer that opens from the left or right, assumes the shadcn-vue has that functionality for its Drawer component (because why wouldn't it?), do a ton of research into the vendor child components just to realize it's a pop-up-from-bottom only drawer. At the very least, we should add more details to the Drawer doc to say that this is purely a dialog alternative for mobile.
Reproduction
https://codesandbox.io/p/devbox/shadcn-vue-drawerdemo-725z9h
Describe the bug
The
Drawer
component isn't really a drawer. It's a mobile dialog replacement. This is confusing when the developer is trying to find a typical drawer that opens from the left or right, assumes the shadcn-vue has that functionality for itsDrawer
component (because why wouldn't it?), do a ton of research into the vendor child components just to realize it's a pop-up-from-bottom only drawer. At the very least, we should add more details to theDrawer
doc to say that this is purely a dialog alternative for mobile.System Info
Contributes