Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source project to get you started with Tailwind CSS, Blazor, and the Flowbite UI components

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
Tailwind CSS + Blazor.NET + Flowbite Starter is an open-source boilerplate that pre-configures Tailwind CSS and Flowbite UI components inside a Blazor.NET project so you can start building web applications without wiring up the front-end toolchain yourself.
The Tailwind CSS + Blazor.NET + Flowbite Starter is a GitHub-hosted starter project that combines the Blazor.NET framework with Tailwind CSS utility classes and the Flowbite component library. It takes a fresh Blazor project skeleton and adds the configuration files and scripts needed to compile Tailwind CSS and load Flowbite's interactive components. The output is a runnable Blazor app with a compiled CSS file and a sample dropdown component that you can edit and extend. The project is released under the MIT license and is maintained as part of the Flowbite ecosystem.
npx tailwindcss -i wwwroot/css/input.css -o wwwroot/css/output.css --watch) that watches your source CSS and regenerates the output stylesheet as you edit classes.data-dropdown-toggle and data-dropdown-trigger) to toggle visibility on hover or click.npm install command; Node.js and NPM are the only JavaScript tooling required.dotnet watch to launch the development server with hot reload, and dotnet build to compile the full project and its dependencies.This starter is aimed at .NET developers who want to adopt Tailwind CSS without manually setting up the Tailwind build process. It's also useful for Blazor developers who want ready-made, accessible UI components like navbars, buttons, and modals from Flowbite instead of writing all markup from scratch. Because it targets both Blazor Server and Blazor WebAssembly, teams that ship both hosting models can share the same base configuration. It also suits frontend developers familiar with Tailwind who are starting a Blazor project and want a minimal, well-documented foundation.
First, install Node.js and the .NET SDK on your machine. Then run npm install to fetch the front-end dependencies. In one terminal run dotnet watch to compile and serve the Blazor application, and in a second terminal run the npx tailwindcss command to watch and compile the Tailwind CSS. After that, you can open Pages/Index.razor and start editing markup; Flowbite components are added by copying their HTML into your Razor files, as demonstrated by the dropdown example.
Pros:
Cons:
dotnet watch and npx tailwindcss), which adds a little operational overhead compared to an all-in-one build.The starter is free and open-source under the MIT license.
Yes, the project is released under the MIT license, so it is free to use, modify, and redistribute, including for commercial applications.
You need Node.js and NPM installed to handle front-end dependencies, and the .NET SDK to build and run the Blazor application. Both are required for the npm install, dotnet watch, and npx tailwindcss commands.
Yes. The repository's topics include blazor-client, which refers to Blazor WebAssembly, alongside blazor-server. The starter's configuration is hosting-model agnostic, so the same setup works for both Blazor Server and Blazor WebAssembly.
Copy the component's markup from the Flowbite documentation into your Razor file. The starter includes a dropdown as an example, and you can import other components by adding the corresponding HTML and data attributes to your pages.
Run the command npx tailwindcss -i wwwroot/css/input.css -o wwwroot/css/output.css --watch from the project root. This watches the input CSS file and regenerates the output stylesheet whenever you change classes.
