Navigation drawer
The v-navigation-drawer
component is what your users will utilize to navigate through the application. The navigation-drawer is pre-configured to work with or without vue-router right out the box.
Usage
The navigation drawer is primarily used to house links to the pages in your application. Using null
as the starting value for its v-model
will initialize the drawer as closed on mobile and as open on desktop.
API
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
ダークテーマを適用します。
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
ライトテーマを適用します。
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Components.NavigationDrawers.
Examples
Colored drawer
Navigation drawers can be customized to fit any application's design. While any component can be used within a drawer, the primary ones you will use are v-list
, all of the list children components and v-divider
Permanent floating drawer
A navigation drawer can be placed inside of a card and float over the content background.
Avatars
Since drawers support the v-list
component, you can easily create customized dashboard solutions.
Mini
The navigation drawer also has a mini-variant which can be controlled using the prop mini-variant.sync
.
Temporary
A temporary drawer sits above its application and uses a scrim (overlay) to darken the background. This drawer behavior is mimicked on the persistent drawer when on mobile. Clicking outside of the drawer will cause it to close.
Dark theme
Vuetify also supports the dark application theme. This will not override components that have default themes so in some cases it will be necessary to manually set the dark theme accents.
Combined drawers
Drawers are flexible and are easily adapted to any use-case.
Nested lists
List tiles can be nested a second level for even more options for your navigation