Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vuetify

Package Overview
Dependencies
Maintainers
7
Versions
613
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuetify

Vue Material Component Framework

  • 2.5.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
619K
increased by1.66%
Maintainers
7
Weekly downloads
 
Created

What is vuetify?

Vuetify is a popular Vue.js component framework that provides a wide range of pre-made components and styles to help developers build visually appealing and responsive web applications quickly. It follows the Material Design guidelines and offers a rich set of features including layout systems, form controls, data tables, and more.

What are vuetify's main functionalities?

Layout System

Vuetify's layout system allows you to create responsive layouts using a grid system. The example demonstrates a simple layout with a primary and secondary content area using `v-container`, `v-row`, and `v-col` components.

<template>
  <v-container>
    <v-row>
      <v-col cols="12" md="8">
        <v-card>
          <v-card-title>Primary Content</v-card-title>
          <v-card-text>This is the main content area.</v-card-text>
        </v-card>
      </v-col>
      <v-col cols="12" md="4">
        <v-card>
          <v-card-title>Secondary Content</v-card-title>
          <v-card-text>This is the secondary content area.</v-card-text>
        </v-card>
      </v-col>
    </v-row>
  </v-container>
</template>

Form Controls

Vuetify provides a variety of form controls such as text fields, buttons, and more. The example shows a simple form with two text fields and a submit button, demonstrating how to use `v-text-field` and `v-btn` components.

<template>
  <v-form>
    <v-text-field label="Name" v-model="name"></v-text-field>
    <v-text-field label="Email" v-model="email"></v-text-field>
    <v-btn @click="submitForm">Submit</v-btn>
  </v-form>
</template>
<script>
export default {
  data() {
    return {
      name: '',
      email: ''
    };
  },
  methods: {
    submitForm() {
      // Form submission logic
    }
  }
};
</script>

Data Tables

Vuetify's data tables allow you to display tabular data with ease. The example shows a simple data table with two columns, 'Name' and 'Age', using the `v-data-table` component.

<template>
  <v-data-table :headers="headers" :items="items"></v-data-table>
</template>
<script>
export default {
  data() {
    return {
      headers: [
        { text: 'Name', value: 'name' },
        { text: 'Age', value: 'age' }
      ],
      items: [
        { name: 'John Doe', age: 30 },
        { name: 'Jane Smith', age: 25 }
      ]
    };
  }
};
</script>

Other packages similar to vuetify

Keywords

FAQs

Package last updated on 05 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc