Replies: 2 comments 1 reply
-
Sheet is for mobile imo |
Beta Was this translation helpful? Give feedback.
-
I think ideally, you use sidebar for your dashboards. Sheets can also be used for cases like mobile view navigations or any other like even allowing user to view notifications. Sheet is not static as it requires a trigger to open so it might not be ideal for dashboards where you need the navigation or the content to stick around on larger screens. It can be used if you build your own custom sidebar for desktop and then you can use a sheet to display navigation for mobile view. Sidebars can be used independently without needing to include a sheet because it supports customizations that allows it to adapt to the screen size whether desktop, tablet or mobile. By using sidebar for dashboards, you get a composable sidebar that you can customize to your liking for both mobile and desktop use and you can continue to use sheet for other aspects like viewing notifications, mobile navigation on your websites with your typical home/about/contact pages and such relevant use cases. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When would you use either? Is sidebar a replacement for sheet?
Beta Was this translation helpful? Give feedback.
All reactions