### Installing Tailwind CSS CLI (Mac/Linux)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/CONTRIBUTING.md
This command downloads the Tailwind CSS CLI executable for macOS/Linux, makes it executable, and moves it to the tools directory. This allows Tailwind CSS to be used for styling components.
```bash
mkdir ./tools && cd ./tools && curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-macos-arm64 && chmod +x tailwindcss-macos-arm64 && mv tailwindcss-macos-arm64 tailwindcss
```
--------------------------------
### Installing TailwindCSS and Initializing Configuration
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/Flowbite/nuget.md
Installs TailwindCSS as a development dependency using npm and initializes the TailwindCSS configuration file. This setup allows you to use TailwindCSS classes to style your Blazor components.
```Bash
npm install -D tailwindcss
npx tailwindcss init
```
--------------------------------
### Button Component Examples
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
This example demonstrates various Button component configurations, including different colors, styles (outline), loading states, link buttons, and full-width buttons. It showcases the use of ButtonColor, ButtonStyle, and other properties to customize the button's appearance and behavior.
```razor
```
--------------------------------
### FileInput Component Example (Razor)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-14-forms.md
Demonstrates the usage of the FileInput component with parameters for setting the Id, HelperText, Color, Disabled status, and Shadow effect.
```razor
```
--------------------------------
### Installing Tailwind CSS CLI (Windows)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/CONTRIBUTING.md
This PowerShell script downloads the Tailwind CSS CLI executable for Windows, and saves it as tailwindcss.exe in the tools directory. This allows Tailwind CSS to be used for styling components.
```powershell
mkdir ./tools -Force; `
cd ./tools; `
Invoke-WebRequest -Uri "https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-windows-x64.exe" `
-OutFile "tailwindcss.exe" `
-UseBasicParsing ; `
cd ..
```
--------------------------------
### Comprehensive Sidebar Example in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-09-sidebar.md
This example demonstrates a comprehensive sidebar with logos, icons, dropdowns, item grouping, responsiveness, and a CTA region with a button. It utilizes various Flowbite-Blazor components such as Sidebar, SidebarLogo, SidebarItemGroup, SidebarItem, SidebarCollapse, SidebarCTA, and Button.
```razor
Flowbite
Dashboard
Overview
Reports
Users
Products
Settings
Help Center
Preview the new Flowbite dashboard navigation! You can turn the new navigation off for a limited time in your profile.
```
--------------------------------
### Comprehensive Sidebar Example in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
This example demonstrates a comprehensive sidebar with logos, icons, dropdowns, item grouping, responsiveness, and a CTA region with a button. It utilizes various Flowbite-Blazor components such as Sidebar, SidebarLogo, SidebarItemGroup, SidebarItem, SidebarCollapse, and Button.
```razor
Flowbite
Dashboard
Overview
Reports
Users
Products
Settings
Help Center
Preview the new Flowbite dashboard navigation! You can turn the new navigation off for a limited time in your profile.
```
--------------------------------
### Avatar Component Examples
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Demonstrates different Avatar component configurations, including different sizes and the use of status indicators. It showcases how to set the size, rounded corners, image source, and alt text.
```razor
```
--------------------------------
### Card Component Examples
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
This example demonstrates various Card component configurations, including a basic card with a CTA button, a card with an image, a horizontal card layout, and an e-commerce product card. It showcases the use of ImgSrc, ImgAlt, Horizontal, and other properties to customize the card's appearance and content.
```razor
Noteworthy technology acquisitions 2021
Here are the biggest enterprise technology acquisitions of 2021 so far.
Card with image
Here are the biggest enterprise technology acquisitions of 2021 so far.
Horizontal card layout
Perfect for news articles or blog post previews.
Apple Watch Series 7 GPS
5.0
$599
```
--------------------------------
### Basic QuickGrid with Flowbite Theme
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
This example demonstrates a basic QuickGrid implementation with Flowbite styling. It defines several PropertyColumn components to display data from a collection of Pokemon objects, setting the Theme to "flowbite" and applying text-xs class.
```razor
```
--------------------------------
### Breadcrumb Component Example
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
This example demonstrates a basic Breadcrumb component with three items: Home, Category, and Current Page. It uses the Breadcrumb, BreadcrumbItem, and HomeIcon components to create a navigation trail.
```razor
Home
CategoryCurrent Page
```
--------------------------------
### Install Flowbite.Blazor.ExtendedIcons NuGet Package
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/Flowbite.ExtendedIcons/nuget.md
This command installs the Flowbite.Blazor.ExtendedIcons NuGet package into your Blazor project. The --prerelease flag includes pre-release versions of the package.
```PowerShell
dotnet add package Flowbite.Blazor.ExtendedIcons --prerelease
```
--------------------------------
### Create Blazor WebAssembly Project
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/04-quickstart.md
Creates a new Blazor WebAssembly project, adds Flowbite and BlazorWasmPreRendering.Build packages using dotnet CLI.
```sh
# pwd is the {{PROJECT_DIR_ROOT}}
dotnet new blazorwasm --empty -o {{PROJECT_NAME}}
cd {{PROJECT_NAME}}
dotnet add package Flowbite --prerelease
dotnet add package BlazorWasmPreRendering.Build -v 5.0.0
cd ..
# pwd is the {{PROJECT_DIR_ROOT}}
```
--------------------------------
### Configure Program.cs
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/04-quickstart.md
Configures the Program.cs file to add Flowbite services and configure prerendering.
```csharp
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using PROJECT_NAME;
using Flowbite.Services;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add("#app");
builder.RootComponents.Add("head::after");
// Required for prerendering (BlazorWasmPreRendering.Build)
ConfigureServices(builder.Services, builder.HostEnvironment.BaseAddress);
await builder.Build().RunAsync();
// Required for prerendering (BlazorWasmPreRendering.Build)
// extract the service-registration process to the static local function.
static void ConfigureServices(IServiceCollection services, string baseAddress)
{
services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(baseAddress) });
services.AddFlowbite();
}
```
--------------------------------
### Multi-Level Sidebar Example in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
This example demonstrates a multi-level sidebar with deep nested navigation, suitable for complex application hierarchies. It uses Sidebar, SidebarItem, and SidebarCollapse components to create a nested menu structure.
```razor
Dashboard
Profile
General
Permissions
Authentication
Encryption
Backup
Notifications
Help
```
--------------------------------
### Installing Flowbite Blazor NuGet Package
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/Flowbite/nuget.md
Installs the Flowbite.Blazor NuGet package into your Blazor project. This command adds the necessary Flowbite Blazor components to your project, enabling you to use them in your Blazor views.
```PowerShell
dotnet add package Flowbite.Blazor --prerelease
```
--------------------------------
### Textarea Component Example (Razor)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-14-forms.md
Shows how to use the Textarea component with parameters for setting the Id, Rows, Placeholder, Required status, Disabled status, HelperText, and Shadow effect.
```razor
```
--------------------------------
### Dropdown Component Examples
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
This example demonstrates two Dropdown component configurations: a default dropdown with a header, items, and a divider, and a dropdown with a custom trigger using an Avatar component. It showcases the use of DropdownHeader, DropdownItem, DropdownDivider, and CustomTrigger to customize the dropdown's content and appearance.
```razor
Bonnie Greenname@flowbite.comProfileSettings
Sign out
ProfileSettings
```
--------------------------------
### Badge with different sizes
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-03-badge.md
This example demonstrates how to change the size of the Badge component using the Size parameter. The available sizes are BadgeSize.ExtraSmall and BadgeSize.Small.
```razor
Extra smallSmall
```
--------------------------------
### Select Component Example (Razor)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-14-forms.md
Demonstrates the usage of the Select component with parameters for setting the Id, Size, Color, Disabled status, HelperText, Icon, and Shadow effect. It also shows how to bind the selected value.
```razor
```
--------------------------------
### RangeSlider Component Example (Razor)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-14-forms.md
Shows how to use the RangeSlider component with parameters for setting the Id, Size, Value, Min, Max, Step, and Disabled status.
```razor
```
--------------------------------
### Checkbox Component Example (Razor)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-14-forms.md
Illustrates the usage of the Checkbox component with parameters for setting the Id, Checked state, Disabled status, and Required status.
```razor
```
--------------------------------
### Download Tailwind CSS CLI (Windows)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/04-quickstart.md
Downloads the Tailwind CSS command-line interface executable for Windows using Invoke-WebRequest.
```sh
# pwd is the {{PROJECT_DIR_ROOT}}
cd {{PROJECT_NAME}}; mkdir {{PROJECT_NAME}}/tools; cd tools
Invoke-WebRequest -Uri https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.15/tailwindcss-windows-x64.exe -OutFile tailwindcss.exe -UseBasicParsing
cd ../..
# pwd is the {{PROJECT_DIR_ROOT}}
```
--------------------------------
### TextInput Component Example (Razor)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-14-forms.md
Illustrates the usage of the TextInput component with various parameters such as Id, Type, Size, Color, Placeholder, Required, Disabled, HelperText, AddonLeft/Right, Icon/RightIcon, and Shadow.
```razor
```
--------------------------------
### Card with Image - Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-06-card.md
This example shows how to create a card with an image using the ImgSrc and ImgAlt parameters of the Card component. The image source and alt text are passed as attributes to the Card component.
```razor
Card with image
Here are the biggest enterprise technology acquisitions of 2021 so far.
```
--------------------------------
### Loading State Button in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-05-button.md
This example shows how to create a button with a loading state using the Flowbite-Blazor Button component. The Loading parameter is set to true, and the button displays the text 'Processing...'.
```razor
```
--------------------------------
### Badge Component Examples
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Demonstrates different Badge component configurations, including default badges with different colors, badges as links, badges with icons, badges with icon only, and different sizes. It showcases the use of BadgeColor enum, Href property, BadgeSize enum, and Icon property.
```razor
Info
....
PrimaryGray
...
2 minutes agoIn progress
...
...
Extra smallSmall
```
--------------------------------
### FileInput Component Example - Razor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Demonstrates the usage of the FileInput component with parameters such as 'Id', 'HelperText', 'Color', 'Disabled', and 'Shadow'. These parameters control the input's identifier, helper text, color, disabled state, and shadow effect.
```razor
```
--------------------------------
### Tooltip Component Examples in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx-orig.md
Presents various Tooltip component examples in Blazor using Flowbite, including basic tooltips, different placements (top, bottom, left, right), style variations (dark, light, auto), trigger options (hover, click), disabling the arrow, and animation options. It demonstrates the flexibility in customizing tooltip appearance and behavior.
```razor
```
--------------------------------
### Alert Component Examples
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Demonstrates different Alert component configurations, including default alerts with emphasis, alerts with icons and border accents, and alerts with custom content. It showcases the use of AlertColor enum and custom content sections.
```razor
Requirements:
Minimum 10 characters
At least one special character
```
--------------------------------
### Label Component Example (Razor)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-14-forms.md
Demonstrates the usage of the Label component with parameters for associating with a form control, setting the label text, indicating required status, disabling the label, and applying additional CSS classes.
```razor
```
--------------------------------
### Link Button in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-05-button.md
This example demonstrates creating a link button that navigates to a specified URL using the Flowbite-Blazor Button component. The Href parameter is set to the URL, and the Target parameter is set to '_blank' to open the link in a new tab.
```razor
```
--------------------------------
### Blazor Event Handling
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Demonstrates standard Blazor event handling within components. The example shows how to bind a method to a button's OnClick event and how to pass parameters to the event handler when using a DropdownItem.
```razor
@code {
private void HandleClick()
{
// Handle the click event
}
}
@item.Name
```
--------------------------------
### Default Dropdown Menu in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-07-dropdown.md
This example demonstrates a default dropdown menu with a header, items, and a divider. It includes icons for each item and handles click events for profile, settings, and sign-out actions. The dropdown is created using the Dropdown component from Flowbite-Blazor.
```Razor
Bonnie Greenname@flowbite.comProfileSettings
Sign out
```
--------------------------------
### Navbar with Dropdown Menus and User Profile in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-08-navbar.md
This example demonstrates how to create a Navbar with dropdown menus for navigation items and a user profile dropdown for additional interactions using Flowbite-Blazor components. It includes components such as Navbar, NavbarBrand, Dropdown, Avatar, NavbarToggle, NavbarCollapse, NavbarLink, and DropdownItem.
```razor
Flowbite
Bonnie Greenname@flowbite.comDashboardSettingsEarningsSign out
HomeFeaturesAnalyticsAutomationReportsPricingResourcesDocumentationGetting StartedComponentsHelpSupportContact
```
--------------------------------
### Basic Tooltip Usage in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/Flowbite/nuget.md
Demonstrates basic usage of the Flowbite Tooltip component in a Blazor view. This example shows how to add a tooltip to a button.
```Razor
```
--------------------------------
### Running the DemoApp
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/CONTRIBUTING.md
This command navigates to the DemoApp directory and runs the application using the .NET SDK. This allows you to test and preview the Flowbite Blazor components in a live environment.
```bash
cd src/DemoApp
dotnet run
```
--------------------------------
### Basic Alert Usage in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/Flowbite/nuget.md
Demonstrates basic usage of the Flowbite Alert component in a Blazor view. This example shows how to set the color of the alert.
```Razor
This is an info alert!
```
--------------------------------
### Building the Flowbite Blazor Solution
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/CONTRIBUTING.md
This command builds the entire Flowbite Blazor solution using the .NET SDK. This compiles the code and prepares it for running or packaging.
```bash
dotnet build
```
--------------------------------
### Serving DemoApp as Static Website (PowerShell)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/CONTRIBUTING.md
This PowerShell script serves the DemoApp as a static website using the dotnet-serve tool. This allows you to test the packaged components locally.
```powershell
# Ensure you have the dotnet tool `dotnet-serve` installed.
cd dist\wwwwroot; dotnet serve
```
--------------------------------
### Multi-Level Sidebar Example in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-09-sidebar.md
This example demonstrates a multi-level sidebar with deep nested navigation, suitable for complex application hierarchies. It uses Sidebar, SidebarItem, and SidebarCollapse components to create a nested menu structure.
```razor
Dashboard
Profile
General
Permissions
Authentication
Encryption
Backup
Notifications
Help
```
--------------------------------
### Publishing DemoApp Locally (PowerShell)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/CONTRIBUTING.md
This PowerShell script packs the libraries and publishes the DemoApp to the .\dist directory. This is used for testing changes with local NuGet packages.
```powershell
.\publish-local.ps1
```
--------------------------------
### Button Examples
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx-orig.md
Demonstrates various button configurations using Flowbite Blazor, including default colored buttons, outline buttons with icons, loading state buttons, link buttons, and full-width buttons. It showcases the use of different colors, styles, and properties.
```Razor
```
--------------------------------
### Basic Breadcrumb Component Example in Blazor
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-04-breadcrumb.md
This example demonstrates how to create a basic breadcrumb component using Flowbite-Blazor. It includes a home icon and links to different pages. The Breadcrumb component is used to structure the breadcrumb, and BreadcrumbItem components are used for each individual item in the breadcrumb.
```Razor
Home
CategoryCurrent Page
```
--------------------------------
### Create Blazor WebAssembly Project
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Creates a new Blazor WebAssembly project and adds required NuGet packages. It uses the dotnet CLI to create an empty Blazor WASM project, then adds Flowbite and BlazorWasmPreRendering.Build packages.
```sh
# pwd is the {{PROJECT_DIR_ROOT}}
dotnet new blazorwasm --empty -o {{PROJECT_NAME}}
cd {{PROJECT_NAME}}
dotnet add package Flowbite --prerelease
dotnet add package BlazorWasmPreRendering.Build -v 5.0.0
cd ..
# pwd is the {{PROJECT_DIR_ROOT}}
```
--------------------------------
### Download Tailwind CSS CLI (Windows)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Downloads the Tailwind CSS command-line interface executable for Windows. It creates a 'tools' directory within the project and uses Invoke-WebRequest to download the executable from GitHub.
```sh
# pwd is the {{PROJECT_DIR_ROOT}}
cd {{PROJECT_NAME}}; mkdir {{PROJECT_NAME}}/tools; cd tools
Invoke-WebRequest -Uri https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.15/tailwindcss-windows-x64.exe -OutFile tailwindcss.exe -UseBasicParsing
cd ../..
# pwd is the {{PROJECT_DIR_ROOT}}
```
--------------------------------
### Download Tailwind CSS CLI (MacOS)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx.md
Downloads the Tailwind CSS command-line interface executable for MacOS. It creates a 'tools' directory within the project and uses curl to download the executable from GitHub, then sets execute permissions.
```sh
# pwd is the {{PROJECT_DIR_ROOT}}
cd {{PROJECT_NAME}} && mkdir {{PROJECT_NAME}}/tools && cd tools
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.15/tailwindcss-macos-arm64
chmod +x tailwindcss-macos-arm64
mv tailwindcss-macos-arm64 tailwindcss
cd ../..
# pwd is the {{PROJECT_DIR_ROOT}}
```
--------------------------------
### Configure .csproj file
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/04-quickstart.md
Configures the .csproj file for Flowbite, Tailwind CSS, and BlazorWasmPreRendering.Build, including setting properties for static site generation and Tailwind CSS execution.
```xml
{{leave as what the user has chosen}}enableenabletruefalsepostcss.config.jstailwind.config.js0.0.1-alpha.1truetrue
```
--------------------------------
### Scaffold Blazor Desktop App (Windows)
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-ctx-orig.md
Scaffolds a new desktop application using Blazor and Photino.NET with Flowbite Blazor templates. It installs the templates, creates a new project, downloads Tailwind CSS, and builds the project.
```PowerShell
dotnet new install Flowbite.Blazor.Templates
dotnet new flowbite-blazor-desktop -o {{PROJECT_NAME}};
cd {{PROJECT_NAME}}
mkdir .\src\{{PROJECT_NAME}}\tools -Force;
cd .\src\{{PROJECT_NAME}}\tools;
Invoke-WebRequest -Uri https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-windows-x64.exe -OutFile tailwindcss.exe -UseBasicParsing ;
cd ..\..\..
dotnet build
```
--------------------------------
### Cloning the Flowbite Blazor Repository
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/CONTRIBUTING.md
This command clones the Flowbite Blazor repository from GitHub to your local machine and navigates into the newly created directory. It's the first step in setting up the development environment.
```bash
git clone https://github.com/peakflames/flowbite-blazor.git
cd flowbite-blazor
```
--------------------------------
### Badge with icon only
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-03-badge.md
This example shows how to create a Badge component that only displays an icon, without any text. The Color parameter can be used to customize the appearance.
```razor
...
```
--------------------------------
### Badge as a link
Source: https://github.com/themesberg/flowbite-blazor/blob/develop/src/DemoApp/wwwroot/llms-docs/sections/01-03-badge.md
This example demonstrates how to use the Badge component as a hyperlink by setting the Href parameter. The Color parameter can still be used to customize the appearance.
```razor