Button

Button or in general anchor links are used in web design to redirect user to another page or to a different content of the same page.

Buttons are used amazingly now a days. There are so many use cases of buttons or anchor links besides shifting user to different page like open popup, scroll to other element, add product to cart and many more.

Pro tip
Buttons are easy to track, use it for user engagement tracking purpose.

Configuration for Button

Most important thing for button is it’s attractive UI. No user will get attracted to any basic looking link and will click on it. Animation and relative looking UI for buttons are basic factors to engage the user to use it’s functionality.

Table Of Contents

Setting up

Gutenberg gives multiple ways to add button 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 widgets panel.

After placing the widget you’ll see three tabs on the right editing panel containing “Layout”, “Style” and “Advanced”. Go and start with the Layout tab.

1. Layout

Content

Select Style

Select your preferred layout for button here. We provide a tons of them.

Title

An input to add the title text for the button.

Link

A destination page URL for button when clicked.

Layout

Alignment

Align button text in left, centre or right direction from here.

Icon

Icon Type

A selection for icon, whether you want it or not.

Select Icon

On selection of Icon in previous drop down, you’ll be displayed whole list of icons provided by the FontAwesome icon library. If you have purchased licence for pro plan and activation has been done then you’ll able to use pro icons too.

2. Style

The Style tab is used for customising the appearance of all the Button components. All these styling options include customising the fonts, colors, background, margins and padding which are common across all the widgets. So, we have created a single detailed article explaining these Styling Options.

View The Style Tab Article

Button

Typography

Assign size, weight, spacing and much more to fonts.

Text Color

A color picker to assign suitable color to the text.

Icon Color

A color picker to assign suitable color to the button icon.

Background

Apply suitable background like color/ gradient to the button text.

Border

Draw a border around the text and give width and color to it.

Border Radius

Set the radius curve of the button’s corner.

Box Shadow

Give Box/Text/Drop shadow effect and color to button.

Padding

Put-in some inner space to an element.

Icon

Icon Position

Set icon before/ after button text.

Icon Spacing

Manage space between icon and heading text.

Icon Size

Manage icon size from here.

Extra Option

Interval Shake

Enabling interval shake effect, button will have shaking kind of animation.

Interval Shake Duration ⭐

Button will have shake animation after this much seconds repeatedly.

3. Advanced

Advanced Tab Options are common across all the widgets. So, we have written a detailed tutorial explaining how to use these options.

View The Advanced Tab Tutorial

Note : ⭐ Symbol as a suffix displays a Pro feature field.
Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?