Damstra logo Damstra UX hub

Molecules

Section headers

Section headers can be used within page layouts for separating content and displaying actions for that content.

Any header from an h2 to an h5 can be used, and any combination of action buttons or fields can be used.

Action buttons and filtering/search fields can be omitted if not required.

Each header with an action button

Content header with h2 and secondary action

h2 example

Content header with h2 and secondary action

Copy HTML

Content header with h3 and secondary action

h3 example

Content header with h3 and secondary action

Copy HTML

Content header with h4 and secondary action

h4 example

Content header with h4 and secondary action

Copy HTML

Content header with h5 and secondary action
h5 example

Content header with h5 and secondary action

Copy HTML

With a checkbox and action

Content header with checkbox and action

h2 example

Content header with checkbox and action

Copy HTML

With select box

Content header with a select

h2 example

Loading...

Content header with a select

Copy HTML

With filter and search

Content header with filtering and search

h2 example

Content header with filtering and search

Copy HTML

Loading...

Flow buttons & links

Flow buttons & links are groups of buttons and links where users can take different paths e.g. proceed to the next step or going back to a previous step

Two buttons

Primary action for proceeding is always on the right and secondary action for proceeding next to it on the left.

If there is a negative action in addition to other actions, it should sit on the far left away from the other actions.

Primary and secondary flow buttons

Primary and secondary flow buttons

Copy HTML

Primary and secondary flow buttons with a hint
Hint message about these actions

Primary and secondary flow buttons with a hint

Copy HTML

Primary and secondary flow buttons with a negative action

Primary and secondary flow buttons with a negative action

Copy HTML

Primary and secondary flow buttons with checkbox

Primary and secondary flow buttons with checkbox

Copy HTML

Button and link

Use a link and a button when there is a primary action and the other option is to got back to before this section of the system was shown e.g. closing a modal.

If there is a negative action in addition to other actions, it should sit on the far left away from the other actions.

Button and link flow buttons
Back

Button and link flow buttons

Copy HTML

Button and link flow buttons with a hint
Back Hint message about these actions

Button and link flow buttons with a hint

Copy HTML

Button and link flow buttons with a negative action
Back

Button and link flow buttons with a negative action

Copy HTML

One button

One button flow

One button flow

Copy HTML

One button flow with a hint
Hint message about these actions

One button flow with a hint

Copy HTML

One button flow with a negative action

One button flow with a negative action

Copy HTML

One button flow with checkbox

One button flow with checkbox

Copy HTML

Next and back

Next and back flow buttons

Next and back flow buttons

Copy HTML

Next and back flow buttons with a hint
Hint message about these actions

Next and back flow buttons with a hint

Copy HTML

Loading...

Button groups

Button groups are used to visually group buttons into one set of related actions

Icon grouped buttons

Icon grouped buttons

Icon grouped buttons

Copy HTML

Icon grouped buttons with label

Icon grouped buttons with label

Copy HTML

Smaller icon grouped buttons

Smaller icon grouped buttons

Copy HTML

Smaller icon grouped buttons with label

Smaller icon grouped buttons with label

Copy HTML

Path selection buttons

Only used when the user has a number of options to select from to determine the path they want to take

Path selection buttons
Loading...

Pagination

Standard pagination

Standard pagination

Copy HTML

Large data pagination

Large data pagination

Copy HTML

Loading...

Text & number input groups

Text & number

The below can be used for text, number, phone, email, password, date and time inputs

Standard state

Standard state

Copy HTML

Input with tooltip

Input with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Input with hint
Important information relating to filling out this field

Input with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Input with help link

Input with help link

Help links can be used where longer explanations are required to trigger an explanation popup.

An example of this is when a user may need to be directed to our support team if they can't find the options they are expecting after reading through an explanation of why this may be the case.

Copy HTML

Optional input

Optional input

Copy HTML

Errored input

Message that tells the user what to do to fix the error

Errored input

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Input with add another option

Input with add another option

Add another option should be used when the user can type in and add as many fields as they like e.g. manager's email addresses

Copy HTML

Input with n/a option

Input with n/a option

N/a options are included if the input field is mandatory but there are cases where it may not be applicable to type in information e.g. for an expiry date a user needs to be able to select 'No expiry'

Copy HTML

Input with preppended text
AUD $

Input with preppended text

Copy HTML

Input with appended text
days

Input with appended text

Copy HTML

Input with appended button

Input with appended button

Copy HTML

Number input options

Number inputs

Number inputs

Copy HTML

