Specimen
The whole system on one page, to compare it with the original: every token with its value in each context, and every component in every combination of its variants, enumerated properties and interaction states, in each context the tokens vary by. Previews are computed from the reference semantics.
Tokens
| Token | Type | Value | Description |
|---|---|---|---|
button.border |
dimension |
|
|
button.gap |
dimension |
|
Icon-label gap, A11 `$aui-button-icon-margin: 8` (_button.scss:3, 252). |
button.height |
dimension |
|
Height of the A11 box, derived: 13 + 24 + 12 plus a 1 px border on each side = 51. |
button.icon |
dimension |
|
A11 small icon size `$aui-icon-size-small: 24px` (_variables.scss:62); the icon-and-label button snippets use small icons (button/snippets/button-primary-with-icon.html). Equals one label line. |
button.min-width |
dimension |
|
Primary and secondary: nine times the base type size (A5), 144 at the 16 px base. |
button.min-width-text |
dimension |
|
Text button: no minimum width; A5 defines one for primary and secondary buttons only. |
button.padding-bottom |
dimension |
|
A11 `em(12, 15)` (_button.scss:13). |
button.padding-inline |
dimension |
|
Primary and secondary: A11 `em(32, 15)` (_button.scss:63-68). |
button.padding-inline-text |
dimension |
|
Text button: no horizontal padding, A11 `padding: em(13) 0 em(12)` (_button.scss:13); the 32 px of _button.scss:63-68 apply to primary, secondary and padded buttons only. |
button.padding-top |
dimension |
|
A11 `em(13, 15)` (_button.scss:13). |
checkbox.border |
dimension |
|
A11 _checkbox.scss:37. |
checkbox.box |
dimension |
|
1.5em (A11 _checkbox.scss:1, 35-36). |
checkbox.gap |
dimension |
|
Box-label gap, 1em (A11 _checkbox.scss:3, 21). |
checkbox.tick |
dimension |
|
0.75em (A11 _checkbox.scss:2, 53-54). |
color.checkbox.border |
color |
|
A11 _checkbox.scss:6, 37. |
color.checkbox.border-hover |
color |
|
A11 _checkbox.scss:7, 109-115. |
color.checkbox.label |
color |
|
A11 _checkbox.scss:4, 16. |
color.checkbox.label-hover |
color |
|
A11 _checkbox.scss:5, 109-110. |
color.checkbox.tick |
color |
|
The tick takes the resting label colour, A11 _checkbox.scss:9, 56. |
color.focus |
color |
|
Focus glow colour, A11 `shadow-focus` (_mixins.scss:81-83). |
color.on-surface |
color |
|
A4: typography in black or white. |
color.primary.background |
color |
|
A11 _button.scss:11, 110-115. |
color.primary.background-hover |
color |
|
Hover and press, A11 _button.scss:12, 86-91. |
color.primary.foreground |
color |
|
A11 _button.scss:8, 93-101. |
color.primary.foreground-disabled |
color |
|
Disabled label, under the disabled opacity: A11 _button.scss:103-108. |
color.secondary.border |
color |
|
A11 _button.scss:9, 125-129. |
color.secondary.border-hover |
color |
|
Hover and press, A11 _button.scss:10, 118-123. |
color.secondary.foreground |
color |
|
A11 _button.scss:6, 43-51. |
color.secondary.foreground-hover |
color |
|
Hover and press, A11 _button.scss:7, 15-23. |
color.signal.negative |
color |
|
|
color.signal.positive |
color |
|
|
color.signal.warning |
color |
|
|
color.surface |
color |
|
A1: black and dark components are placed on white. |
font.family |
fontFamily |
|
Names only, nothing bundled. Buttons, text buttons and interactive text elements use Audi Type Wide (A4; A5: button labels in "Audi Type Wide Normal"); Verdana is the fallback (A4); `sans-serif` ends the A11 stack (_variables.scss:50). |
font.line-height.control |
dimension |
|
Button line height, A11 `unit(6)` = 6 x 4 px (_button.scss:34, _variables.scss:2). |
font.size.base |
dimension |
|
Base type size on the smallest viewport (A1, A5); also the A11 root and checkbox size (typography/_typography.scss:2, _variables.scss:12). The 18 and 20 px steps need viewport breakpoints that A1 does not give. |
font.size.base-large |
dimension |
|
Base type size, large viewport (A1). |
font.size.base-medium |
dimension |
|
Base type size, medium viewport (A1). |
font.size.control |
dimension |
|
Button font size, A11 `$aui-button-font-size: 15` (_button.scss:1, 32) at the 16 px root. |
font.weight.normal |
fontWeight |
|
A11 `$aui-font-weight-normal` (_variables.scss:53), set on the button (_button.scss:33) and the checkbox (_checkbox.scss:14); A5 names the button weight "Normal". |
motion.duration.button |
duration |
|
Button transition, A11 `all 0.3s` (_button.scss:39). |
motion.duration.checkbox |
duration |
|
Checkbox box transition, A11 `.15s` (_checkbox.scss:38). |
motion.duration.instant |
duration |
|
Choice: reduced motion keeps the end state without animation. |
motion.easing |
cubicBezier |
|
Brand easing curve (A3; also A11 `$aui-easing`, _variables.scss:17). |
motion.easing-linear |
cubicBezier |
|
CSS `linear`, the checkbox box easing of A11 (_checkbox.scss:38), written as the equivalent cubic Bezier. |
motion.transition.button |
transition |
|
A11 `transition: all 0.3s $aui-easing` (_button.scss:39). |
motion.transition.checkbox |
transition |
|
A11 `box-shadow .15s linear, border .15s linear` (_checkbox.scss:38). |
motion.transition.instant |
transition |
|
Choice: reduced motion. |
opacity.disabled |
number |
|
Disabled button (A11 _button.scss:56) and checkbox (`$aui-field-disabled-opacity`, _variables.scss:97, _checkbox.scss:124). |
palette.black |
color |
|
|
palette.grey-10 |
color |
|
|
palette.grey-15 |
color |
|
|
palette.grey-20 |
color |
|
|
palette.grey-30 |
color |
|
30 % black (A2). |
palette.grey-40 |
color |
|
|
palette.grey-5 |
color |
|
5 % black (A2). |
palette.grey-50 |
color |
|
|
palette.grey-60 |
color |
|
|
palette.grey-70 |
color |
|
|
palette.grey-80 |
color |
|
|
palette.grey-90 |
color |
|
90 % black (A2). |
palette.progressive-red |
color |
|
Brand colour only (A2): not used in UI components, so no component references it. |
palette.signal.green-dark |
color |
|
|
palette.signal.green-light |
color |
|
|
palette.signal.red-dark |
color |
|
|
palette.signal.red-light |
color |
|
|
palette.signal.yellow-dark |
color |
|
|
palette.signal.yellow-light |
color |
|
|
palette.transparent |
color |
|
Not an Audi colour: CSS `transparent` (rgba(0, 0, 0, 0)), the button fill and border colour of A11 (_button.scss:49-50). |
palette.white |
color |
|
|
radius.none |
dimension |
|
Square corners: A11 sets no radius on the button (except `--round`) or the checkbox. |
shadow.focus |
shadow |
|
Focus glow 0 0 3px 3px, A11 `shadow-focus` (_mixins.scss:81-83). |
shadow.none |
shadow | ||
shadow.surface |
shadow |
|
UI shadow (A1). |
space.button-group |
dimension |
|
Gap between grouped buttons: 0.25 rem (A5; also A11 `unit()`, _button-group.scss:2), computed at the 16 px root because the generators do not support rem tokens. |
space.page-margin.l |
dimension |
|
|
space.page-margin.m |
dimension |
|
|
space.page-margin.s |
dimension |
|
|
space.page-margin.xl |
dimension |
|
|
space.page-margin.xs |
dimension |
|
|
stroke.thin |
dimension |
|
Button and checkbox border width, A11 (_button.scss:49, _checkbox.scss:37). |
type.checkbox-label |
typography |
|
Checkbox label: weight 400 and line height 1.5 (A11 _checkbox.scss:14-15, _variables.scss:94) at the inherited 16 px size, so the 24 px line equals the box. Letter spacing 0 is a choice, as for the button. |
type.control |
typography |
|
Button label: 15 px on a 24 px line, weight 400 (A11). The line height is computed, never restated. A11 sets no letter spacing (CSS `normal`); 0 is a choice. |
Components
Button
Primary, secondary or text action with an optional leading icon.
Placeholder values for required properties: label = "Label"
appearance = "primary" · disabled = false
appearance = "primary" · disabled = false · hovered
appearance = "primary" · disabled = false · pressed
appearance = "primary" · disabled = false · focus_visible
appearance = "primary" · disabled = true
appearance = "primary" · disabled = true · hovered
appearance = "primary" · disabled = true · pressed
appearance = "primary" · disabled = true · focus_visible
appearance = "secondary" · disabled = false
appearance = "secondary" · disabled = false · hovered
appearance = "secondary" · disabled = false · pressed
appearance = "secondary" · disabled = false · focus_visible
appearance = "secondary" · disabled = true
appearance = "secondary" · disabled = true · hovered
appearance = "secondary" · disabled = true · pressed
appearance = "secondary" · disabled = true · focus_visible
appearance = "text" · disabled = false
appearance = "text" · disabled = false · hovered
appearance = "text" · disabled = false · pressed
appearance = "text" · disabled = false · focus_visible
appearance = "text" · disabled = true
appearance = "text" · disabled = true · hovered
appearance = "text" · disabled = true · pressed
appearance = "text" · disabled = true · focus_visible
Checkbox
Tri-state checkbox (unchecked, checked, mixed) with a controlled value.
Placeholder values for required properties: label = "Label", checked = "unchecked"
checked = "unchecked" · disabled = false · invalid = false
checked = "unchecked" · disabled = false · invalid = false · hovered
checked = "unchecked" · disabled = false · invalid = false · pressed
checked = "unchecked" · disabled = false · invalid = false · focus_visible
checked = "unchecked" · disabled = false · invalid = true
checked = "unchecked" · disabled = false · invalid = true · hovered
checked = "unchecked" · disabled = false · invalid = true · pressed
checked = "unchecked" · disabled = false · invalid = true · focus_visible
checked = "unchecked" · disabled = true · invalid = false
checked = "unchecked" · disabled = true · invalid = false · hovered
checked = "unchecked" · disabled = true · invalid = false · pressed
checked = "unchecked" · disabled = true · invalid = false · focus_visible
checked = "unchecked" · disabled = true · invalid = true
checked = "unchecked" · disabled = true · invalid = true · hovered
checked = "unchecked" · disabled = true · invalid = true · pressed
checked = "unchecked" · disabled = true · invalid = true · focus_visible
checked = "checked" · disabled = false · invalid = false
checked = "checked" · disabled = false · invalid = false · hovered
checked = "checked" · disabled = false · invalid = false · pressed
checked = "checked" · disabled = false · invalid = false · focus_visible
checked = "checked" · disabled = false · invalid = true
checked = "checked" · disabled = false · invalid = true · hovered
checked = "checked" · disabled = false · invalid = true · pressed
checked = "checked" · disabled = false · invalid = true · focus_visible
checked = "checked" · disabled = true · invalid = false
checked = "checked" · disabled = true · invalid = false · hovered
checked = "checked" · disabled = true · invalid = false · pressed
checked = "checked" · disabled = true · invalid = false · focus_visible
checked = "checked" · disabled = true · invalid = true
checked = "checked" · disabled = true · invalid = true · hovered
checked = "checked" · disabled = true · invalid = true · pressed
checked = "checked" · disabled = true · invalid = true · focus_visible
checked = "mixed" · disabled = false · invalid = false
checked = "mixed" · disabled = false · invalid = false · hovered
checked = "mixed" · disabled = false · invalid = false · pressed
checked = "mixed" · disabled = false · invalid = false · focus_visible
checked = "mixed" · disabled = false · invalid = true
checked = "mixed" · disabled = false · invalid = true · hovered
checked = "mixed" · disabled = false · invalid = true · pressed
checked = "mixed" · disabled = false · invalid = true · focus_visible
checked = "mixed" · disabled = true · invalid = false
checked = "mixed" · disabled = true · invalid = false · hovered
checked = "mixed" · disabled = true · invalid = false · pressed
checked = "mixed" · disabled = true · invalid = false · focus_visible
checked = "mixed" · disabled = true · invalid = true
checked = "mixed" · disabled = true · invalid = true · hovered
checked = "mixed" · disabled = true · invalid = true · pressed
checked = "mixed" · disabled = true · invalid = true · focus_visible
ConsentBar
Consent checkbox with back and continue actions.
default