Button or in general anchor links are used in web design to redirect users to another page or to the different content of the same page.
Buttons are used amazingly nowadays. There are so many use cases of buttons or anchor links besides shifting users to a different page like open popup, scroll to other elements, add a product to cart and many more.
How to use the Button block of The Plus Addons For Gutenberg
The Button block comes with multiple functions. Let’s understand how to use this block in the tutorial below.
Gutenberg gives multiple ways to add a Button to the content building area or we say playground. Check for the “+” icon in the top toolbar or click the “+” icon in the content area or start typing Button after “/” sign, eg.“/Button”, in the content area. Gutenberg also provides drag & drop after opening the list of blocks panel.
After placing the block you’ll see three tabs on the right editing panel containing “Layout”, “Style” and “Advanced”. Go and start with the Layout tab.
Select Style ⭐
Select your preferred layout for the button here. We provide tons of them.
An input to add the title text for the button.
A destination page URL for the button when clicked.
Align button text in the left, center or right direction from here.
A selection for icons, whether you want it or not.
On selection of Icon in the previous dropdown, you’ll be displayed a whole list of icons provided by the FontAwesome icon library. If you have purchased licence for the pro plan and activation has been done then you’ll be able to use pro icons too.
The Style tab is used for customizing the appearance of all the Button components. All these styling options include customizing the fonts, colors, background, margins and padding which are common across all the blocks. So, we have created a single detailed article explaining these Styling Options.
View The Style Tab Article
Assign a size, weight, spacing and much more to fonts.
A color picker to assign a suitable color to the text.
A color picker to assign a suitable color to the button icon.
Apply suitable background like color/ gradient to the button text.
Draw a border around the text and give width and color to it.
Set the radius curve of the button’s corner.
Give Box/Text/Drop shadow effect and color to button.
Put in some inner space to an element.
Set icon before/ after button text.
Manage space between icon and heading text.
Manage icon size from here.
Interval Shake ⭐
Enabling interval shake effect, the button will have a shaking kind of animation.
Interval Shake Duration ⭐
Button will have shake animation after this many seconds repeatedly.
Content Hover Effect ⭐
Option for Enable Hover Effect.
Select Effect ⭐
Select your preferred effect using the dropdown. We give so many effects to blow your mind.
Shadow Color (Float Shadow/Grow Shadow/Shadow Radial) ⭐
A color picker to assign a suitable color to the shadow.