Number inline inputs

Number inline inputs

Copy HTML

Mobile number inputs
Loading...

Mobile number inputs

Copy HTML

Mobile number inputs, errored

Enter a valid mobile number

Loading...

Mobile number inputs, errored

Copy HTML

Price inputs
Loading...

Price inputs

Copy HTML

Price inputs, errored

Enter a valid number

Loading...

Price inputs, errored

Copy HTML

Temperature inputs

Temperature inputs
Loading...

Temperature inputs

Copy HTML

Text areas

Textarea inputs

Textarea inputs

Copy HTML

Textarea with tooltip

Textarea with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Textarea with hint
Important information relating to filling out this field

Textarea with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Textarea with help link

Textarea with help link

Help links can be used where longer explanations are required to trigger an explanation popup.

An example of this is when a user may need to be directed to our support team if they can't find the options they are expecting after reading through an explanation of why this may be the case.

Copy HTML

Textarea with limit
5 characters remaining

Textarea with limit

Note, the limit should be enforced.

Copy HTML

Textarea with limit reached
0 characters remaining

Textarea with limit reached

Note, the limit should be enforced.

Copy HTML

Optional textarea

Optional textarea

Copy HTML

Errored textarea

Message that tells the user what to do to fix the error

Errored textarea

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Textarea with add another option

Textarea with add another option

Add another option should be used when the user can type in and add as many fields as they like e.g. manager's email addresses

Copy HTML

Textarea with n/a option

Textarea with n/a option

N/a options are included if the input field is mandatory but there are cases where it may not be applicable to type in information e.g. for an expiry date a user needs to be able to select 'No expiry date'

Copy HTML

Input wizards

Input wizard

Input wizard

Copy HTML

Input wizard with tooltip

Input wizard with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Input wizard with hint
Important information relating to filling out this field

Input wizard with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Input wizard with help link

Input wizard with help link

Help links can be used where longer explanations are required to trigger an explanation popup.

An example of this is when a user may need to be directed to our support team if they can't find the options they are expecting after reading through an explanation of why this may be the case.

Copy HTML

Optional input wizard

Optional input wizard

Copy HTML

Errored input wizard

Message that tells the user what to do to fix the error

Errored input wizard

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Search boxes

Search boxes

Search boxes

Copy HTML

Loading...

Select input groups

Select

The below can be used for select boxes, selects with search and multi selects

Standard state
Loading...

Standard state

Copy HTML

Select with tooltip
Loading...

Select with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Select with hint
Loading...
Important information relating to filling out this field

Select with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Select with help link

Select with help link

Help links can be used where longer explanations are required to trigger an explanation popup.

An example of this is when a user may need to be directed to our support team if they can't find the options they are expecting after reading through an explanation of why this may be the case.

Copy HTML

Optional input
Loading...

Optional input

Copy HTML

Errored input

Message that tells the user what to do to fix the error

Loading...

Errored input

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Checkbox

Standard state

Standard state

Copy HTML

Checkboxes with tooltip

Checkboxes with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Checkboxes with hint
Important information relating to filling out this field

Checkboxes with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Checkboxes with help link

Checkboxes with help link

Help links can be used where longer explanations are required to trigger an explanation popup.

An example of this is when a user may need to be directed to our support team if they can't find the options they are expecting after reading through an explanation of why this may be the case.

Copy HTML

Optional checkboxes

Optional checkboxes

Copy HTML

Errored checkboxes

Message that tells the user what to do to fix the error

Errored checkboxes

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Switches

Checkbox switch

Checkbox switch

Copy HTML

Checkbox switch with title

Checkbox switch with title

Copy HTML

Disabled checkbox switch

Disabled checkbox switch

Copy HTML

Readonly checkbox switch

Readonly checkbox switch

Copy HTML

Switch with tooltip

Switch with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Switch with hint
Important information relating to filling out this field

Switch with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Confirmation checkboxes

Confirmation checkbox

Confirmation checkbox

Copy HTML

Errored confirmation checkbox

Confirm the below

Errored confirmation checkbox

Copy HTML

Checkbox buttons

Checkbox buttons

Checkbox buttons

Copy HTML

Radios

Standard state

Standard state

Copy HTML

Radios with tooltip

Radios with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Radios with hint
Important information relating to filling out this field

Radios with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Radios with help link

Radios with help link

Help links can be used where longer explanations are required to trigger an explanation popup.

An example of this is when a user may need to be directed to our support team if they can't find the options they are expecting after reading through an explanation of why this may be the case.

