🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

v-tab

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-tab

Tab components for Vue.js

latest
Source
npmnpm
Version
3.0.3
Version published
Maintainers
1
Created
Source

VTab

npm vue2

Tab components for Vue.js

Installation

Using yarn

yarn add v-tab

Using npm

npm i --save v-tab

Demo

DEMO

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'

import VTab from 'v-tab'

// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import 'v-tab/dist/v-tab.css'

Vue.use(VTab)

Browser

<!-- Include after Vue -->
<link rel="stylesheet" href="v-tab/dist/v-tab.css"></link>
<script src="v-tab/dist/v-tab.js"></script>
<script>
  Vue.use(VTab)
</script>

Example

<template>
  <v-tabs class="v-tab-vertical">
    <v-tab label='First'>
      First tab content
    </v-tab>  
    <v-tab label='Second'>
      Second tab content
    </v-tab>  
    <v-tab label='Third'>
      Third tab content
    </v-tab>  
  </v-tab>
</template>

What about appearence?

Just override the css classes, See the structure:

.v-tab
  .v-tab-tabs
    .v-tab-tab
  .v-tab-content

Author

License

This project is licensed under MIT License

Keywords

vue

FAQs

Package last updated on 16 May 2017

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