vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Feature Request] Support for vue-router on v-icon-btn

Open jetze-meilink opened this issue 7 months ago • 1 comments

Problem to solve

Currently there is no support for vue-router for the v-icon-btn. (e.g. <v-icon-btn to="page/1" />. The docs propose to wrap it in a router-link which is a bit cumbersome.

Is this something that is going to stay this way or is there a plan to also extend the vue-router functionality to this component?

Proposed solution

Having a to prop on the v-icon-button component would be logical in my opinion as buttons can often be links.

jetze-meilink avatar Jun 13 '25 16:06 jetze-meilink

VIconBtn was created partially to match MD3 and partially as performance improvement.

You can just use <v-btn icon='...' /> whenever you need actual navigation item.

J-Sek avatar Jun 13 '25 17:06 J-Sek

👆 The whole point of VIconBtn was to be as minimal as possible.

KaelWD avatar Jun 17 '25 09:06 KaelWD