Copy HTML

Optional radios

Optional radios

Copy HTML

Errored radios

Message that tells the user what to do to fix the error

Errored radios

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Radio buttons

Path selector state

Path selector state

Path selector radio buttons should only be used when a user is choosing between two paths in a form e.g. their payment method or list vs grid display.

Each option should only contain one or two words and an icon.

Copy HTML

Change view state

Change view state

Change view buttons should be used when a user whats to change the view they currently have e.g. list or calendar view.

These options can include icons if needed or be just icons.

Copy HTML

Change view state, icon only

Change view state, icon only

Change view buttons should be used when a user whats to change the view they currently have e.g. list or calendar view.

Copy HTML

Colour picker

Standard state

Standard state

Copy HTML

Colour picker with tooltip

Colour picker with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Date selector

Standard state

Standard state

Copy HTML

Date selector with tooltip

Date selector with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Date selector with hint
Important information relating to filling out this field

Date selector with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Optional date selector

Optional date selector

Copy HTML

Errored date range

Message that tells the user what to do to fix the error

Errored date range

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Loading...

File input groups

Form file field

The below can be used for either single or multiple file uploads

Standard state
Drop files here or click to upload

Standard state

Copy HTML

Input with tooltip
Drop files here or click to upload

Input with tooltip

Tooltips can be used for field explanations that may not be needed each time a user completes this field, or that are too long to place as a hint below

Copy HTML

Input with hint
Drop files here or click to upload
Important information relating to filling out this field

Input with hint

Hints can be used for short explanations may be needed each time a user completes this field. Hints should be no longer than a sentence.

Copy HTML

Input with help link

Input with help link

Help links can be used where longer explanations are required to trigger an explanation popup.

An example of this is when a user may need to be directed to our support team if they can't find the options they are expecting after reading through an explanation of why this may be the case.

Copy HTML

Optional input
Drop files here or click to upload

Optional input

Copy HTML

Errored input

Upload a file

Drop files here or click to upload

Errored input

Error messages should tell users what they has gone wrong (if applicable) and what they need to do to fix it

Copy HTML

Loading...

Tables

Row actions

Action button
Row header Cell content
Loading...

Action button

Copy HTML

Action & dropdown buttons
Row header Cell content
Loading...

Action & dropdown buttons

Copy HTML

Icon button group actions
Column header Column header Lab.Lab.Lab.
Row header Cell content
Loading...

Icon button group actions

Copy HTML

Full tables

Basic table
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Basic table

Copy HTML

Striped tables

Striped table
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Striped table

Copy HTML

Tables grouped by first column

Grouped table
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Grouped table

Copy HTML

Grouped table, sorted by another column
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Grouped table, sorted by another column

Copy HTML

Table with totals

Table with totals
Column one Column two Column three
Row header Detail 6
Row header Detail 6
Total 12
Loading...

Table with totals

Copy HTML

Table with row indicators

Row shading table
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Row shading table

Copy HTML

Spaced table rows

Spaced table rows
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Spaced table rows

Copy HTML

Selectable table rows and bulk actions

Selectable table rows with bulk actions
Detail Detail
Row header Detail Detail
Detail Detail
Loading...

Selectable table rows with bulk actions

Copy HTML

Drag and drop table rows

Sortable table rows
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Sortable table rows

Copy HTML

Scrollable table

Scrollable table rows
Column one Column two Column three Column four Column five Column six Column seven Column eight
Row header Detail Detail Detail Detail Detail Detail Detail
Row header Detail Detail Detail Detail Detail Detail Detail
Row header Detail Detail Detail Detail Detail Detail Detail
Loading...

Scrollable table rows

Copy HTML

Fixed header table
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...
Loading...

Fixed header table

Copy HTML

Table filtering

Table with filters
Loading...
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Loading...

Table with filters

Copy HTML

Table with filters, no results
Loading...
Column one Column two Column three
No ____
Loading...

Table with filters, no results

Copy HTML

Expandable table rows

Expandable table rows
Column one Column two Column three
Row header Detail Detail

Collapsed content

Row header Detail Detail

Collapsed content

Loading...

Expandable table rows

Copy HTML

Expandable table rows with panel content
Column one Column two Column three
Row header Detail Detail

Panel content

Panel content

Row header Detail Detail

Panel content

Panel content

Loading...

Expandable table rows with panel content

Copy HTML

Expandable table rows with expand all
Column one Column two Column three
Row header Detail Detail

Collapse content

Row header Detail Detail

