Skip to content
daisyBlazor

Steps

A daisyUI steps tracker for wizards, checkouts and timelines: a row (or column) of Step markers. Completed and Active give quick colours, Color and DataContent customise each marker.
Navigation.steps
Cover · <Steps>
  • Plan
  • Build
  • Staging
  • Production

Examples

Wizard

Derive Completed and Active from your current step; the markers update as you move.

  • Basket
  • Shipping
  • Payment
  • Confirm
website/Examples/Navigation/StepsWizardExample.razor Source

Colors and markers

Color sets step-success, step-error and so on; DataContent swaps the number for a symbol.

  • Build
  • Tests
  • Security scan
  • Staging
  • Production
website/Examples/Navigation/StepsColorsExample.razor Source

Vertical

Vertical stacks the steps in a column, handy in narrow side panels.

  • Create the account
  • Invite your team
  • Connect a repository
  • Deploy to production
website/Examples/Navigation/StepsVerticalExample.razor Source

API

<Steps>

DaisyBlazor

Parameters

  • Vertical bool
    = false

    When true, renders the steps vertically (adds the steps-vertical class). When false (default) the steps are rendered horizontally (steps-horizontal).

  • Class string
    = null

    Extra CSS classes added to the steps list.

  • Style string
    = null

    Inline styles applied to the steps list.

Content

  • ChildContent RenderFragment

    Child Step elements to render inside the steps list.

<Step>

DaisyBlazor

Parameters

  • Active bool
    = false

    Convenience shortcut: marks the step as the currently active step. Applies the same step-primary as Completed (daisyUI only colours the connector between same-colour steps, so the progress line reaches the current step) but keeps the numeric marker, and sets aria-current="step".

  • Color Color
    = Color.Default

    Semantic color applied to the step marker (e.g. Color.Primary adds step-primary). Defaults to Color.Default (no color modifier).

  • Completed bool
    = false

    Convenience shortcut: marks the step as completed by applying step-primary when no explicit Color is set, and a check-mark marker when no DataContent is set.

  • DataContent string
    = null

    Custom marker content placed in the data-content attribute. Use a single character or symbol (e.g. "✓", "?", "!"). When null the step uses its default numeric counter.

  • Class string
    = null

    Extra CSS classes added to the step item.

  • Style string
    = null

    Inline CSS style applied to the step item.

Content

  • ChildContent RenderFragment

    Label text or markup rendered inside the step item.

Something went wrong while running the docs. Reload