Lifetime prices rise on 19 October →
Phox Elements
BUTTONS Two-line call to action buttons for Breakdance

Buttons with a title, subtext and icon

CTA Button is a button with two lines of text and an icon. The main text says what to do and the subtext adds a short reason. Use a solid colour or a gradient background.

Main text and subtext Icon of your choice Solid or gradient background
Live demos

Four CTA Buttons with different styles

Each button below is a CTA Button with a different style and a working link: a phone number, a PDF download, a page on this site and an email address. Hover over a button to see its hover colours.

Phone link

Call a free helpline

A green pill with a phone icon and a tel: link, so a tap on a phone starts the call. The background darkens on hover.

Outline, file link

Download a bakery menu

A transparent button with a 2px border that fills dark on hover, when the text and icon turn white. It opens a real PDF menu in a new tab.

Gradient

Send visitors to a listing page

A purple to pink gradient background, capital letters in the main text and a light subtext. It links to the element list on this site.

Email link

Contact a design studio

A wide navy button with a yellow icon and a mailto: link. The title turns yellow on hover.

How it works

Three steps to a two-line button

Set the text and link, then style it.

1

Add the element

Drop CTA Button onto your page where you want the call to action.

2

Write the text

Enter the main text, the subtext, pick an icon and set the link.

3

Style it

Set the width, background, typography, icon size and colour, borders and padding.

Features

What you can do with it

A compact button that gives visitors a little more context than a single line.

Two lines of text

A bold main line and a smaller subtext line, each with its own typography.

Icon beside the title

Choose any icon from the Breakdance icon library and set its size and colour.

Gradient backgrounds

Use a solid colour or a gradient, with a separate hover colour.

Hover colours

Set hover colours for the title, subtitle, icon and background.

Link anywhere

Link the button to any page or URL with the standard Breakdance link control.

Borders and shadows

Set borders, corner radius and shadow.

Width, gap and padding

Set the button width, the gap between the title and the subtext, and the padding.

Margin

Add space above and below the button.

Phone and email links

The link control takes tel: and mailto: links as well as pages and files, as the demos show.

Use cases

Where it works best

Anywhere a single line does not say enough.

01

Video links

Watch the video, with a short line about what it covers.

02

App downloads

Download on a platform, with the store icon.

03

Sign-up buttons

Start a free trial, with a line such as no card required.

04

Booking

Book a call, with the length of the call in the subtext.

05

Downloads

Download a guide, with the file type or size.

06

Hero sections

A stronger main call to action at the top of a landing page.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor, with their default values.

ControlWhat it doesDefault
Content
Main TextThe first, larger line.WATCH VIDEO
SubtextThe second, smaller line.WATCH THE VIDEO TO LEARN MORE
IconIcon shown beside the main text.Play
LinkWhere the button goes. Takes a page, URL, tel: or mailto: link.—
Design
WidthButton width.250px
Title TypographyMain text style, with a hover colour.16px
Subtitle TypographySubtext style, with a hover colour.13px
Background ColorSolid or gradient background, with a hover colour.—
Icon SizeWidth and height of the icon.24px
Icon ColorIcon colour, with a hover colour.White
BordersBorder, radius and shadow.—
GapSpace between the title row and the subtext.4px
PaddingSpace inside the button.10px
Spacing
MarginSpace above and below the button.—
Tips & FAQ

Good to know

Can I leave out the subtext?

Yes. Leave the Subtext field empty and the button shows the icon and main text only.

Can I use a gradient?

Yes. The Background Color control accepts a solid colour or a gradient. The See every element button uses one.

Can the text change colour on hover?

Yes. The title, subtitle, icon and background each have their own hover colour, as the outline demo shows.

How wide is the button?

It is 250px by default. Change it with the Width control. It never grows wider than its container.

Can it link to a file or a phone number?

Yes. Use a file URL for downloads, tel: for phone numbers and mailto: for email, as in the demos above.

Add CTA Button to your next page

CTA Button is included with Phox Elements, along with 140+ other premium elements for Breakdance.