Button

Clickable elements for anything you want people to click on
Buttons make common actions immediately visible and and easy to perform with one click or tap. They are used primarily for actions such as "Post a Project", "Bid", "Award", or "Accept". Less prominent actions, such as "View More", are executed using plain buttons, which visually resemble links.

Button Sizes

Buttons comes in different sizes
Keep button size consistent with other elements in the page
Keep sizes consistent pairing buttons with other elements and components such as an input field.
Do
Don't
Inputs
disabled : boolean
submit : boolean
backIcon ?: boolean
busy ?: boolean
buttonGroupFirst ?: boolean = false
buttonGroupLast ?: boolean = false
buttonGroupMiddle ?: boolean = false
buttonGroupPosition ?: ButtonGroupPosition
buttonType ?: "submit" | "button" = 'button'
color ?: ButtonColor
display ?: ButtonDisplay = 'inline'
displayDesktop ?: ButtonDisplay
displayTablet ?: ButtonDisplay
fragment ?: string
label ?: string
Use only when necessary. This adds in aria-label for links / buttons that doesn't have a descriptive text. For example, a button that only has an icon inside it.
link ?: string
Url used for button link case
linkActive ?: string | string[]
linkActiveOptions ?: { exact: boolean; }
newTab ?: boolean
Whether to open the link in a new tab in desktop.
nextIcon ?: boolean
queryParams ?: { [k: string]: any; }
queryParamsHandling ?: QueryParamsHandling
rel ?: string = ''
size ?: ButtonSize
sizeDesktop ?: ButtonSize
sizeTablet ?: ButtonSize
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.