Soenneker.Quark.Steps 3.0.34

Prefix Reserved
dotnet add package Soenneker.Quark.Steps --version 3.0.34
                    
NuGet\Install-Package Soenneker.Quark.Steps -Version 3.0.34
                    
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="Soenneker.Quark.Steps" Version="3.0.34" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Quark.Steps" Version="3.0.34" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Quark.Steps" />
                    
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 Soenneker.Quark.Steps --version 3.0.34
                    
#r "nuget: Soenneker.Quark.Steps, 3.0.34"
                    
#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 Soenneker.Quark.Steps@3.0.34
                    
#: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=Soenneker.Quark.Steps&version=3.0.34
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Quark.Steps&version=3.0.34
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Quark.Steps

A comprehensive Blazor component library for step indicators and navigation.

Installation

dotnet add package Soenneker.Quark.Steps

Features

  • Step Navigation: Clickable steps with built-in navigation
  • State Management: Automatic step state tracking and management
  • Custom Markers: Support for custom step markers and icons
  • Content Areas: Separate content panels for each step
  • Render Modes: Default, lazy load, and lazy reload rendering options
  • Color Theming: Built-in color support for step styling
  • Navigation Control: Optional navigation validation and control
  • Responsive Design: Works across different screen sizes

Components

Steps

The main container component that manages step state and navigation.

<Steps @bind-SelectedStep="currentStep">
    <Step Name="step1" Caption="@(() => "Personal Information")" />
    <Step Name="step2" Caption="@(() => "Contact Details")" />
    <Step Name="step3" Caption="@(() => "Review")" />
</Steps>

Step

Individual step component with customizable markers and content.

<Step Name="step1" Color="Color.Primary" Completed="true">
    <Marker>
        <svg></svg>
    </Marker>
    <Caption>Step Title</Caption>
</Step>

StepPanel

Content panel that displays when its corresponding step is active.

<StepPanel Name="step1">
    <h3>Step Content</h3>
    <p>This content shows when step1 is selected.</p>
</StepPanel>

StepContent

Separate content area that can be placed anywhere on the page.

<StepContent @bind-SelectedPanel="selectedPanel">
    <StepPanel Name="info">Information content</StepPanel>
    <StepPanel Name="settings">Settings content</StepPanel>
</StepContent>

Examples

Basic Steps with Navigation

<Steps @bind-SelectedStep="currentStep">
    <Step Name="step1" Caption="@(() => "Step 1")" />
    <Step Name="step2" Caption="@(() => "Step 2")" />
    <Step Name="step3" Caption="@(() => "Step 3")" />
</Steps>

<button @onclick="() => currentStep = 'step2'">Go to Step 2</button>

Steps with Content Areas

<Steps SelectedStep="activeStep">
    <Items>
        <Step Name="info" Caption="@(() => "Information")" />
        <Step Name="settings" Caption="@(() => "Settings")" />
    </Items>
    <Content>
        <StepPanel Name="info">
            <h3>Information Panel</h3>
            <p>Step content here</p>
        </StepPanel>
        <StepPanel Name="settings">
            <h3>Settings Panel</h3>
            <p>Settings content here</p>
        </StepPanel>
    </Content>
</Steps>

Custom Markers

<Steps>
    <Step Name="step1">
        <Marker>
            <svg width="16" height="16" viewBox="0 0 24 24">
                <path d="M12 2L2 7L12 12L22 7L12 2Z" fill="currentColor"/>
            </svg>
        </Marker>
        <Caption>Custom Step</Caption>
    </Step>
</Steps>
<Steps SelectedStep="currentStep" NavigationAllowed="@ValidateNavigation">
    <Step Name="step1" Caption="@(() => "Step 1")" />
    <Step Name="step2" Caption="@(() => "Step 2")" />
</Steps>

@code {
    private bool ValidateNavigation(StepNavigationContext context)
    {
        // Custom validation logic
        return context.NextStepIndex > context.CurrentStepIndex || 
               CanGoBackward(context.NextStepIndex);
    }
}

Properties

Steps Properties

  • SelectedStep - Currently selected step name
  • RenderMode - How steps content is rendered (Default, LazyLoad, LazyReload)
  • NavigationAllowed - Function to validate step navigation
  • Items - Template for step items
  • Content - Template for step content panels

Step Properties

  • Name - Unique identifier for the step
  • Index - Override the step index
  • Completed - Mark step as completed
  • Color - Step color theme
  • Marker - Custom marker content
  • Caption - Step title/caption content

StepPanel Properties

  • Name - Must match corresponding step name
  • ChildContent - Panel content

License

MIT License - see LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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 Soenneker.Quark.Steps:

Package Downloads
Soenneker.Quark.Suite

The entire suite of Quark elements, all in one library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.34 0 9/19/2025
3.0.33 0 9/19/2025
3.0.32 0 9/19/2025
3.0.31 14 9/19/2025
3.0.30 43 9/19/2025
3.0.29 53 9/19/2025
3.0.28 66 9/18/2025
3.0.27 68 9/18/2025
3.0.26 66 9/18/2025
3.0.25 118 9/18/2025
3.0.24 79 9/18/2025
3.0.23 69 9/18/2025
3.0.22 99 9/18/2025
3.0.21 68 9/17/2025
3.0.20 92 9/17/2025
3.0.19 91 9/17/2025
3.0.18 97 9/17/2025
3.0.17 74 9/17/2025
3.0.16 71 9/17/2025
3.0.15 73 9/17/2025
3.0.14 73 9/17/2025
3.0.13 78 9/17/2025
3.0.12 76 9/17/2025
3.0.11 77 9/17/2025
3.0.10 76 9/17/2025
3.0.9 79 9/16/2025
3.0.8 81 9/16/2025
3.0.7 82 9/16/2025
3.0.6 79 9/16/2025
3.0.5 82 9/15/2025
3.0.4 79 9/15/2025
3.0.3 82 9/15/2025
3.0.2 436 9/13/2025
3.0.1 86 9/13/2025