BlazingStory 1.0.0-preview.66

This is a prerelease version of BlazingStory.
dotnet add package BlazingStory --version 1.0.0-preview.66
                    
NuGet\Install-Package BlazingStory -Version 1.0.0-preview.66
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlazingStory" Version="1.0.0-preview.66" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazingStory" Version="1.0.0-preview.66" />
                    
Directory.Packages.props
<PackageReference Include="BlazingStory" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BlazingStory --version 1.0.0-preview.66
                    
#r "nuget: BlazingStory, 1.0.0-preview.66"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BlazingStory@1.0.0-preview.66
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BlazingStory&version=1.0.0-preview.66&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=BlazingStory&version=1.0.0-preview.66&prerelease
                    
Install as a Cake Tool

alternate text is missing from this package README image Blazing Story

tests NuGet Package Discord

πŸ“ Summary

The clone of "Storybook" for Blazor, a frontend workshop for building UI components and pages in isolation.

alternate text is missing from this package README image

The "Blazing Story" is built on almost 100% Blazor native (except only a few JavaScript helper codes), so you don't have to care about npm, package.json, webpack, and any JavaScript/TypeScript code. You can create a UI catalog application on the Blazor way!

In addition, Blazing Story also provides an MCP server feature. This allows Blazing Story to expose information about its components and stories to AI agents, enabling highly accurate code generation.

You can try it out from the live demonstration site at the following link: https://jsakamoto.github.io/BlazingStory/

πŸš€ Getting Started

Example scenario

For the example scenario, you already have a Blazor WebAssembly application project, "MyBlazorWasmApp1", that includes the "Button" component.

Blazing Story supports Blazor Server application projects as well as Blazor WebAssembly application projects.

πŸ“‚ (working directory)
    + πŸ“„ MyBlazorWasmApp1.sln
    + πŸ“‚ MyBlazorWasmApp1
        + πŸ“„ MyBlazorWasmApp1.csproj
        + ...
        + πŸ“‚ Components
            + πŸ“„ Button.razor
            + ...

Preparation

Close all Visual Studio IDE instances (if you use Visual Studio IDE), and install the "Blazing Story" project template with the following command. (This installation instruction is enough to execute once in your development environment.)

dotnet new install BlazingStory.ProjectTemplates

Creating a Blazing Story app and stories

Step 1 - Create a new Blazing Story app project

Open the solution file (.sln) with Visual Studio, and add a new "Blazing Story (WebAssembly App)" project from the project templates. (In this example scenario, we named it "MyBlazorWasmApp1.Stories")

alternate text is missing from this package README image

If you are working on a Blazor Server application project, you should add a new "Blazing Story (Server App)" project instead of the "Blazing Story (WebAssembly App)" project.

To use the MCP server feature, you need to add a new "Blazing Story (Server App)" project and check the "Enable the MCP server feature" checkbox in the project creation dialog.
Note that the MCP server feature is not available in the Blazing Story app when running on Blazor WebAssembly.

If you are working on dotnet CLI, you can do that with the following commands in a terminal.

Please remind again that this example scenario assumes that there is already a solution file (.sln) in the current directory with an existing Blazor WebAssembly app project.

# Create a new Blazing Story app
dotnet new blazingstorywasm -n MyBlazorWasmApp1.Stories
# Add the Blazing Story app project to the solution
dotnet sln add ./MyBlazorWasmApp1.Stories/

If you are working on a Blazor Server application project, you should run the dotnet new blazingstoryserver command.

To use the MCP server feature, you need to run the dotnet new blazingstoryserver -mcp command. Note that the MCP server feature is not available in the Blazing Story app when running on Blazor WebAssembly.

The file layout will be the following tree.

πŸ“‚ (working directory)
    + πŸ“„ MyBlazorWasmApp1.sln
    + πŸ“‚ MyBlazorWasmApp1
        + ...
    + πŸ“‚ MyBlazorWasmApp1.Stories
        + πŸ“„ MyBlazorWasmApp1.Stories.csproj✨ πŸ‘ˆ Add this
Step 2 - Add a project reference of the Blazor Wasm app to the Blazing Story project

Next, add a project reference in the Blazing Story App project "MyBlazorWasmApp1.Stories" that refers to the Blazor WebAssembly app project "MyBlazorWasmApp1".

