DevactionUI.Steps (devaction_ui v0.1.0)

Copy Markdown View Source

A row of steps with connectors: done (ink, with a check), the current one (amber ring) and those still to come (a thin outline). current counts from 1; the labels are the caller's text.

Summary

Functions

steps(assigns)

Attributes

  • labels (:list) (required)
  • current (:integer) (required)
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • done_icon - replaces the typographic ✓ of a finished step.