TL;DR
If you searched for v-button while working with Vuetify, the component you probably need is v-btn, imported as VBtn. Confirm the installed package and version before copying an example. This reference uses Vue 3 and Vuetify 3.10.0 for its code, not an unspecified latest release. DOM Studio’s DomButton is a different component with its own API.
The official Vuetify 3.10.0 button documentation names the component v-btn. We’ll use that name throughout this guide and separate component identity, setup, props, and events so you can find the detail you need without reading everything in order.
Table of contents
- What is v-button, and which library provides it?
- Confirm the package and version first
- Vuetify 3 button imports and minimal usage
- Common v-btn props: a compact reference
- Click events, selection events, and models
- A loading button needs application-level control
- How to look up the complete API
- Troubleshooting quick checks
- Video: Vuetify 3 setup and component context
- Choose the component before customizing it
- Sources
- Recommended Reads
What is v-button, and which library provides it?
In Vuetify, the button component is v-btn, not v-button. The JavaScript export is VBtn. Vue supports PascalCase component names and their kebab-case equivalents, which explains the relationship between VBtn and v-btn; it does not make v-button another spelling of the same registration. See Vue’s component naming rules.
| Name you encounter | What to check |
|---|---|
v-button |
Trace the import or registration. Do not identify its library from the prefix alone. |
v-btn or VBtn |
Vuetify’s button component, when imported or registered from Vuetify. |
DomButton |
DOM Studio’s separate button component. |
A local wrapper such as SaveButton |
Read the wrapper’s implementation before assuming it exposes the underlying library’s complete API. |
Our DOM Studio button reference documents DomButton, including its own variants and sizes. It is not a replacement API reference for Vuetify. A shared word such as variant does not establish that two libraries accept the same values.
If your application literally contains a v-button tag, start with its registration rather than renaming it immediately. It could be a project-defined component or alias. We recommend tracing the implementation first, then making any naming change deliberately.
Confirm the package and version first
Before copying a button example, check these four things:
- Package: Read the application workspace’s dependencies and the component’s import statements. In a monorepo, inspect the package that actually builds the interface.
- Installed release: Check the resolved dependency version, not only the allowed range in a manifest. Record the major version and the exact release when debugging.
- Registration: Determine whether the component is imported locally, registered globally, or supplied by build-time auto-imports.
- Documentation: Select guidance for that major version. For release-sensitive behavior, compare the documentation with source from the installed release.

The distinction matters here: Vuetify 2’s button documentation describes options such as depressed, outlined, and text as button props. The Vuetify 3.10.0 guide describes a variant selection instead. These examples should not be treated as interchangeable.
This guide deliberately pins its implementation reference to 3.10.0. If your project uses Vuetify 2 or another major version, use its matching documentation rather than assuming the snippets below are a migration recipe.
Vuetify 3 button imports and minimal usage
The following example assumes an existing, client-rendered Vue 3 project that already compiles .vue single-file components and has Vuetify 3.10.0 installed. Its existing HTML entry must provide the #app mount element. It does not configure Nuxt, SSR, routing, icon fonts, or application-specific typography.
1. Initialize Vuetify once
In src/main.js:
import { createApp } from 'vue'
import { createVuetify } from 'vuetify'
import { Ripple } from 'vuetify/directives'
import 'vuetify/styles'
import App from './App.vue'
const vuetify = createVuetify({
directives: { Ripple },
})
createApp(App).use(vuetify).mount('#app')
The stylesheet entry and application plugin setup follow Vuetify’s version-pinned installation guidance. Registering Ripple follows its manual-import documentation.
If your project already installs Vuetify, merge the relevant configuration instead of creating a second app or replacing existing plugin settings.
2. Import and render VBtn
In src/App.vue:
<script setup>
import { ref } from 'vue'
import { VApp } from 'vuetify/components/VApp'
import { VBtn } from 'vuetify/components/VBtn'
const clicks = ref(0)
</script>
<template>
<VApp>
<main>
<VBtn
color="primary"
variant="flat"
@click="clicks++"
>
Clicked {{ clicks }} times
</VBtn>
</main>
</VApp>
</template>
Vuetify documents imports from vuetify/components/<group>, including vuetify/components/VBtn. Vue makes imports in <script setup> available to the template without a separate components object. Its reactivity guide explains why the template can read and update clicks without writing .value.
This example uses local component imports to make the dependency visible. Automatic imports are another supported approach, but they depend on the project’s bundler integration. Do not confuse successful component resolution with complete plugin setup.
Common v-btn props: a compact reference
These are selected Vuetify 3.10.0 options, not an exhaustive API contract. The tagged button guide explains their intended use, while the VBtn implementation establishes the component’s declarations and rendering behavior.
| Prop | Example | Purpose |
|---|---|---|
variant |
variant="outlined" |
Chooses elevated, flat, tonal, outlined, text, or plain. The component default is elevated. |
color |
color="primary" |
Applies color in conjunction with the selected variant. |
size |
size="large" |
Selects button sizing. Named sizes include x-small, small, default, large, and x-large. |
density |
density="compact" |
Adjusts density; supported named choices include default, comfortable, and compact. |
block |
block |
Extends the button across the available width. |
disabled |
:disabled="saving" |
Applies the disabled state. |
loading |
:loading="saving" |
Displays loading feedback, with a customizable loader slot. |
prepend-icon, append-icon |
prepend-icon="mdi-plus" |
Requests an icon before or after the label, using the application’s configured icon setup. |
The named size, density, and variant combinations also appear in Vuetify’s release-pinned browser test source.
For Boolean state, bind actual values. Use :disabled="false" when you mean false, rather than passing the string "false". Vue’s prop-passing documentation explains the difference between static strings and bound expressions.
For label content, start with the default slot, as the minimal example does. Vuetify also supplies prepend, append, and loader slots. Choose a slot when you need composed content rather than another presentation flag.
Click events, selection events, and models
Use @click for an ordinary button action. Vuetify’s VBtn browser tests explicitly include native click handling. Reading the test source verifies the intended contract; it does not mean we executed the example above.
A short component-emits list is not proof that click listeners are unsupported. Vue documents how listeners can reach a component’s root element through attribute and listener fallthrough.
Keep these contracts separate:
- Action: Handle
@clickand call application logic. - Group selection: VBtn declares
group:selectedwith a payload shaped as{ value: boolean }in its tagged implementation. - Selected group value: Use the model on
v-btn-togglewhen implementing a selectable button group, as described in the button-toggle documentation.
We recommend treating “activate an action” and “change a selected value” as different requirements. A save operation should not need a selection model just because its control looks like a button.
A loading button needs application-level control
Vuetify’s loading prop provides visual feedback. In the 3.10.0 implementation, loading also influences busy and focus attributes, but it is not the expression used to set the native disabled attribute. Bind disabled explicitly when blocking an in-flight save.

Here is a project-owned SaveButton.vue wrapper for the same configured application:
<script setup>
import { ref } from 'vue'
import { VBtn } from 'vuetify/components/VBtn'
const props = defineProps({
persist: { type: Function, required: true },
})
const saving = ref(false)
const message = ref('')
async function save() {
if (saving.value) return
saving.value = true
message.value = ''
try {
await props.persist()
message.value = 'Saved.'
} catch {
message.value = 'Save failed. Try again.'
} finally {
saving.value = false
}
}
</script>
<template>
<VBtn
:loading="saving"
:disabled="saving"
@click="save"
>
Save changes
</VBtn>
<p role="status">{{ message }}</p>
</template>
Required application-specific piece: the parent must supply persist, a function that returns a promise which resolves after a successful save and rejects on failure. persist belongs to this wrapper, not Vuetify. Vue supports function props through the runtime prop declaration used here.
The guard covers repeated calls within this component instance. It does not coordinate separate instances, browser tabs, or server requests. For production use, we recommend deciding how the application handles cancellation, retries, and duplicate writes, rather than expecting the visual control to supply those policies.
How to look up the complete API
For interactive lookup, start with the Vuetify 3 VBtn API reference, then confirm that its version matches your installation. Keep the tagged sources above handy when exact-release behavior matters.
Our lookup order is:
- Component guide: Find the intended pattern and a minimal example.
- API reference: Check the exact prop name, accepted values, default, event payload, and available slots.
- Tagged implementation and tests: Resolve behavior that the prose does not establish, especially loading, navigation, or group interaction.
Record the version beside any example copied into team documentation. A search result can be useful navigation, but its title and snippet are not a compatibility guarantee.
Troubleshooting quick checks
| Symptom | First useful check |
|---|---|
v-button does not resolve |
Trace its registration. Vuetify’s documented component is v-btn. |
v-btn does not resolve |
Check the local import or the project’s global or automatic registration. |
| The button looks unexpectedly plain | Check the stylesheet setup, explicit variant, and surrounding component defaults. |
| An old prop has no intended effect | Compare the installed major version with the example’s documentation. |
| A spinner appears but duplicate work still starts | Bind disabled and add an application-level in-flight guard. |
| An icon does not appear | Check the configured icon setup before changing the button’s label or event handler. |
These checks follow the installation, registration, and button guidance. Vuetify also documents contextual defaults: for example, v-card-actions applies the text variant to its buttons. Inspect the surrounding context before adding CSS overrides.
Video: Vuetify 3 setup and component context
For a broader visual introduction, The Vuetify 3 Tutorial - A Vue 3 UI Library covers project creation and components. Use it for framework context, and use the release-pinned references in this article for exact imports and button behavior.
Choose the component before customizing it
Our recommendation is simple: identify the implementation, confirm its release, and only then select props or add a wrapper. That prevents a naming question from turning into unnecessary CSS work or an accidental library migration.
If you are evaluating our separate button implementation, explore the DomButton playground and API. Keep its contract distinct from Vuetify’s, and compare the behavior your application actually needs rather than matching names alone.
Sources
- Vuetify 3.10.0: Buttons, installation, manual imports, and button toggles.
- Vuetify 3.10.0: VBtn implementation and browser test source.
- Vuetify 2: Button component.
- Vue: Component registration, reactivity fundamentals, props, and fallthrough attributes.
- DOM Studio: Button reference.