alternate text is missing from this package README image

If you are working on dotnet CLI, you can do that with the following commands in a terminal.

dotnet add ./MyBlazorWasmApp1.Stories reference ./MyBlazorWasmApp1
πŸ“‚ (working directory)
    + πŸ“„ MyBlazorWasmApp1.sln
    + πŸ“‚ MyBlazorWasmApp1 <--- refers --+
        + ...                           |
    + πŸ“‚ MyBlazorWasmApp1.Stories ------+
        + ...
Step 3 - Add a "stories" file

Add a new "stories" file to the Blazing Story App project "MyBlazorWasmApp1.Stories".

A "stories" file is a normal Razor Component file (.razor), but it is annotated with the [Stories] attribute and includes a markup of the <Stories> component. There is no restriction on file layout of "stories" files, but usually, we place it in the "Stories" subfolder.

Currently, The file name of the "stories" files must end with ".stories.razor". This is a requirement of the naming convention for available the "Show code" feature in the "Docs" pages.

In this example scenario, we are going to write a "stories" for the Button component lived in the "MyBlazorWasmApp1" project, so we would add a new story file named "Button.stories.razor" in the "Stories" subfolder where is under the "MyBlazorWasmApp1.Stories" project.

πŸ“‚ (working directory)
    + πŸ“„ MyBlazorWasmApp1.sln
    + πŸ“‚ MyBlazorWasmApp1
        + ...
    + πŸ“‚ MyBlazorWasmApp1.Stories
        + πŸ“„ MyBlazorWasmApp1.Stories.csproj
        + πŸ“‚ Stories
            + πŸ“„ Button.stories.razor✨ πŸ‘ˆ Add this
Step 4 - Implement the "stories"

Implement a stories.

The "Button.stories.razor" would be like the below.

@using MyBlazorWasmApp1.Components
@attribute [Stories("Components/Button")]

<Stories TComponent="Button">

    <Story Name="Primary">
        <Template>
            <Button Label="Button" Primary="true" @attributes="context.Args" />
        </Template>
    </Story>

</Stories>
Step 5 - Run it!

If you are working on Visual Studio, right-click the "MyBlazorWasmApp1.Stories" project in the solution explorer to show the context menu, click the "Set as Startup Project" menu item, and hit the Ctrl + F5 key.

If you are working on dotnet CLI, you can do that with the following commands in a terminal.

dotnet run --project ./MyBlazorWasmApp1.Stories

Then you will see the clone of the "Storybook" built on Blazor! πŸŽ‰

alternate text is missing from this package README image

πŸ““ Documentation

For more details about Blazing Story, please refer to the following documentation site. You can access more advanced features of Blazing Story by reading the documentation.

πŸ“Œ System Requirements

.NET SDK ver.8 or later

πŸ™‡ Disclaimer

The "Blazing Story" is just my hobby work and a personal technical exhibition, so it is not an officially derived product from the "Storybook". I'd like to keep improving this product for now, but it might be abandoned if I cannot spend enough time on this product in the future. I welcome that somebody forks this product and organizes the maintainers for it.

From another perspective, the "Blazing Story" is an almost 100% Blazor-native application that re-implemented Storybook's look, behavior, and functionality to mimic it. However, this means that none of the Storybook community's contributions, numerous add-ins, and related services are available in the "Blazing Story".

Therefore, the combination of Blazor's WebComponents custom element and Storybook might be more promising for the future of UI component catalog solutions for Blazor application development than the "Blazing Story".

However, on the "Blazing Story" side, Blazor application developers can get a Storybook-like UI component catalog solution under the familiar .NET ecosystem without being annoyed by a complex JavaScript front-end development toolchain. This is the most important point I wanted to illustrate through the development of Blazing Story.

πŸ€” Frequently Asked Questions

Q: How can I write or configure addons?
A: You can't do that for now because the addon architecture is not completed yet. I'll finish it in the future version.

πŸŽ‰ Release Notes

Release notes are here.

⚠️ Attention

Assembly files of the Blazing Story app include the project file path string that the app was built as its metadata.

alternate text is missing from this package README image

If you need the path to the project should be secret, you may have to avoid using Blazing Story.

