BinarCode / vue-form-wizard

Vue.js 2 wizard
https://binarcode.github.io/vue-form-wizard/#/
MIT License
1.11k stars 243 forks source link

Dont Want Icons #326

Open hamzaafzal9009 opened 4 years ago

hamzaafzal9009 commented 4 years ago

Is there any way to hide icons and place text instead of icon?

SlyDave commented 4 years ago

You can set icon to nothing, and it'll place the step number in it. <tab-content title="Selection" icon=""> image

Or you can replace the entire step markup:

      <template slot="step" scope="props">
        Testing
      </template>

if doing this take note there are some scoped props you can use; see: https://binarcode.github.io/vue-form-wizard/#/?id=step-slot

The base template uses the wizard-step component:

<template slot="step" scope="props">
        <wizard-step :tab="props.tab"
        :transition="props.transition"
        :index="props.index">
        </wizard-step>
</template>
avambro commented 4 years ago

@hamzaafzal9009 have you found any solution ?

dohahelmy commented 4 years ago

For icons use background image for both wizard-icon-circle and wizard-icon-container to include the icon in. I used svg icon and it worked.

duongtdvn commented 4 years ago

For icons use background image for both wizard-icon-circle and wizard-icon-container to include the icon in. I used svg icon and it worked.

did you mean the css?

dohahelmy commented 4 years ago

did you mean the css?

Yes. apply new CSS styles and it will solve the problem

mathipa commented 2 years ago

wizard-icon-circle

@duongtdvn could you please share the code or repo.