Customize Tools

Introduction to Tools

Enable / Disable Tools #

mailui.init({ tools: { column: { enabled: true, icon: () => <span>♥</span>", label: "Column", position: 4, badges: [ { label: 'Pro', variant: 'warning' // dark | info | warning | error | success } ] }, ... } });

Available Tools #

These are the tools currently accessible for viewing.
row column heading text button html image video socialIcon divider spacer icons card countdown menu carousel

Available Tool Options #

It needs some configuration options which are explained below:
PropertyDescriptionType
enabledBy default trueboolean
labelLabel that users see in the side panelstring
iconIcon that users see in the side panel. The value can be string or ReactNodestring | ReactNode
positionOptionally, you can specify the position you want the tool to appear onnumber
badgesOptionally, you can add badge to each tools, badge object {label: 'Pro', variant: 'warning'}array

Badge Options #

It needs some configuration badge options which are explained below:
PropertyDescriptionTypeDefault
labelLabel that visible in badgestring
variantDifferent styles of badges for displaying various statuses or labels.dark | info | warning | error | successwarning

Explore Our Email Builder