Buttons
Buttons trigger actions: save, cancel, submit, delete. They are the most clickable thing on any page. Make their purpose and priority obvious. The CTD Learns App uses MUI's Button component with three variants: contained (filled, for primary actions), outlined (for secondary actions), and text (for tertiary or destructive actions). Rule of thumb: one contained primary button per screen area. Always use sentence case. Never uppercase.
Interactive Preview
Button — All variants and states
Props
variant
color
size
disabled
Start icon
label
Variants, States & Specs
Click any button to inspect its specs. Hover the live buttons to see real transitions.
32px · 14px
40px · 16px
44px · 16px
Contained
Outlined
Text
With icon
Danger
Disabled
Contained
Medium
Filled background. Use for the primary action on a screen.
Height
40pxFont
16pxPadding-x
20pxIcon gap
8pxBackground
#E8541AprimaryText
#FFFFFFHover
Border radius
8pxradiusMdFont family
InterFont weight
500Text transform
none (sentence case)Transition
150ms easeCode
<Button variant="contained" color="primary"> Create process </Button>
<Button variant="outlined"> Cancel </Button>
<Button variant="text" color="error" startIcon={<DeleteIcon />}>
Delete workflow
</Button><Button variant="contained" color="primary" startIcon={<AddIcon />}>
New workflow
</Button>