Steps

DSteps is the steps list; each DStepItem gets its bullet color from the Color parameter. The connector takes the color of the step it leaves from.

Basic
  • Buy ticket
  • Check in
  • Board
  • Arrive
<DSteps Class="w-full max-w-lg">
    <DStepItem Color="DaisyColor.Primary">Buy ticket</DStepItem>
    <DStepItem Color="DaisyColor.Primary">Check in</DStepItem>
    <DStepItem>Board</DStepItem>
    <DStepItem>Arrive</DStepItem>
</DSteps>
Colors
  • Cancelled
  • Pending
  • Processing
  • Done
<DSteps Class="w-full max-w-lg">
    <DStepItem Color="DaisyColor.Error">Cancelled</DStepItem>
    <DStepItem Color="DaisyColor.Warning">Pending</DStepItem>
    <DStepItem Color="DaisyColor.Info">Processing</DStepItem>
    <DStepItem Color="DaisyColor.Success">Done</DStepItem>
</DSteps>
Vertical— Orientation.Vertical
  • Account created
  • Profile filled
  • Email verified
  • Newsletter opted in
<DSteps Orientation="DaisyOrientation.Vertical" Class="w-56">
    <DStepItem Color="DaisyColor.Primary">Account created</DStepItem>
    <DStepItem Color="DaisyColor.Primary">Profile filled</DStepItem>
    <DStepItem Color="DaisyColor.Primary">Email verified</DStepItem>
    <DStepItem>Newsletter opted in</DStepItem>
</DSteps>

API

DSteps

Parameters

Name Type Default Binding Description
Orientation DaisyOrientation Auto — Direction of the step progression. Auto emits no class.
AutoVerticalHorizontal
ChildContent RenderFragment — — The steps ( DStepItem children).
Class string — — Additional CSS classes appended to the component's computed daisyUI classes.
Style string — — Inline styles applied to the root element.
DStepItem

Parameters

Name Type Default Binding Description
Color DaisyColor Default — Color of the step bullet and connector (e.g. step-primary ).
DefaultPrimarySecondaryAccentInfoSuccessWarningErrorGhostNeutral
ChildContent RenderFragment — — The step label and/or icon markup.
Class string — — Additional CSS classes appended to the component's computed daisyUI classes.
Style string — — Inline styles applied to the root element.
Connection lost — reconnecting…
Connection failed.
The server has stopped.