Skip to content

POWER Mini Icon Module

How to configure the Mini Icon module for POWER Pro theme in HubSpot

icon-module-mini-icon

MINI ICON

Mini but mighty, this icon module gives you the flexibility to add an icon to create your own section layouts.

mini-icon-example-layout

Page Speed Impact

LOW

Adding the Mini Icon to your pages will not have a significant impact on page speed when using the "Icon" setting.

Low impact for "Image" setting when properly sized and compressed.

MEDIUM

Can cause an increase in page load speed based on file type/size of the image when using the "Image" setting.

Using Lottie Animations can also increase the load time for the page.

TIPS

Vector images (SVG) help keep file sizes to a minimum and are best for icons.

Convert images to WebP where possible to meet criteria to serve images in next-gen format.

To reduce image file sizes without losing quality, use TinyPNG to compress your images (JPG, PNG, WebP).

FAQ

What is the difference between a Mini Icon and HubSpot Icon?

The POWER Mini Icon module has more styling options and flexibility built-in.

Module Options

Icon

Configure the Icon settings here, the Layout setting for Icon Type ↓ has to match the settings configured.

Icon > Icon

To select an icon from the included icon library, set the Fontawesome Icon Variant to Fontawesome Icon (FREE).

If you have a Font Awesome Pro account and would like to use a custom icon library, select Fontawesome Icon (PRO).

fontawesome-icon-variant-setting-free-vs-pro

Icon > Icon > Fontawesome Icon (FREE)

Click Select icon to open the included library (v 5.0.10):

select-icon-fontawesome-free-variant

Once selected, you have the option to Replace or Remove the Icon:

replace-remove-icon-hubspot-module

Icon > Icon > Fontawesome Icon (PRO)

Paste the icon class from your Font Awesome Pro library:

fontawesome-pro-icon-class

Make sure you've completed the initial configuration for FontAwesome Pro, if you limit the URL to your website will cause the icons to not display in the page editor.

Icon > Icon Image

Upload a custom image to use as an Icon.

upload-custom-icon-image

Once uploaded, you have the option to Replace or Remove the Icon: 

custom-icon-alt-text

You can also modify the Alt Text for your image; the default will be the file name.

Icon > Lottie File

Configure the settings for the animation.

icon-lottie-file-settings

Icon > Lottie File > Lottie Asset Link

Add the JSON link from your Lottie Account (how to get the Lottie File link):

lottie-asset-link-json-animation-setting

⚠️ When the Lottie File is added to the page, it will show a blank space. The animation is only visible on the preview page or live page.

Icon > Lottie File > Layout > Max Width

The default Max Width is set to 20px, adjust this accordingly to work with your layout:

Screenshot 2023-10-15 at 8.11.22 AM

Icon > Lottie File > Lottie Player Settings

The animation is set to Autoplay and Loop by default.

lottie-player-settings-module-animations

Autoplay: uncheck the box to require click interaction to start the animation.

Speed: the default is 1, setting speed to less than 1 will make it slower and greater than 1 will make it faster.

Loop: uncheck the box to play the animation only once, otherwise the animation will loop. The default is to loop indefinitely.

Countdefines the number of times to loop the animation. Setting the count property to 0 and keeping Loop checked, loops the animation indefinitely.

Intermission: the duration to pause before playing each cycle in a looped animation. Set this parameter to 0 (no pause) or any positive number.

Hover: check the box to play the animation when the user hovers the mouse over the icon.

Background Color: the default setting is set to transparent so the animation inherits the background from the module or section. Select a hex value to change the background color and set the transparency percentage to greater than 0% to make it visible.

Controls: displays player controls.

Layout > Icon Type

Choice of Icon, Image, or Lottie File, this must match what you've configured in the Icon setting to work properly.

To use FontAwesome or FontAwesome Pro icons, select Icon. If you want to upload a custom icon (preferably SVG) change to Image. For animated icons, set to Lottie File (requires account).

Layout > Alignment

Specify the alignment of the icon within the section and/or column. Choices are Left (default), Center, and Right.

Layout > Margin Top, Margin Bottom, Margin Right, Margin Left

Individual settings for margin can be set in pixels, the default is 0px. Refer to Settings that apply to all Mini Modules for more details about using margin and padding to style a section and/or column.

Style > Icon Style

Choice of Circle (default), Square, or No Background. Only works for icons from the icon library, not custom images.

Style > Color Scheme

Choice of Light, Dark, or Primary. 

Primary uses the primary color as defined in your theme settings. 

Tip: If you change the background color for the module, the definition of Light Color scheme is a light background with dark text and Dark Color scheme is a dark background with light text.

Style > Background Color

Ability to define a custom background color using a Hex code or the Color Picker tool.

If you are using a custom background, Color Scheme must be set to Light or Dark, this option will not override Primary.

Style > Icon Size

Ability to set the size of the icon from 0 - 100 pixels.

Tip: It is generally not recommended to set this lower than 16 px to ensure the icon remains legible.

Style > Icon Color

Ability to define a custom icon color using a Hex code or the Color Picker tool. Can be used in combination with any Icon Style or Background Color.

Style > Padding Top/Bottom and Padding Left/Right

Ability to define padding in pixels equally to the top and bottom and/or left and right of the icon.

Animation

Checkbox to turn on/off Animate on Scroll. Turning off here will only apply to this module, to turn animation off globally refer to Theme Options for Animations.

Ability to change the Animation Type and Delay for the Icon.

Configurations

Circle Mini Icon

mini-icon-circle

Icon > Icon

Rocket icon from Icon Library

Style > Icon Style

Circle

Style > Color Scheme

Primary

Square Mini Icon

mini-icon-square

Icon > Icon

Rocket icon from Icon Library

Style > Icon Style

Square

Style > Color Scheme

Primary

Mini Icon - No Background

mini-icon-no-background

Icon > Icon

Rocket icon from Icon Library

Style > Icon Style

No Background

Style > Color Scheme

Light

Style > Icon Color

Custom (to match Primary)

Image Icon

mini-icon-custom-image

Icon > Icon Image

Custom Rocket added as SVG

3D Image Icon

mini-icon-3d-image

Icon > Icon Image

Custom Image added as WebP

Lottie File Animation Icon

lottie-animation-mini-icon-layout-example

Layout > Lottie File

Lottie JSON

Icon > Lottie File > Layout > Max Width

200px

Icon > Lottie File > Lottie Player Settings

Autoplay checked

Speed = 1

Loop checked

Count = 0

Intermission = 0ms

Hover unchecked

Background Color = transparent (#fff with 0%)

Controls unchecked

DESIGN SOMETHING COOL WITH THIS POWER MODULE?

Share it with us!

NEVER MISS A POWER UPDATE

We are continuously improving our modules and updating our documentation. Stay in the loop.