Itemzen.GridStack.Blazor 12.4.0-r2

Suggested Alternatives

Nomanova.GridStack.Blazor 13.2.0-r1

Additional Details

The repository of this package was migrated from the itemzen organization to the nomanova organization on github (see https://github.com/nomanova/gridstack-blazor). As a result, this package is no longer published using package id Itemzen.GridStack.Blazor but Nomanova.GridStack.Blazor. You can keep using this package id till you upgrade to a more recent version.

This is a prerelease version of Itemzen.GridStack.Blazor.
dotnet add package Itemzen.GridStack.Blazor --version 12.4.0-r2
                    
NuGet\Install-Package Itemzen.GridStack.Blazor -Version 12.4.0-r2
                    
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="Itemzen.GridStack.Blazor" Version="12.4.0-r2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Itemzen.GridStack.Blazor" Version="12.4.0-r2" />
                    
Directory.Packages.props
<PackageReference Include="Itemzen.GridStack.Blazor" />
                    
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 Itemzen.GridStack.Blazor --version 12.4.0-r2
                    
#r "nuget: Itemzen.GridStack.Blazor, 12.4.0-r2"
                    
#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 Itemzen.GridStack.Blazor@12.4.0-r2
                    
#: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=Itemzen.GridStack.Blazor&version=12.4.0-r2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Itemzen.GridStack.Blazor&version=12.4.0-r2&prerelease
                    
Install as a Cake Tool

Itemzen.GridStack.Blazor

Blazor wrapper for the gridstack.js library.

Credits go to the BlazorGridStack project, from which this wrapper took inspiration.

Installation

NuGet

dotnet add package Itemzen.GridStack.Blazor

The version of the nuget package matches the gridstack version against which the wrapper was created, including a version suffix indicating the wrapper release number. For example, v10.1.0-r2 indicates the second release of the wrapper for version 10.2.0 of the gridstack library.

Note that it is in general fine to use/include a different (minor) gridstack version in your project, especially bugfix releases, but if things don't work as expected it might be best to try and match the gridstack version exactly.

index.html

Download the gridstack files from npm

npm install --save gridstack

Copy the relevant files over from the node_modules/gridstack/dist to your Blazor project

wwwroot/lib/gridstack-all.js
wwwroot/lib/gridstack.min.css

Add the following lines in wwwroot/index.html

<head>
    ...
    <link href="lib/gridstack.min.css" rel="stylesheet" />
</head>
<body>
    ...
    <script src="lib/gridstack-all.js"></script>
</body>

Imports

Add a reference to the relevant namespace in the top-level _Imports.razor file of your project

@using GridStack.Blazor

Usage

The wrapper adds two components: GsGrid and GsWidget.

<GsGrid Options="...">
    <GsWidget Options="...">
        <div>The widget layout</div>
    </GsWidget>
</GsGrid>

The widgets can be added to the grid using markup (as shown above), or programatically using the GsGrid API.

The demo project contains additional details.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.4.0-r2 289 4/20/2026 12.4.0-r2 is deprecated.
12.4.0-r1 97 4/4/2026
10.2.0-r1 6,787 6/12/2024
10.1.0-r2 201 4/24/2024
10.1.0-r1 110 4/23/2024