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

bootstrap-vue

Package Overview
Dependencies
Maintainers
4
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-vue

With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens

  • 2.23.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
259K
decreased by-2.78%
Maintainers
4
Weekly downloads
 
Created

What is bootstrap-vue?

BootstrapVue provides one of the most comprehensive implementations of Bootstrap 4 components and grid system for Vue.js. It allows developers to use Bootstrap's powerful, responsive design framework within Vue.js applications, offering a wide range of UI components and utilities.

What are bootstrap-vue's main functionalities?

Grid System

BootstrapVue provides a responsive grid system that allows you to create complex layouts using rows and columns. The example demonstrates a simple two-column layout.

<template>
  <b-container>
    <b-row>
      <b-col>Column 1</b-col>
      <b-col>Column 2</b-col>
    </b-row>
  </b-container>
</template>

Form Inputs

BootstrapVue includes a variety of form input components, such as text inputs, checkboxes, and radio buttons. The example shows a simple form with email and password fields.

<template>
  <b-form>
    <b-form-group label="Email address">
      <b-form-input type="email" placeholder="Enter email"></b-form-input>
    </b-form-group>
    <b-form-group label="Password">
      <b-form-input type="password" placeholder="Password"></b-form-input>
    </b-form-group>
    <b-button type="submit" variant="primary">Submit</b-button>
  </b-form>
</template>

Modals

BootstrapVue provides modal components that can be used to display content in a dialog box. The example shows how to create and trigger a modal.

<template>
  <div>
    <b-button v-b-modal.my-modal>Launch Demo Modal</b-button>
    <b-modal id="my-modal" title="BootstrapVue Modal">
      <p class="my-4">Hello from modal!</p>
    </b-modal>
  </div>
</template>

Alerts

BootstrapVue includes alert components for displaying feedback messages. The example shows a simple success alert.

<template>
  <b-alert show variant="success">Success Alert!</b-alert>
</template>

Navigation

BootstrapVue provides navigation components such as navbars and tabs. The example shows a responsive navbar with a brand and two links.

<template>
  <b-navbar toggleable="lg" type="dark" variant="info">
    <b-navbar-brand href="#">Navbar</b-navbar-brand>
    <b-navbar-toggle target="nav-collapse"></b-navbar-toggle>
    <b-collapse id="nav-collapse" is-nav>
      <b-navbar-nav>
        <b-nav-item href="#">Home</b-nav-item>
        <b-nav-item href="#">Link</b-nav-item>
      </b-navbar-nav>
    </b-collapse>
  </b-navbar>
</template>

Other packages similar to bootstrap-vue

Keywords

FAQs

Package last updated on 26 Oct 2022

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