Thank you for the positive feedback the Visual Menu received. I have updated the component with an additional feature that was recently requested. A new attribute is now available that allows you to adjust the size of the button! This attribute allows you the specify the pixel size of the box.
Example:
Box Size: 125
Box Size: 150
Box Size: 200
Box Size: 250
Here is the code:
visualNav.html
visualNav.js
visualNav.js-meta.xml
Upcoming Features
Better accessibility
Ability to use custom icons
Hi
It looks like there is a bug and the icons are not aligned to the left instead of the center?
This started in all flows we have with this component, can you help?
Would be possible to use any other image instead of these icons?
Hey Chris this has been great I updated my version of this from your original code to accept a custom icon using an image URL that is passed via a string collection more than happy to share it's really easy and it has been great.
Thank you for the feedback Rowan! I have been a bit distracted due to COVID-19 but things are settling down. I will investigate the bug you reported and a few new features (such as adjusting the text size)
Thanks for this, Chris. I am loving it so far.
For anyone that happens to come across this and is unable to get it deployed, a packaged version is available here: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t6g000006f1ej
A couple of things for Chris:
1. When attempting to use a standard:close (or similar) icon, regardless of the size or shape, it appears as though the icon is placed out of alignment (the icon appears below and to the right of where it should be)
2. It would be awesome to be able to specify the text size for the label ( xsmall,small, medium etc) as right now, it's hard to come up with text label descriptions that allow the icons to stay in alignment with each…