vue3-bs

Vue 3 + Bootstrap 5 Component Library
3,172
Install
npm install vue3-bs
Latest Version:1.0.34
Vue:3
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: asdlt

vue3-bs

A lightweight Vue 3 component library built for Bootstrap 5 styles.

Note: This library provides Vue 3 components that utilize Bootstrap 5 classes. It does not include the Bootstrap JS or CSS files. You must include Bootstrap CSS in your project separately.

Installation

Install the package via npm:

npm install vue3-bs

You will also need Bootstrap 5 CSS if you haven't already installed it:

npm install bootstrap

Usage

1. Global Registration

Register all components globally in your Vue application entry point (e.g., main.js or main.ts).

import { createApp } from 'vue';
import App from './App.vue';

// Import Bootstrap CSS
import 'bootstrap/dist/css/bootstrap.min.css';

// Import the library
import Vue3Bs from 'vue3-bs';
import 'vue3-bs/dist/vue3-bs.css'; // Required for component styles

const app = createApp(App);

app.use(Vue3Bs);

app.mount('#app');

2. Local Import

You can also import individual components directly in your Vue components.

<script setup>
import { VInput, VButton } from 'vue3-bs';
</script>

<template>
    <VInput
        label="Email Address"
        placeholder="name@example.com"
    />
</template>

Features

  • Vue 3 Composition API: Built using the latest Vue 3 features.
  • Bootstrap 5 Compatible: Designed to work seamlessly with Bootstrap 5 utility classes and grid system.
  • Form Components: Includes a suite of form components like VInput, VSelect, VCheckbox, etc.

Components

For a full list of available components and their usage, please refer to COMPONENTS.md.

Development

For instructions on how to contribute or run the project locally, please see DEVELOPMENT.md.

License

MIT

Related Packages

bootstrap-vue-wrapper

Bootstrap 5 components in Vue3 wrapper.

15,917
admin-layout-vue

Admin layout Vue component with sidebar and navbar.

3,765 0
@velkymx/vibeui

A lightweight Vue 3 component library for Bootstrap 5.3 with dual-mode support (...

4,437 9
vue-multiselect-bootstrap-theme

Bootstrap 3/4/5 themes for vue-multiselect

8,906 6
vueboot

A collection of Vuejs components that wrap Bootstrap components

4,245

Version History

Version Released Vue License
1.0.34 ^3.0.0 MIT
1.0.33 ^3.0.0 MIT
1.0.31 ^3.0.0 MIT
1.0.30 ^3.0.0 MIT
1.0.29 ^3.0.0 MIT