
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
vuetify-responsive-menu
Advanced tools
This components lets you to add a vuetify responsive menu to your project, without duplicating anything.
Has it ever happened that you need some of your menus to open as a popup on mobile? If so, you must put your data one into the menu and one into the popup and do a v-if to switch and your data code weather it is in two separate files or in one file, it will be duplicates. With vuetify-responsive-menu we are going to have a menu which can be switched automatically from Menu to Dialog and your code will not be duplicated.
Note: This component is using vuetify and there are still more to be done on it but for a start it should just work perfectly.
Install the package from npm
npm install vuetify-responsive-menu
You can instsall it with Vue.use like below:
//main.js or vuetifu.js
import VResponsiveMenu from 'vuetify-responsive-menu';
Vue.use(VResponsiveMenu);
OR just import inside one componenet you want to use it in and add it to the components option.
//YourComponent.vue
import VResponsiveMenu from 'vuetify-responsive-menu';
export default({
components: {
VResponsiveMenu
}
})
responsive-menu will automatically becomes visible on clicking on that activator control.Menu or a Dialog.You can modify the properties of the Menu and Dialog from this component just how they are with normal Menu and normal Dialog.
Note: if you want to modify the dialog properties you need to start the name of that property with dialog- and the same applies on Menu. Look at the below example.
//YourComponent.vue
//For example you want to give a fullscreen to your dialog and offset-y to your menu.
<v-responsive-menu
dialog-fullscreen
menu-offset-y></v-responsive-menu>
Now here goes some other properties which are important.
$vuetify.breakpoint here as value.sync. This is incase you want one specific value be returned to you by clicking on a button in dialog.There are three accessible methods,
this.$emit('update:returnValue', this.returnValue) to update your value.Let me know if anything is wrong so we can improve it.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.