Template repository/project for blzrtail (webkit).
  • HTML 55.4%
  • CSS 36.5%
  • C# 5.1%
  • JavaScript 2.4%
  • Dockerfile 0.6%
Find a file Use this template
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-14 21:20:18 +00:00
libs Update blzrtail library 2026-08-14 23:19:35 +02:00
src/Website Refactor page and layout components to use <WebKitContainer> for consistent structure and improved readability 2026-08-14 23:12:11 +02:00
.gitignore Add blzrtail as a git submodule 2026-08-14 22:45:25 +02:00
.gitmodules Add blzrtail as a git submodule 2026-08-14 22:45:25 +02:00
BlzrtailTemplate.sln Add _Imports.razor and AGB static page 2026-08-14 22:59:30 +02:00
BlzrtailTemplate.slnx Add _Imports.razor and AGB static page 2026-08-14 22:59:30 +02:00
README.md Update README.md 2026-08-14 21:20:18 +00:00

blzrtail Template

A template project for blzrtail (formerly known as WebKit) from Talaryon Labs. This template provides a foundation for building modern, responsive web applications using Blazor and the blzrtail framework.

Overview

blzrtail is a modern web application framework built on .NET and Blazor. It combines the power of Blazor with a comprehensive UI toolkit, including Tailwind CSS and DaisyUI, to help you build beautiful, responsive applications quickly.

Features

  • Pre-built Components: Ready-to-use components including navigation, layouts, buttons, cards, and more.
  • Tailwind CSS Integration: Utility-first CSS framework with DaisyUI for beautiful, responsive designs.
  • Modern UI Patterns: Hero sections, feature grids, contact forms, and other common web patterns.
  • Configuration Options: Easily configure metadata, navigation, and theming through clean C# code.
  • Blazor Server & WebAssembly Ready: Supports both interactive server and client-side rendering modes.
  • Responsive Design: Mobile-first approach with responsive breakpoints.

Getting Started

Prerequisites

Installation

  1. Clone this repository or use it as a template
  2. Open the solution in your IDE
  3. Restore NuGet packages: dotnet restore
  4. Install npm dependencies: npm install (in the Website directory)
  5. Build the CSS file: npx @tailwindcss/cli -i Styles/app.css -o wwwroot/css/app.generated.css --watch
  6. Run the application: dotnet run

Project Structure

blzrtail_template/
├── src/
│   └── Website/
│       ├── Components/
│       │   ├── Layout/           # Layout components (navbar, footer, main)
│       │   ├── Pages/           # Page components
│       │   └── App.razor         # Root component
│       ├── Styles/              # CSS and styling files
│       │   ├── app.css          # Main styles with theme configuration
│       │   ├── fonts.css        # Font configurations
│       │   └── variables.css    # CSS variables
│       ├── Properties/          # Launch settings
│       └── Program.cs           # Application configuration
└── BlzrtailTemplate.sln        # Solution file

Customization

Application Metadata

Edit Program.cs to configure your application name, title, description, and base URL:

webkit.Configure<WebKitMetaOptions>(options =>
{
    options.ApplicationName = "Your App Name";
    options.Title = "Your App Title";
    options.Description = "Your app description";
    options.Image = "assets/images/your-og-image.jpg";
    options.BaseUrl = "https://yourdomain.com";
});

Navigation

Configure navigation links in Program.cs:

webkit.Configure<WebKitNavBarOptions>(options =>
{
    options.Links = [
        new() { Text = "Home", Url = "/" },
        new() { Text = "About", Url = "/about" },
        new() { Text = "Contact", Url = "/contact" }
    ];
});

Styling and Theming

The template uses Tailwind CSS with DaisyUI for styling. Theme colors are configured in Styles/app.css. Customize the theme variables to match your brand:

@theme {
    --color-primary: #00a9a7;
    --color-secondary: #061827;
    /* ... other color variables */
}

DaisyUI themes can be configured as well:

@plugin "daisyui/theme" {
    name: "blzrtail-light";
    default: true;
    prefersdark: false;
    color-scheme: "light";
    /* ... theme colors */
}

Pages

Add new pages in the Components/Pages directory. Each page should use the @page directive and inherit from Talaryon.WebKit.WebKitPage.

CSS Development

The project uses Tailwind CSS. To build and watch for changes during development:

npx @tailwindcss/cli -i Styles/app.css -o wwwroot/css/app.generated.css --watch

Support

For questions or issues, please contact Talaryon Labs.

License

This template is provided as-is for educational and development purposes. Please refer to the license terms provided by Talaryon Labs for the blzrtail framework.