Buefy is a lightweight library of responsive UI components for Vue.js based on Bulma framework and design.
This branch buefy-next
aims at being Buefy for Vue 3.
The branch departed from the latest commit #b6233b9c335d99cf688ee2a3b9c61fd26a92a182 on the dev
branch as of July 4, 2023.
The initial migration goal was to make the documentation page of every component work, and it was achieved. Some features not used in the documentation pages may not work. Please refer to MIGRATION-NOTE.md for more details about what challenges we faced.
Due to focusing on the documentation pages:
- Unit tests have not been updated at all.
- Extensions have not migrated.
- Server-side-rendering has neither been tested.
Because not all of Vue 2 features could be reproduced with Vue 3, there are some breaking changes. Please refer to CHANGELOG.md for more details. The biggest breaking change is obviously, this does not work with Vue 2.
To install this fork, please run the following command,
npm install https://github.com/buefy/buefy#buefy-next
- Keep your current Bulma theme / variables easily
- Supports both Material Design Icons and FontAwesome
- Very lightweight with none internal dependencies aside from Vue & Bulma
- About 88KB min+gzip (with Bulma included)
- Semantic code output
- Follows Bulma design and some of the Material Design UX
- Focus on usability and performance without over-animating stuff
The documentation is in the docs directory, it serves as the demo as well.
Browse online documentation here.
You need Vue.js version 3.0+. (Vue 2 is not supported)
npm install https://github.com/buefy/buefy#buefy-next
Bundle
import { createApp } from 'vue';
import Buefy from 'buefy';
import 'buefy/dist/buefy.css';
const app = createApp();
app.use(Buefy);
or Individual Components
import { createApp } from 'vue'
import { Field, Input } from 'buefy'
import 'buefy/dist/buefy.css'
const app = createApp();
app.use(Field)
app.use(Input)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css">
If you want to customize the icons or the theme, refer to the customization section on the documentation.
<!-- Buefy CSS -->
<link rel="stylesheet" href="https://unpkg.com/buefy/dist/buefy.min.css">
<!-- Buefy JavaScript -->
<script src="https://unpkg.com/buefy/dist/buefy.min.js"></script>
https://github.com/buefy/buefy
Recent versions of Firefox, Chrome, Edge, Opera and Safari. IE10+ is only partially supported.
Please see the contributing guidelines
Version will follow v0.Y.Z, where:
- Y: Major (breaking changes)
- Z: Minor or patch
Walter Tommasi |
Special thanks to Rafael Beraldo, the original author.
Thanks goes to these wonderful people (emoji key):
Rafael Beraldo 💻 |
Alexandre Paradis 💻 |
Yuxing Liao 💻 |
Adrien 💻 |
Apolokak Lab 💻 |
Antério Vieira 💻 |
Jorge Nieto 💻 |
Mateus Machado Luna 💻 |
All contributors |
This project follows the all-contributors specification. Contributions of any kind welcome!
Code released under MIT license.