Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/themesberg/flowbite-astro-admin-dashboard

Open-source admin dashboard template built with Astro, Flowbite, and Tailwind CSS
https://github.com/themesberg/flowbite-astro-admin-dashboard

admin-dashboard admin-template astro astro-template astro-theme dashboard flowbite tailwindcss typescript

Last synced: 22 days ago
JSON representation

Open-source admin dashboard template built with Astro, Flowbite, and Tailwind CSS

Awesome Lists containing this project

README

        

# [Flowbite Astro Admin Dashboard](https://themesberg.github.io/flowbite-astro-admin-dashboard/) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fthemesberg%2Fflowbite-astro-admin-dashboard&text=Check%20out%20this%20open-source%20admin%20dashboard%20built%20with%20Flowbite%2C%20Astro%20and%20Tailwind%20CSS)


version
license
GitHub issues open
GitHub issues closed

This project is a free and open-source UI admin dashboard template built with the components from [Flowbite](https://github.com/themesberg/flowbite) and based on the utility-first [Tailwind CSS](https://github.com/tailwindlabs/tailwindcss) 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.

---


Open in StackBlitz
Open with CodeSandbox

## πŸŒ€ 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](https://flowbite.com/) 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](https://flowbite.com/figma/).

## πŸ“š Flowbite documentation

If you want to use this project we recommend to also [study the component library](https://flowbite.com/docs/getting-started/introduction/) 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](https://tailwindcss.com/)
- Flowbite: [flowbite.com](http://flowbite.com/)
- Astro: [astro.build](https://astro.build/)

### πŸš€ Quick start

1. Clone this repository or download the ZIP file
2. Make sure that you have **Node.js** and NPM, PNPM or Yarn installed
3. Install the project dependencies from the `package.json` file:

```sh
pnpm install
# or
npm install
# or
yarn
```

_PNPM is the package manager of choice for illustration, but you can use what you want._

1. Launch the Astro local development server on `localhost:2121` by running the following command:

```sh
pnpm run dev
```

You can also build the project and get the distribution files inside the `dist/` folder by running:

```sh
pnpm run build
```

Then, you can preview the generated build with a local web server:

```sh
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](https://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:

```sh
πŸ›¬
β”œβ”€β”€ πŸ’§ 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 with `astro`)
- **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](https://github.com/themesberg/flowbite-astro-admin-dashboard/tree/main/.github/workflows) 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.


ide-tooling
gh-workflow
gh-workflow

## Browser Support

At present, we officially aim to support the last two versions of the following browsers:



## Resources

- Live preview:

- Flowbite documentation:
- Tailwind CSS documentation:
- License Agreement:
- Issues: [Github Issues Page](https://github.com/themesberg/flowbite-admin-dashboard/issues)

### 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](https://github.com/themesberg/flowbite-react)
- [πŸ€ Flowbite Vue Library](https://github.com/themesberg/flowbite-vue)
- [🎸 Flowbite Svelte Library](https://github.com/themesberg/flowbite-svelte)
- [πŸ“• Flowbite Angular Library](https://github.com/themesberg/flowbite-angular)

We also wrote integration guides for the following front-end frameworks and libraries:

- [πŸ“ Flowbite with React guide](https://flowbite.com/docs/getting-started/react/)
- [πŸ“ Flowbite with Next.js guide](https://flowbite.com/docs/getting-started/next-js/)
- [πŸ“ Flowbite with Vue guide](https://flowbite.com/docs/getting-started/vue/)
- [πŸ“ Flowbite with Nuxt.js guide](https://flowbite.com/docs/getting-started/nuxt-js/)
- [πŸ“ Flowbite with Svelte guide](https://flowbite.com/docs/getting-started/svelte/)

### 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](https://flowbite.com/docs/getting-started/laravel/)
- [🚊 Using Flowbite with Ruby on Rails 7](https://flowbite.com/docs/getting-started/rails/)
- [🐸 Using Flowbite with Django](https://flowbite.com/docs/getting-started/django/)
- [🌢 Using Flowbite with Flask](https://flowbite.com/docs/getting-started/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:

1. Make sure that you are using the latest version of Flowbite Admin Dashboard. Check the CHANGELOG from your dashboard on the [GitHub releases page](https://github.com/themesberg/flowbite-admin-dashboard/releases).
2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
3. 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](https://flowbite.com/contact/) instead of opening an issue.

## Licensing

- Copyright 2019-2023 Bergside Inc. (https://flowbite.com)
- Open-source under the [MIT License](https://github.com/themesberg/flowbite-admin-dashboard/blob/main/LICENSE)

## Useful Links

- πŸ“š [Flowbite Library](https://flowbite.com/) - Open-source components built with Tailwind CSS
- 🎨 [Flowbite Figma](https://flowbite.com/figma/) - Design system built for Figma
- 🧱 [Flowbite Blocks](https://flowbite.com/blocks/) - Building sections for website and applications
- πŸ’Ž [Flowbite Pro](https://flowbite.com/pro/) - A larger collection of the open-source version of the latter three

## Authors

- [Julian Cataldo](https://twitter.com/Julian_Cataldo)
- [ZoltΓ‘n SzΕ‘gyΓ©nyi](https://twitter.com/zoltanszogyenyi)
- [Robert Tanislav](https://twitter.com/roberttanislav)