Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
Make a responsive v-toolbar vuejs

I have this code

<template>

<V-toolbar>

Button 1
Button 2 
.....
Button n

<\V-toolbar>
<\template>

And number of buttons will increase with scaling of application.

My question is how to make it responsive so that in a small screen these buttons can be viewed as a menu (...) .

Thanks

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can make use of the Vuetify breakpoint service, like below:

<v-toolbar>
    <v-menu bottom left v-if="$vuetify.breakpoint.xs || $vuetify.breakpoint.sm">
        <template v-slot:activator="{ on, attrs }">
            <v-btn
               dark
               icon
               v-bind="attrs"
               v-on="on">
               <v-icon>mdi-dots-vertical</v-icon>
            </v-btn>
        </template>
        Button 1
        Button 2 
        .....
        Button n
    </v-menu>
    <template v-else>
        Button 1
        Button 2 
        .....
        Button n
    </template>
</v-toolbar>

You can view more breakpoint options here.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!