Skip to main content

Button

Send your website visitors to a page, form or file as their next step, with a button below your content.

A Button block is a main button and an optional second button. Use it for a clear next step, such as applying for a scheme or booking an appointment. The table shows when to use a text link in a Text block or a Call-to-action instead.

Text link

Button

Call-to-action

Looks like

Underlined text in a sentence

1 or 2 buttons

A coloured panel with a heading, description and buttons

Use it for

Related or optional reading

A next step after a section

The main action on a page

Where you can use it

  • Standard layout pages

  • Article layout pages

  • Database layout pages

  • Overview pages

  • Not on the homepage: use the buttons in the Hero banner or a Call-to-action there

Add and set up a Button block

  1. On your page, click Add block and select Button.

  2. Under Alignment, select Align left or Align centre. It applies to both buttons.

  3. Under Primary call-to-action, replace the sample text in Button text. It can be up to 50 characters, and can't be empty or only spaces.

  4. Under Button destination, delete the sample link with the bin icon, then click Link something....

  5. Choose Page, External, File or Email, then select the page, enter the web address, upload the file or enter the email address, and click Add link.

  6. To add a second button, fill in Secondary button text and Secondary button destination under Secondary call-to-action. The second button only shows when both are filled in.

  7. Click Save changes.

Best practices

Write button text that says what happens

Start with a verb and say what your website visitors will get. Many screen reader users move from link to link, so each button needs to make sense on its own. Use sentence case, not all caps: all caps is harder to read and comes across as shouting.

Good

Poor

Apply for the grant

Click here

Check your eligibility

Learn more

Download the form [PDF, 200 KB]

Download

Use the main button for the action most people need

Your website visitors notice the main button first. Use the second button for the alternative, such as "Check your eligibility" next to "Apply now".

Place the button right after its content

Put the Button block straight after the text that explains the action, so your website visitors have the context they need before they click.


Keep buttons for key actions

If a page has many buttons, none of them stands out. Use buttons for the 1 or 2 actions that matter most, and text links for everything else.


Things to note

  • The colours are fixed. The main button is filled with your site's main colour, and the second button is outlined. On narrow screens, the buttons wrap onto separate lines.

  • For more than 2 buttons, add another Button block.

  • A file button doesn't show the file's type and size, so add them to the button text, such as "Download the form [PDF, 200 KB]".

  • A web address outside your site opens in a new tab, with an external link icon.

Common questions

Why isn't my second button showing?

The second button needs both its text and a destination. Fill in both, then click Save changes. See Add and set up a Button block above.
​

Can I add more than 2 buttons?

Not in one Button block. Add another Button block, but too many buttons compete for attention. See Keep buttons for key actions above.
​

Can I change the button colour or style?

No. The main button uses your site's main colour, and the second button is outlined. See Things to note above.
​

Related articles

  • Callout: highlight a condition your website visitors should know before they click

  • Accordion: put extra details in sections your website visitors can open and close

  • Adding blocks: see which blocks work on each page

Did this answer your question?