πŸ“’ License & Third Party Notice

Mozilla Public License Version 2.0

The third party notice is here.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BlazingStory:

Package Downloads
BlazingStory.McpServer

The clone of "Storybook" for Blazor, a frontend workshop for building UI components and pages in isolation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-preview.66 187 2/4/2026
1.0.0-preview.65 4,355 1/12/2026
1.0.0-preview.64 1,236 12/31/2025
1.0.0-preview.63 239 12/27/2025
1.0.0-preview.62 3,389 11/19/2025
1.0.0-preview.61 5,256 10/9/2025
1.0.0-preview.60 1,170 10/1/2025
1.0.0-preview.59 8,262 8/30/2025
1.0.0-preview.58 534 8/20/2025
1.0.0-preview.57 382 8/19/2025
1.0.0-preview.56 7,230 7/25/2025
1.0.0-preview.55 569 7/25/2025
1.0.0-preview.54 5,882 6/25/2025
1.0.0-preview.53 333 6/24/2025
1.0.0-preview.52 6,038 6/15/2025
1.0.0-preview.51 2,377 5/29/2025
1.0.0-preview.50 708 5/24/2025
1.0.0-preview.49 193 5/24/2025
1.0.0-preview.48 2,082 5/6/2025
1.0.0-preview.47 6,506 3/30/2025
1.0.0-preview.46 1,562 3/20/2025
1.0.0-preview.45 7,932 2/22/2025
1.0.0-preview.44 538 2/20/2025
1.0.0-preview.43 1,422 2/15/2025
1.0.0-preview.42 9,295 1/23/2025
1.0.0-preview.41 14,013 9/27/2024
1.0.0-preview.40 8,428 8/9/2024
1.0.0-preview.38 219 8/7/2024
1.0.0-preview.37 22,763 5/16/2024
1.0.0-preview.36 2,695 5/13/2024
1.0.0-preview.35 3,050 4/26/2024
1.0.0-preview.34 654 4/16/2024
1.0.0-preview.33 159 4/6/2024
1.0.0-preview.32 215 4/3/2024
1.0.0-preview.31 167 3/28/2024
1.0.0-preview.30 9,880 2/26/2024
1.0.0-preview.28 160 2/25/2024
1.0.0-preview.27 150 2/24/2024
1.0.0-preview.26 142 2/23/2024
1.0.0-preview.25 150 2/17/2024
1.0.0-preview.24 183 2/12/2024
1.0.0-preview.23 125 2/11/2024
1.0.0-preview.22 2,412 2/10/2024
1.0.0-preview.21 134 2/8/2024
1.0.0-preview.20 252 1/31/2024
1.0.0-preview.19 138 1/27/2024
1.0.0-preview.18 22,228 9/7/2023
1.0.0-preview.17 211 8/25/2023
1.0.0-preview.16 236 8/24/2023
1.0.0-preview.15 166 8/16/2023
1.0.0-preview.14 7,162 8/11/2023
1.0.0-preview.13 272 7/30/2023
1.0.0-preview.12 3,721 7/15/2023
1.0.0-preview.11 223 7/15/2023
1.0.0-preview.10 203 7/12/2023
1.0.0-preview.9 726 7/1/2023
1.0.0-preview.8 223 6/29/2023
1.0.0-preview.7 206 6/28/2023
1.0.0-preview.6 326 5/17/2023
1.0.0-preview.5 220 5/14/2023
1.0.0-preview.4 243 5/8/2023
1.0.0-preview.3.2 219 5/4/2023
1.0.0-preview.3.1 243 5/3/2023
1.0.0-preview.3 241 4/30/2023
1.0.0-preview.2.2 221 4/30/2023
1.0.0-preview.2.1 342 3/26/2023
1.0.0-preview.2 208 3/26/2023
1.0.0-preview.1.3 216 3/21/2023
1.0.0-preview.1.2 244 3/18/2023
1.0.0-preview.1.1 226 3/15/2023
1.0.0-preview.1 241 3/14/2023

v.1.0.0-preview.66
- Fix: Split view resizing doesn't work on recent browser versions.


To see all the change logs, please visit the following URL.
- https://github.com/jsakamoto/BlazingStory/blob/main/RELEASE-NOTES.txt