The expand-on-hover prop does not alter the content area of v-main. To have content area respond to expand-on-hover, bind mini-variant.sync to a data prop.
Places the component in rail mode and expands once hovered. This does not alter the content area of v-main. The width can be controlled with the rail-width property.
Apply a custom background to your drawer via the image prop. If you need to customize it further, you can use the
image slot and render your own
When using the rail prop, the drawer will shrink (default 56px) and hide everything inside of
v-list except the first element.
By default, a navigation drawer has a 1px right border that separates it from content. In this example we want to detach the drawer from the left side and let it float on its own. The floating property removes the right border (or left if using position prop).
Navigation drawers can also be positioned on the right side of your application (or an element) using the location prop. This is useful for creating a side-sheet with auxiliary information that may not have any navigation links.
A temporary drawer sits above its application and uses a scrim (overlay) to darken the background. This drawer behavior is mimicked by default when on mobile. Clicking outside of the drawer will cause it to close.
Navigation drawers can be customized to fit any application’s design. Here we apply a custom background color and an appended content area using the append slot.
In this example we define two navigation-drawers, one using rail and one without.