Animated Button

A button with a rolling text hover effect, an animated arrow, and Solid, Outline, Glass, or Text styles.

Animated Button is a button element with four styles (Solid, Outline, Glass, and Text), an optional animated arrow, and a text roll hover effect. Colors left empty can pick white or near black automatically, whichever reads better against them.

Four animated buttons: solid with a circle arrow, outline with a line arrow, a rounded button with a plus, and a text link

Two glass buttons over a photo, with a blurred see-through fill

Add it

In WPBakery, click Add Element and pick Animated Button from the Highend Shortcodes category. Or use the shortcode. See Shortcode.

Settings

TextTextDefault: Get startedtext

The button's caption.

LinkTextlink

Where the button links to.

Link TargetSelectDefault: Same windowtarget

Options: Same window, New window.

StyleSelectDefault: Solidstyle

Options: Solid, Outline, Glass (semi-transparent with a blurred backdrop), Text (no background, for large call-to-action links). Set the colors in the Colors tab.

Glass OpacityTextDefault: 20glass_opacity

How much of the color shows, from 0 to 100. Only shown when Style is Glass.

Glass BlurTextDefault: 12glass_blur

Blur of what's behind the button, in pixels. Only shown when Style is Glass.

SizeSelectDefault: Mediumsize

Options: Extra small, Small, Medium, Large. Sets the starting padding and font size; change them in the Typography tab.

WidthSelectDefault: Fit the textwidth

Options: Fit the text, Full width.

Text Hover EffectSelectDefault: Text rollhover

Options: Text roll, None.

ArrowSelectDefault: Nonearrow

An arrow that animates on hover. Options: None, Line before the text, Circle after the text, Plus after the text (spins on hover).

UnderlineSelectDefault: Noneunderline

Options: None, On hover (draws in, slides out), Always (there all the time, slides away to the right on hover and grows back from the left once the pointer leaves). Only shown when Style is Text.

Underline ThicknessTextunderline_width

In pixels. Leave empty to scale it with the text size. Only shown when Underline isn't None.

AlignmentSelectDefault: Leftalign

Options: Left, Center, Right.

Border RadiusTextradius

In pixels. Enter 0 for square corners. Leave empty for fully rounded ends.

Corner ShapeSelectDefault: Roundcorner_shape

How rounded corners are drawn. Options: Round, Squircle, Soft squircle, Bevel (cut corners), Scoop (inward curve), Notch (inward square). Browsers without corner shape support show normal rounded corners.

Colors tab

ColorColorcolor

Background of a solid button, border and text of an outline button, tint of a glass button, text of a text button. Leave empty for the accent color (a text button uses the surrounding text color).

Text ColorColortext_color

Leave empty for white or dark text, whichever reads better on the color.

Hover ColorColorhover_color

Background on hover, or the color a text button rolls into. Leave empty to use Color.

Hover Text ColorColorhover_text_color

Leave empty for white or dark text, whichever reads better on the hover color.

Circle ColorColorcircle_color

Leave empty to pick it automatically. Only shown when Arrow is Circle after the text.

Circle Arrow ColorColorcircle_arrow_color

Leave empty to pick it automatically. Only shown when Arrow is Circle after the text.

Hover Circle ColorColorhover_circle_color

Leave empty to pick it automatically. Only shown when Arrow is Circle after the text.

Hover Circle Arrow ColorColorhover_circle_arrow_color

Leave empty to pick it automatically. Only shown when Arrow is Circle after the text.

Automatic contrast

Leave Text Color, Circle Color, or Circle Arrow Color empty, and that piece picks white or near black for you, whichever reads better against the color behind it. This needs a browser with CSS relative color support.

Typography tab

Use Theme FontCheckboxDefault: Yesuse_theme_fonts

Uses the theme's font instead of the Google font below.

Google FontsFontgoogle_fonts

Pick a Google font. Only shown when Use Theme Font is off.

Font SizeTextfont_size

In pixels. Leave empty to use the font size of the chosen Size.

Font Size on PhonesTextfont_size_phone

In pixels. The size scales smoothly from this size on phones to Font Size on desktops. Leave empty to pick it automatically when Fluid Typography is on in Highend Options > Typography.

Font WeightSelectDefault: Defaultfont_weight

Options: Default, 300, 400, 500, 600, 700, 800.

Letter SpacingTextletter_spacing

In em, relative to the font size, for example -0.02 or 0.05.

Text TransformSelectDefault: Defaulttext_transform

Options: Default, None, Uppercase, Lowercase, Capitalize.

Common settings

Animated Button also has Entrance Animation, Entrance Delay, and Extra class name fields. See the Elements overview.

Shortcode

[hb_animated_button text="Get started" link="/contact/" style="outline" arrow="circle" color="#161514"]

On this page