alexferl / flowbite-mithril

Flowbite components for Mithril

Home Page:https://alexferl.github.io/flowbite-mithril/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flowbite-mithril

Work in progress.

βœ… = Fully implemented

🚧 = Partially implemented

❌ = Not implemented

Components

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 ❌

Forms

Name Done Notes
Checkbox βœ…
File Input 🚧 Missing dropzone
Input βœ…
Radio βœ…
Range βœ…
Select βœ…
Textarea βœ…
Toggle βœ…

Typography

Name Done Notes
Blockquote βœ…

Getting started

Learn how to get started with Flowbite Mithril.

Setup Tailwind CSS

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 Mithril

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")],
};

About

Flowbite components for Mithril

https://alexferl.github.io/flowbite-mithril/

License:MIT License


Languages

Language:JavaScript 82.3%Language:HTML 15.6%Language:CSS 2.2%