themesberg/flowbite-vue
About
Official Vue 3 components built for Flowbite and Tailwind CSS
Web & App DevelopmentMeasured star growth
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalflowbite-vue is an open source collection of UI components, built in Vue, with utility classes from Tailwind CSS that you can use as a starting point for user interfaces and websites.
Table of Contents
- Documentation
- Getting started
- Components
- Community
- Contributing
- Changelog
- Figma
- Copyright and license
Documentation
Find the guides and every component's documentation at flowbite-vue.com.
Getting started
Flowbite Vue needs Vue 3.5 and Node.js 22.12 or newer. The quickstart guide has the full setup.
npm i flowbite-vue
With Tailwind CSS
For apps running Tailwind CSS v4.1 or newer. Add these lines to your main CSS file, after @import "tailwindcss";:
@import "tailwindcss";
/* the components' own CSS */
@import "flowbite-vue/index.css";
/* generate the utility classes the components use */
@import "flowbite-vue/tailwind.css";
/* class-based dark mode, as Flowbite uses */
@custom-variant dark (&:where(.dark, .dark *));
Your Tailwind build generates the utility classes the components use, alongside your own, so your app has one copy of each. There is no tailwind.config.js to edit. Using a prefix (prefix(tw))? See the quickstart guide.
The components don't need the flowbite package. To style your own plain form elements the Flowbite way, also install flowbite and add @import "flowbite/src/themes/default.css"; and @plugin "flowbite/plugin";.
Without Tailwind CSS
Import the prebuilt stylesheet, which has every utility class the components use:
import 'flowbite-vue/standalone.css'
Nuxt
Flowbite Vue ships a Nuxt module that auto-imports the components and injects the styles. See the Nuxt guide.
Use a component
<template>
<fwb-button>Hello</fwb-button>
</template>
<script setup>
import { FwbButton } from 'flowbite-vue'
</script>
Components
Community
If you need help or just want to discuss about the library join the community on Github:
⌨️ Discuss about Flowbite on GitHub
For casual chatting with others using the library:
💬 Join the Flowbite Discord Server
Contributing
Thank you for your interest in helping! Visit our guide on contributing to get started.
Changelog
Notable changes to this project are documented in CHANGELOG.md, following the Keep a Changelog format.
Figma
If you need the Figma files for the components you can check out our website for more information:
🎨 Get access to the Figma design files
Copyright and license
The Flowbite name and logos are trademarks of Crafty Dwarf Inc.
Explore related projects
Loading…