Menu

The v-menu component shows a menu at the position of the element used to activate it.

<v-menu offset-y>
    <template v-slot:activator="{ on }">
        <v-btn
        color="primary"
        dark 
        v-on="on"
        >
            Dropdown
        </v-btn>
    </template>
    <v-list>
        <v-list-item
        v-for="(item, index) in items"
        :key="index"
        @click=""
        >
            <v-list-item-title>{{ item.title }}</v-list-item-title>
        </v-list-item>
    </v-list>
</v-menu>

Last updated