Buttons

Buttons are calls to action that are used to direct users to related pages.

Rules for buttons

Options available


Primary button

Primary buttons are used on all pages with the primary blue palette theme.

Primary

Code
Primary

Action button

Action buttons are used to signify the most prominent call to action on a page.

Action

Code
Action

Secondary and tertiary buttons

Secondary and tertiary buttons are used on pages currently using the secondary and tertiary palette themes.

Secondary Tertiary 1 Tertiary 2 Tertiary 3

Code
Secondary
Tertiary 1
Tertiary 2
Tertiary 3

Label buttons

Label buttons must be used only on forms and other tasks that involve a user completing a task. For further information on the application of buttons in forms, see the form elements pattern.

Success Info Warning Danger

Code
Success
Info
Warning
Danger

Icon buttons

PDF document ZIP file Word document Powerpoint presentation

Code
PDF document 
ZIP file 
Word document 
Powerpoint presentation 

Tag buttons

Must only be used when linking to a tag or categories results page.

St Andrews Scotland Digital pattern library Climate change Marine biology

Code
St Andrews
Scotland
Digital pattern library
Climate change
Marine biology

Small tag buttons

Must only be used when linking to a tag or categories results page.

St Andrews Scotland Digital pattern library Climate change Marine biology

Code
St Andrews
Scotland
Digital pattern library
Climate change
Marine biology

Extra small tag buttons

Must only be used when linking to a tag or categories results page.

St Andrews Scotland Digital pattern library Climate change Marine biology

Code
St Andrews
Scotland
Digital pattern library
Climate change
Marine biology

Can be used to show multiple options in a single dropdown list. The button to open and close the dropdown can have any button style applied. This example shows both the primary and the small tag style of buttons, with the dropdown menu adjusting to match its parent button font size and padding.



Code