Skip to content

How to make a modal with a top-left close icon? #12323

Answered by sneko
sneko asked this question in General
Discussion options

You must be logged in to vote

Hmmmm the "nesting dialog" (https://vuetifyjs.com/en/components/dialogs/#nesting) samples show a way to have an icon in the corner:

      <v-dialog
        v-model="dialog3"
        max-width="500px"
      >
        <v-card>
          <v-card-title>
            <span>Dialog 3</span>
            <v-spacer></v-spacer>
            <v-menu
              bottom
              left
            >
              <template v-slot:activator="{ on, attrs }">
                <v-btn
                  icon
                  v-bind="attrs"
                  v-on="on"
                >
                  <v-icon>mdi-dots-vertical</v-icon>
                </v-btn>
              </template>
              <v-l…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sneko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants