Vuetify Component Framework

4.0.5 · active · verified Sun Apr 19

Vuetify is a comprehensive UI component framework for Vue.js, meticulously implementing Google's Material Design specification. Currently on its v4.0.5 release, with a parallel v3.x maintenance branch (latest v3.12.5), it provides over 80 reusable components that enable developers to build rich, responsive, and visually consistent web applications. The project maintains an active release cadence, frequently delivering bug fixes and new features across both major versions. A key differentiator is its deep integration with the Vue ecosystem, offering extensive customization options through SASS variables, theming, and a robust plugin architecture. However, the project has recently faced significant funding challenges, urging community support to continue compensating its core contributors, which may impact its long-term stability and development pace if not addressed. It is primarily used with Vue 3 and TypeScript.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates the minimal setup for a Vuetify v4 application in a Vue 3 project, including styles, global component registration, and basic theme configuration in `main.ts`.

import { createApp } from 'vue';
import App from './App.vue';
import 'vuetify/styles'; // Essential: import global Vuetify styles
import { createVuetify } from 'vuetify';
import * as components from 'vuetify/components'; // Globally import all components for convenience
import * as directives from 'vuetify/directives'; // Globally import all directives

const vuetify = createVuetify({
  components,
  directives,
  theme: { defaultTheme: 'light' }, // Example: set a light theme
});

createApp(App).use(vuetify).mount('#app');

// Then, in your App.vue or any component, you can use Vuetify components:
// <template>
//   <v-app>
//     <v-main>
//       <v-container>
//         <v-btn color="primary">Hello Vuetify</v-btn>
//       </v-container>
//     </v-main>
//   </v-app>
// </template>

view raw JSON →