Skip to content

feat(VToolbar): Add location props #21471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from

Conversation

mueller-jens
Copy link
Contributor

Description

resolves #21458

Added location props and styles to VToolbar

Markup:

<template>
  <v-card
    height="300"
    image="https://cdn.vuetifyjs.com/images/toolbar/map.jpg"
    border
    flat
  >
    <template v-slot:text>
      <v-toolbar rounded="lg" border floating absolute location="top right">
        <div class="px-4">
          <v-text-field
            density="compact"
            placeholder="Search"
            prepend-inner-icon="mdi-magnify"
            variant="solo"
            width="200"
            flat
            hide-details
            single-line
          ></v-text-field>
        </div>

        <template v-slot:append>
          <v-btn
            color="medium-emphasis"
            density="comfortable"
            icon="mdi-crosshairs-gps"
          ></v-btn>

          <v-btn
            class="ms-1"
            color="medium-emphasis"
            density="comfortable"
            icon="mdi-dots-vertical"
          ></v-btn>
        </template>
      </v-toolbar>
    </template>
  </v-card>
</template>

Output:
image

@mueller-jens mueller-jens marked this pull request as draft May 23, 2025 20:29
@mueller-jens mueller-jens marked this pull request as ready for review May 24, 2025 21:33
@mueller-jens mueller-jens changed the base branch from master to dev May 25, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] VToolbar location prop
2 participants