Build websites even faster with components on top of Tailwind CSS
For full documentation, visit flowbite.com.
Flowbite is an open source collection of UI components built with the utility classes from Tailwind CSS that you can use as a starting point when coding user interfaces and websites.
Flowbite can be included as a plugin into an existing Tailwind CSS project and it is supposed to help you build websites faster by having a set of web components to work with built with the utility classes from Tailwind CSS.
Make sure that you have Node.js and Tailwind CSS installed.
- Install Flowbite as a dependency using NPM by running the following command:
npm i flowbite
- Require Flowbite as a plugin inside the
tailwind.config.js
file:
module.exports = {
plugins: [
require('flowbite/plugin')
]
}
- Include the main JavaScript file to make interactive elements work:
<script src="../path/to/flowbite/dist/flowbite.js"></script>
If you use Webpack or other bundlers you can also import it like this:
import 'flowbite';
The quickest way to get started working with FlowBite is to simply include the CSS and JavaScript into your project via CDN.
Require the following minified stylesheet inside the head
tag:
<link rel="stylesheet" href="https://unpkg.com/flowbite@latest/dist/flowbite.min.css" />
And include the following javascript file before the end of the body
element:
<script src="https://unpkg.com/flowbite@latest/dist/flowbite.js"></script>
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
If you need the Figma files for the components you can check out our website for more information: