Skip to content

feat(VToolbar): add location prop#22600

Open
nemanjamalesija wants to merge 1 commit intovuetifyjs:masterfrom
nemanjamalesija:feat/vtoolbar-location-prop
Open

feat(VToolbar): add location prop#22600
nemanjamalesija wants to merge 1 commit intovuetifyjs:masterfrom
nemanjamalesija:feat/vtoolbar-location-prop

Conversation

@nemanjamalesija
Copy link
Contributor

@nemanjamalesija nemanjamalesija commented Feb 6, 2026

Summary

Adds the location prop to VToolbar for positioning when absolute is enabled.

Changes

  • Added makeLocationProps and useLocation composable to VToolbar
  • Applied locationStyles conditionally — only when absolute is true, matching the VProgressLinear pattern
  • Added test case demonstrating location prop usage

Usage

<VToolbar absolute location="top right" title="Positioned" />
<VToolbar absolute location="bottom" title="Bottom Bar" />

Closes #21458

@nemanjamalesija nemanjamalesija force-pushed the feat/vtoolbar-location-prop branch 2 times, most recently from 87730d6 to 5d59d02 Compare February 6, 2026 23:45
Adds location prop to VToolbar for positioning when absolute is enabled.
Follows the same pattern used in other components like VBanner and VAlert.

Fixes vuetifyjs#21458
@nemanjamalesija nemanjamalesija force-pushed the feat/vtoolbar-location-prop branch from 5d59d02 to 52d4820 Compare February 6, 2026 23: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

1 participant