Flowbite Astro Admin Dashboard
Flowbite Astro Admin Dashboard
This project is a free and open-source UI admin dashboard template built with the components from Flowbite and based on the utility-first Tailwind CSS framework featuring charts, tables, widgets, CRUD layouts, modals, drawers, and more.
This admin dashboard can quickly help you get started building an application for your project using the newest UI/UX development technologies in the open-source area including Tailwind CSS and Flowbite.
Table of Contents
Click to expand
🕹 Demo pages
Dashboard | Stacked Layout | Products (CRUD) |
---|---|---|
Users (CRUD) | Settings | Pricing page |
---|---|---|
Login page | Register page | Reset password |
---|---|---|
Forgot password | Profile lock | Maintenance page |
---|---|---|
404 not found | 500 server error | Playground |
---|---|---|
🌀 Built with Flowbite
The interactive components such as the navbars, modals, drawers, and tooltips are all based on the popular open-source component library called Flowbite which enables us to use these elements by creating more complex set of pages and widgets inside a fully-fledged admin dashboard template.
💨 Tailwind CSS utility classes
All of the pages, widgets, and components are solely based on the utility-first classes from Tailwind CSS and it is compatible with the latest v3.x
of the technology by automatically purging all of the classes based on the template paths.
📊 15 example pages
Get started with 15 advanced examples pages including two different layouts of a dashboard’s homepage full of charts widgets, tables, datepickers, and statistics and also with two CRUD layout pages for products, users, a settings page, authentication pages for login and register and even custom 404 and 500 error pages.
🧱 Advanced components
This admin dashboard contains many advanced components both from Flowbite but also from other third-party libraries such as ApexCharts which have been customly tailored with Tailwind CSS classes and designed based on the Flowbite Design System.
📚 Flowbite documentation
If you want to use this project we recommend to also study the component library that we used to build this dashboard because you can use even more components from that library to enhance the examples that we’ve coded here already.
👨🚀 Development
⚙️ Workflow
This product is built using the following widely used technologies:
- Tailwind CSS: tailwindcss.com
- Flowbite: flowbite.com
- Astro: astro.build
🚀 Quick start
- Clone this repository or download the ZIP file
- Make sure that you have Node.js and NPM, PNPM or Yarn installed
- Install the project dependencies from the
package.json
file:
pnpm install
# or
npm install
# or
yarn
PNPM is the package manager of choice for illustration, but you can use what you want.
- Launch the Astro local development server on
localhost:2121
by running the following command:
pnpm run dev
You can also build the project and get the distribution files inside the dist/
folder by running:
pnpm run build
Then, you can preview the generated build with a local web server:
pnpm run preview
For deployment, see the GitHub workflow, where you can plug your target (pre-configured for GitHub pages). See docs.astro.build/en/guides/deploy
Website is configured for static deployment, but you can flip it to Server-Side rendering by simply
uncommenting output: "server"
in the ./astro.config.mjs
.
Project Structure
After cloning this repository, you’ll find the following (simplified) structure:
🛬
├── 💧 data
│ └── **/*.json # Satic data sources for REST etc.
│
└── src
│
├── 🧱 app
│ └── **/*.astro # Application-wide components
│
├── 🌠 assets
│ └── **/*.{svg,…} # Transformable assets
│
├── 🧱 components
│ └── **/*.astro # Simple, atomic UI elements
│
├── 📚 lib
│ └── **/*.ts # Utilities (Databases, APIs…)
│
├── 🧱 modules
│ └── **/*.astro # Complex views made of elements
│
├── 📑 pages
│ ├── **/*.astro # File-based client routes
│ │
│ └── 🌐 api
│ └── [...entities].ts # Catch-all endpoint for CRUD ops.
│
├── 🚀 services
│ └── *.ts # Server-side CRUD operations
│
└── 📐 types
└── *.ts # Data entities typings
🛠 Tools
Efforts have been put on fast onboarding and developer experience.
This project comes with extensive support for TypeScript, Astro, Tailwind, and VS Code.
It is configured with sensible defaults, a bit of opinions, plus some tricks to make it plays nice together.
- TypeScript: strictest Astro’s settings. Full-stack, type-safe code base
- ESLint: featuring
astro-eslint-parser
+eslint-plugin-astro
- Prettier: featuring
prettier-plugin-astro
(bundled withastro
) - Editorconfig: conforming with prettier
- VS Code: extensions recommendations, tooling settings
- Tailwind: Astro integration (using Vite and PostCSS)
- Flowbite: dependencies (core, typography), settings
- GitHub: a pre-configured workflow for deployment (using PNPM cache)
- Sandboxes: project is tested against and fully compatible with web containers
Feel free to hack those settings to cater for your own needs.
Browser Support
At present, we officially aim to support the last two versions of the following browsers:
Resources
-
Live preview: https://themesberg.github.io/flowbite-astro-admin-dashboard/
-
Flowbite documentation: https://flowbite.com/docs/getting-started/introduction/
-
Tailwind CSS documentation: https://tailwindcss.com/
-
License Agreement: https://flowbite.com/docs/getting-started/license/
-
Issues: Github Issues Page
JavaScript Frameworks
Here’s a list of compatible technologies and guides for Flowbite and Tailwind CSS:
The awesome open-source community also built and currently maintains the following standalone libraries for React, Vue, Svelte, and Angular:
- 🌀 Flowbite React Library
- 🍀 Flowbite Vue Library
- 🎸 Flowbite Svelte Library
- 📕 Flowbite Angular Library
We also wrote integration guides for the following front-end frameworks and libraries:
- 📝 Flowbite with React guide
- 📝 Flowbite with Next.js guide
- 📝 Flowbite with Vue guide
- 📝 Flowbite with Nuxt.js guide
- 📝 Flowbite with Svelte guide
Back-end Frameworks
Flowbite has a great integration with most of the back-end frameworks because it relies on vanilla JavaScript:
- 📚 Using Flowbite with Laravel
- 🚊 Using Flowbite with Ruby on Rails 7
- 🐸 Using Flowbite with Django
- 🌶 Using Flowbite with Flask
Reporting Issues
We use GitHub Issues as the official bug tracker for Flowbite Admin Dashboard. Here are some advices for our users that want to report an issue:
- Make sure that you are using the latest version of Flowbite Admin Dashboard. Check the CHANGELOG from your dashboard on the GitHub releases page.
- Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
- Some issues may be browser specific, so specifying in what browser you encountered the issue might help.
Technical Support or Questions
If you have questions or need help integrating the product please contact us instead of opening an issue.
Licensing
- Copyright 2019-2023 Bergside Inc. (https://flowbite.com)
- Open-source under the MIT License
Useful Links
- 📚 Flowbite Library - Open-source components built with Tailwind CSS
- 🎨 Flowbite Figma - Design system built for Figma
- 🧱 Flowbite Blocks - Building sections for website and applications
- 💎 Flowbite Pro - A larger collection of the open-source version of the latter three