Skip to content

Stepper: Add class for each step's icon #4059

@ahoiroman

Description

@ahoiroman

Description

Hello everybody,

I'd love to see one feature:

The stepper can - at the moment - have a custom icon for each step. It would be super cool to allow each step to define it's own css class that is applied to the icon. This way, one could - for example - spin an icon to indicate that this step is currently worked on, while other steps do not spin, as they have not been started yet or have been finished already.

So maybe it would be possible like this:

 return {
    title:'foo',
    description: 'bar',
    icon: 'i-lucide-refresh-cw',
    class: 'animate-spin'
  }

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions