Step indicator component for PDF documents.
Renders numbered steps with a connecting line, showing progress through a multi-step process (wizard-style).
Examples
doc |> Pdf.Component.StepIndicator.render({50, 700}, %{width: 450}, [
%{label: "Account", status: :completed},
%{label: "Profile", status: :active},
%{label: "Review", status: :pending},
%{label: "Done", status: :pending}
])
Summary
Functions
Render a step indicator at {x, y}.
Functions
Render a step indicator at {x, y}.
Style options
:width— total width (default400):step_size— circle diameter (default24):completed_color— completed step color:active_color— active step color:pending_color— pending step color:font— font name
Steps format
List of maps: %{label: "Step name", status: :completed | :active | :pending}