Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Buttons are clickable elements that are used to perform an action.
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Usage
Tip |
---|
Do’s
|
submitting a form;
confirming a change;
triggering a new element to appear on the page;
specifying a new or next step in a process.
|
Warning |
---|
Dont’s
|
|
Anatomy
warningInsert image here
Item | Component type | Content type | Notes | |||||||
---|---|---|---|---|---|---|---|---|---|---|
1 | Leading icon | Icon | SVG file |
| ||||||
2 | Button label |
Typography |
Text |
|
|
| ||
3 |
Button label
Typography
Trailing icon (not shown) | Icon | SVG file |
|
|
|
Visual style
Sizes
Buttons come with two sizes: large and small.
States
Buttons have five states that define their appearance: Default, Hover, Focus, Active and Disabled.
Variants
Primary Large Icon Text http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--primary-large-icon-text&args=&viewMode=story
Primary Large Icon http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--primary-large-icon&args=&viewMode=story
Primary Small Icon Text http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--primary-small-icon-text&args=&viewMode=story
Primary Small Icon http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--primary-small-icon&args=&viewMode=story
Secondary Large Icon Text http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--secondary-large-icon-text&args=&viewMode=story
Secondary Large Icon http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--secondary-large-icon&args=&viewMode=story
Secondary Small Icon Text http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--secondary-small-icon-text&args=&viewMode=story
Secondary Small Icon http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--secondary-small-icon&args=&viewMode=story
Subtle Large Icon Text http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--subtle-large-icon-text&args=&viewMode=story
Subtle Large Icon http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--subtle-large-icon&args=&viewMode=story
Subtle Small Icon Text http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--subtle-small-icon-text&args=&viewMode=story
Subtle Small Icon http://phx-husky.s3-website.eu-central-1.amazonaws.com/master/ds/latest/iframe.html?id=components-button-variations--subtle-small-icon&args=&viewMode=story
Button props
Name | Control | Description |
---|---|---|
|
| The variant to use. |
|
| The size of the component. |
|
| If |
|
| The content of the component. |
|
| Element placed before the children. |
|
| Element placed after the children. |
|
|
|
|
|
|
|
|
|
Editorial
Button labels should use uppercasestandard case.
Button labels should be as short as possible, while clearly explaining the action the button triggers.
For maximum legibility, a text label should remain on a single line.
Names Swap phrases like “Read more“, “Learn more“, etc. should be avoidedand “Click here“ for more specific action oriented phrases.
Behaviour
n/atbd
Accessibility
n/a
Related components
Link
A very brief descriptiontbd