Custom Buttons

Customise the label and icons on every tour button.

Custom Buttons

Pass a ButtonConfig object to any of the four button props to change its label and icons:

  • next-buttonnextButton
  • skip-buttonskipButton
  • prev-buttonprevButton
  • finish-buttonfinishButton

ButtonConfig props

labelstring
Button label text.
leftIconstring
Icon name displayed to the left of the label.
rightIconstring
Icon name displayed to the right of the label.
Icon names
Any icon from Icones is supported. Copy the full icon name including the collection prefix (e.g. heroicons:arrow-right).