Button classes
The included Button module covers most use cases. For situations where you need a button inside a Rich Text field, or want to apply theme styles to HubSpot CTA (legacy) buttons, see the classes and code snippets below, along with these quick guides:
How to add a simple link button in Rich Text
The code snippets for this are in the second code box next to each button style. Watch this quick YouTube video to see the steps.
How to apply theme styles to HubSpot legacy CTAs
The classes are listed in the first code box next to each button. Watch this quick YouTube video to see the steps.
Classes
Here are all the available button styles/classes in Act3:
Accent
Takes the Accent color/gradient from your theme settings.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Accent (Pill)
Takes the Accent color/gradient from your theme settings.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Dark
Takes the Dark gray color from your theme settings.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Dark (Pill)
Takes the Dark gray color from your theme settings.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Light
Takes the Light gray color from your theme settings.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Light (Pill)
Takes the Light gray color from your theme settings.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Light, Darker
Takes the Borders color from your theme settings.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Light, Darker (Pill)
Takes the Borders color from your theme settings.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
White
White buttons that look great on dark backgrounds.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
White (Pill)
White buttons that look great on dark backgrounds.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
White, Accent
White buttons with the Accent color (or fallback color if you are using a gradient) from your theme settings.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
White, Accent (Pill)
White buttons with the Accent color (or fallback color if you are using a gradient) from your theme settings.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
White, Hover Accent
White buttons with the hover Accent color (or fallback color if you are using a gradient) from your theme settings.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
White, Hover Accent (Pill)
White buttons with the Accent color (or fallback color if you are using a gradient) from your theme settings.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Ghost
Transparent white buttons that look great on dark backgrounds.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|
Ghost (Pill)
Transparent white buttons that look great on dark backgrounds.
All your buttons take a pill shape if you select a large button radius in your theme settings. Otherwise, you can still make pill buttons with the btn--pill extra class.
| Preview | Classes and code snippets |
|---|---|
| |
| |
| |
| |
| |
|