Work in progress.
β = Fully implemented
π§ = Partially implemented
β = Not implemented
Name | Done | Notes |
---|---|---|
Accordion | β | |
Alert | β | |
Avatar | β | |
Badge | β | |
Breadcrumb | β | |
Button | β | |
Button group | β | |
Card | β | |
Carousel | β | |
Datepicker | β | |
Dropdown | β | |
Footer | β | |
KBD | β | |
List group | β | |
Modal | β | |
Navbar | β | |
Pagination | β | |
Progress bar | β | |
Rating | β | |
Sidebar | β | |
Spinner | β | |
Table | π§ | Missing hover/striped |
Tabs | β | |
Timeline | β | |
Toast | β | |
Tooltip | β |
Name | Done | Notes |
---|---|---|
Checkbox | β | |
File Input | π§ | Missing dropzone |
Input | β | |
Radio | β | |
Range | β | |
Select | β | |
Textarea | β | |
Toggle | β |
Name | Done | Notes |
---|---|---|
Blockquote | β |
Learn how to get started with Flowbite Mithril.
Install Tailwind CSS:
npm i -D autoprefixer postcss tailwindcss
npx tailwindcss init -p
Point Tailwind CSS to files you have class="..." in:
module.exports = {
content: ["./src/**/*.js"],
theme: {
extend: {},
},
plugins: [],
};
Add Tailwind CSS to a CSS file:
@tailwind base;
@tailwind components;
@tailwind utilities;
Install Flowbite and Flowbite Mithril:
npm i -D flowbite github:alexferl/flowbite-mithril
Add the Flowbite plugin to tailwind.config.js
, and include content from flowbite-mithril
:
module.exports = {
content: ["./node_modules/flowbite-mithril/**/*.js"],
plugins: [require("flowbite/plugin")],
};