Mobbeel for developers

Mobbeel for developers

  • MobbScan
  • MobbID
  • MobbSign
  • Clients
  • FAQ

›Customize UI

MobbSign Web SDK

  • Overview
  • Integrate via NPM
  • Configure

Usage

  • Load a document
  • Sign a document
  • Finish the process
  • Error handling
  • Listening events

Customize UI

  • Customize action buttons
  • Customize signature stroke
  • Adding languages

Help

  • API reference
  • Changelog
  • Migration guides

Customize toolbar action buttons

Since version 1.0.1 it's possible to customize the appearance of the sign, dismiss, commit and finish buttons on the header toolbar.

To achieve this, you need to define a customization object into the MobbSign configuration object, with the following structure:

const config = {
  // Rest of parameters
  customization: {
    signButton: { color: '#90EE90' },
    confirmButton: { theme: 'primary' },
    discardButton: { theme: 'danger', color: 'FF0000' },
    doneButton: { color: '#4B0082' }
  }
};

new MobbSign(config).then(mobbsign => {
  console.log("This is my initialized MobbSign instance", mobbsign);
});

Parameters

ParameterAttributesDescription
signButtontheme or colorCustomize sign button appereance
confirmButtontheme or colorCustomize Confirm signature button
discardButtontheme or colorCustomize Discard signature button
doneButtontheme or colorCustomize Finish button

theme vs color

theme

MobbSign Web offers a list of predefined themes that can be chosen to customize the appearance of each button.

Predefined themes are:

ThemeButton appearance (icon and label)Button appearance (pressed)Description
primaryprimaryprimary-hoverBlue theme
successsuccesssuccess-hoverSuccess green theme
warningwarningwarning-hoverWarning yellow theme
dangerdangerdanger-hoverDanger red theme
lightlightlight-hoverLight theme
darkdarkdark-hoverDark theme
infoinfoinfo-hoverLight blue theme

color

If none of the predefined themes fit your needs or you want to use a custom color, you can use the color attribute to define the color of the button icon and label. color must be specified in HEX format.

The button background color when it's clicked or hovered over is calculated from the indicated color, applying a lightening algorithm.

theme attribute predominates over color attribute. If you fill both, theme value will be used.

An example

The indigo color (#4B0082) is used to customize the finish button:

  customization: {
    doneButton: { color: '#4B0082' }
  }

The results are:

Button appearance (icon and label)Button appearance (pressed)Description
custom-colorcustom-color-hoverindigo colored finish button
← Listening eventsCustomize signature stroke →
  • Parameters
  • theme vs color
    • theme
    • color
Mobbeel for developers
Product Documentation
MobbIDMobbScanMobbSign
Connect
LinkedInFacebookX
More
FAQContact Us
Mobbeel Solutions SL
Copyright © 2025 Mobbeel Solutions SL