Reputation: 1377
I need to create v-text-field
without background, borders or shadows, is that possible? Docs specify only these types:
But neither of them suit my needs.
What's the simplest way to achieve this?
I tried this but it didn't remove the background (in dark mode).
Upvotes: 0
Views: 2437
Reputation: 373
In Vuetify 3 you can do this:
<v-text-field
variant="plain"
></v-text-field>
Upvotes: 0
Reputation: 1321
You can override default v-text-field
styles in your css.
<v-text-field
class="text-field-transparent"
solo
flat
/>
.text-field-transparent .v-input__slot {
background: transparent !important;
}
Upvotes: 1