Collapse content

Loading...

Expandable table rows with expand all

Copy HTML

Table with form elements

Form elements table rows
Column one Column two Column three
Row header
Loading...
Row header
Loading...
Loading...

Form elements table rows

Copy HTML

Table with alphabet filter

Table with alphabet filter
Filter by ____ : All A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Column one Column two Column three
Row header Detail Detail
Row header Detail Detail
Row header Detail Detail
Loading...

Table with alphabet filter

Copy HTML

Table with alphabet filter, no results
Filter by ____ : All A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Column one Column two Column three
No _____ starting with 'L'
Loading...

Table with alphabet filter, no results

Copy HTML

Loading...

All [X] on this page selected. Select all [X] in list

[X] selected

Deselect all

Alert messages

Success alerts

Success alerts are used to inform users when actions have been successfully completed while remaining on the same page

Success alert

Success alert

Copy HTML

Danger alerts

Danger alerts are used to inform users of problems

Danger alert

Danger alert

Copy HTML

Danger alert with title line

Danger alert with title line

Copy HTML

Danger alert - restricted width

Danger alert - restricted width

Copy HTML

Warning alerts

Warning alerts are used to draw user's attention and inform them of possible issues or negative consequences

Warning alert

Warning alert

Copy HTML

Warning alert with title line

Warning alert with title line

Copy HTML

Warning alert - restricted width

Warning alert - restricted width

Copy HTML

Info alerts

Info alerts are used offer the user helpful tips relating to the current task they are performing

Info alert

Info alert

Copy HTML

Info alert with title line

Info alert with title line

Copy HTML

Info alert - restricted width

Info alert - restricted width

Copy HTML

Text and alerts columns

Text alert columns

Example text

Text alert columns

Copy HTML

Loading...

Keys

Inline key
  • Green
  • Red
  • Orange
  • Grey
  • Yellow
  • Blue

Inline key

Copy HTML

Stacked key
  • Green
  • Red
  • Orange
  • Grey
  • Yellow
  • Blue

Stacked key

Copy HTML

Loading...

Empty states

Empty states should first confirm that there is no data to display so that the user knows the page is not broken. Then, where applicable, it should introduce the use of the page and explain how to add data to display.

Empty state for any page

[No forms created]

[Explain to the user how to get content to show on this page]

Empty state for any page

Copy HTML

Empty state with action button

[No forms created]

[Explain to the user how to get content to show on this page]

Empty state with action button

Copy HTML

Set a filter to view this page messages

Set filter first

Select an organisation or worksite

This page can't be accessed when viewing all worksites, select an organisation or worksite above to access

Set filter first

Copy HTML

No employees added message

Used when a page is accessed that requires employees to be added before accessing anything on that page

Empty state for any page

Your company hasn't got any employees

You'll need to add an employee and we'll need to approve them before you'll be able to [Action goes here]

Empty state for any page

Copy HTML

Loading...

Large success messages

Large success messages are only used for successful actions where our standard slide-down success messages can't be used. For example, a user verifies their account by clicking a link in the email.

Large success message

[Action completed]

[Explanation of what this means]

Large success message

Copy HTML

Loading...

KPIs

KPIs
Standard KPI 2
Success KPI with icon 5
Danger KPI with icon 2
Warning KPI with icon 1
Inactive KPI with icon 1
Brandtwo KPI with icon 1

KPIs

Copy HTML

Smaller KPIs
Standard KPI 2
Success KPI with icon 5
Danger KPI with icon 2
Warning KPI with icon 1
Inactive KPI with icon 1
Brandtwo KPI with icon 1

Smaller KPIs

Copy HTML

Clickable KPIs

Clickable KPIs

Copy HTML

Clickable smaller KPIs

Clickable smaller KPIs

Copy HTML

Loading...

Progress indicators

Progress bar 0%
0/4 steps completed

Progress bar 0%

Copy HTML

Progress bar 50%
2/4 steps completed

Progress bar 50%

Copy HTML

Progress bar 100%
4/4 steps completed

Progress bar 100%

Copy HTML

Progress bar danger
10%

Progress bar danger

Copy HTML

Progress bar small
10%

Progress bar small

Copy HTML

Progress ring 0%

0%

Progress ring 0%

Copy HTML

Progress ring 50%

50%

Progress ring 50%

Copy HTML

Progress ring 100%

100%

Progress ring 100%

Copy HTML

Progress ring danger

10%

Progress ring danger

Copy HTML

Loading...
Loading...
Loading...
Loading...