@7shifts/sous-chef 4.15.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/Button/Button.d.ts +5 -1
- package/dist/actions/Link/Link.d.ts +7 -0
- package/dist/actions/PaginationControls/PaginationControls.d.ts +7 -5
- package/dist/actions/Toggle/Toggle.d.ts +2 -0
- package/dist/controls/DateFilter/DateFilter.d.ts +16 -1
- package/dist/controls/SegmentedControl/SegmentedControl.d.ts +6 -0
- package/dist/controls/ToolbarSelect/ToolbarSelect.d.ts +9 -1
- package/dist/core/SousChefProvider/SousChefProvider.d.ts +7 -0
- package/dist/empty_states/EmptyStateContainer/types.d.ts +16 -2
- package/dist/feedback/CircularProgress/CircularProgress.d.ts +1 -0
- package/dist/feedback/InlineBanner/InlineBanner.d.ts +1 -0
- package/dist/feedback/MicroBanner/MicroBanner.d.ts +1 -0
- package/dist/feedback/PersistentBanner/PersistentBanner.d.ts +6 -0
- package/dist/feedback/ProgressBar/ProgressBar.d.ts +7 -1
- package/dist/feedback/Spinner/Spinner.d.ts +6 -0
- package/dist/feedback/Toast/Toast.d.ts +13 -0
- package/dist/forms/CheckboxField/CheckboxField.d.ts +4 -0
- package/dist/forms/CurrencyField/CurrencyField.d.ts +5 -21
- package/dist/forms/DateField/DateField.d.ts +13 -1
- package/dist/forms/DateRangeField/DateRangeCalendar/DateRangeCalendar.d.ts +6 -3
- package/dist/forms/DateRangeField/DateRangeField.d.ts +17 -3
- package/dist/forms/Form/Form.d.ts +13 -2
- package/dist/forms/FormFeedback/FormFeedback.d.ts +1 -0
- package/dist/forms/FormFooter/FormFooter.d.ts +11 -5
- package/dist/forms/FormFooter/FormFooterActions/FormFooterActions.d.ts +2 -5
- package/dist/forms/FormFooter/types.d.ts +10 -0
- package/dist/forms/FormRow/FormRow.d.ts +6 -0
- package/dist/forms/FormSection/FormSection.d.ts +4 -0
- package/dist/forms/MultiSelectField/MultiSelectField.d.ts +6 -2
- package/dist/forms/NumberField/NumberField.d.ts +4 -0
- package/dist/forms/PasswordField/PasswordField.d.ts +3 -0
- package/dist/forms/PercentageField/PercentageField.d.ts +13 -0
- package/dist/forms/PhoneField/PhoneField.d.ts +10 -0
- package/dist/forms/PillSelectField/PillSelectField.d.ts +9 -0
- package/dist/forms/PillSelectField/types.d.ts +2 -0
- package/dist/forms/RadioGroupBoxOption/RadioGroupBoxOption.d.ts +7 -0
- package/dist/forms/RadioGroupField/RadioGroupField.d.ts +8 -1
- package/dist/forms/RadioGroupField/RadioGroupFieldContext.d.ts +2 -1
- package/dist/forms/RadioGroupOption/RadioGroupOption.d.ts +6 -1
- package/dist/forms/SelectField/SelectField.d.ts +20 -3
- package/dist/forms/SelectField/types.d.ts +27 -0
- package/dist/forms/TextAreaField/TextAreaField.d.ts +7 -1
- package/dist/forms/TextField/TextField.d.ts +8 -0
- package/dist/forms/TimeField/TimeField.d.ts +23 -1
- package/dist/forms/TimeRangeField/TimeRangeField.d.ts +15 -2
- package/dist/forms/WeekField/WeekField.d.ts +4 -0
- package/dist/forms/WeekSelectField/WeekSelectField.d.ts +4 -0
- package/dist/forms/hooks/useRadioGroupFieldControllers.d.ts +1 -2
- package/dist/forms/hooks/useSelectFieldControllers.d.ts +2 -2
- package/dist/forms/index.d.ts +2 -0
- package/dist/foundation/tokens/color/color-constants.d.ts +34 -0
- package/dist/foundation/tokens/color/color-types.d.ts +1 -1
- package/dist/foundation/tokens/dimension/dimension-tokens.d.ts +1 -0
- package/dist/foundation/tokens/layout/TokenTable.d.ts +14 -0
- package/dist/foundation/tokens/layout/layout-tokens.d.ts +12 -0
- package/dist/hooks/useIsOverflowing.d.ts +2 -0
- package/dist/index.css +755 -479
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1295 -941
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1431 -1098
- package/dist/index.modern.js.map +1 -1
- package/dist/ink_illustrations/components/design/Ink3DModeling.d.ts +7 -0
- package/dist/ink_illustrations/components/design/index.d.ts +1 -1
- package/dist/ink_illustrations/components/index.d.ts +2 -2
- package/dist/ink_illustrations/components/other/InkSculptureBust.d.ts +7 -0
- package/dist/ink_illustrations/components/other/index.d.ts +1 -1
- package/dist/ink_illustrations/components/{design/Ink3DModeling02.d.ts → travel/InkBoardingPass.d.ts} +2 -2
- package/dist/ink_illustrations/components/travel/InkVolcano.d.ts +7 -0
- package/dist/ink_illustrations/components/travel/index.d.ts +2 -2
- package/dist/ink_illustrations/components/weather/InkSun.d.ts +7 -0
- package/dist/ink_illustrations/components/weather/index.d.ts +1 -1
- package/dist/ink_illustrations/deprecatedAliases.d.ts +27 -0
- package/dist/ink_illustrations/index.d.ts +1 -0
- package/dist/layout/CalloutCard/CalloutCard.d.ts +1 -0
- package/dist/layout/Card/Card.d.ts +14 -0
- package/dist/layout/Inline/Inline.d.ts +20 -4
- package/dist/layout/Page/Page.d.ts +11 -3
- package/dist/layout/Page/PageBreadcrumbs/PageBreadcrumbs.d.ts +2 -2
- package/dist/layout/Page/types.d.ts +11 -2
- package/dist/layout/PageLayout/PageLayout.d.ts +18 -0
- package/dist/layout/PageLayout/types.d.ts +10 -0
- package/dist/layout/Stack/Stack.d.ts +16 -4
- package/dist/layout/index.d.ts +1 -0
- package/dist/lists/Accordion/Accordion.d.ts +10 -0
- package/dist/lists/Accordion/types.d.ts +4 -0
- package/dist/lists/ActionList/ActionList.d.ts +12 -0
- package/dist/lists/ActionList/type.d.ts +5 -0
- package/dist/lists/ActionListItem/ActionListItem.d.ts +17 -0
- package/dist/lists/BasicTable/BasicTable.d.ts +22 -0
- package/dist/lists/BasicTable/BasicTableSectionContext.d.ts +4 -0
- package/dist/lists/BasicTable/constants.d.ts +13 -0
- package/dist/lists/BasicTable/index.d.ts +1 -0
- package/dist/lists/BasicTable/types.d.ts +4 -0
- package/dist/lists/BasicTableBody/BasicTableBody.d.ts +9 -0
- package/dist/lists/BasicTableBody/index.d.ts +1 -0
- package/dist/lists/BasicTableCell/BasicTableCell.d.ts +14 -0
- package/dist/lists/BasicTableCell/index.d.ts +1 -0
- package/dist/lists/BasicTableHeader/BasicTableHeader.d.ts +9 -0
- package/dist/lists/BasicTableHeader/index.d.ts +1 -0
- package/dist/lists/BasicTableRow/BasicTableRow.d.ts +9 -0
- package/dist/lists/BasicTableRow/index.d.ts +1 -0
- package/dist/lists/DataTable/DataTable.d.ts +31 -8
- package/dist/lists/DataTable/types.d.ts +35 -0
- package/dist/lists/DataTableCell/DataTableCell.d.ts +1 -0
- package/dist/lists/DataTableEditableCell/DataTableEditableCell.d.ts +1 -0
- package/dist/lists/DataTableRow/DataTableRow.d.ts +12 -0
- package/dist/lists/index.d.ts +7 -1
- package/dist/media/Avatar/Avatar.d.ts +1 -0
- package/dist/media/Badge/Badge.d.ts +7 -2
- package/dist/media/Pill/Pill.d.ts +8 -0
- package/dist/media/Pill/constants.d.ts +2 -0
- package/dist/media/Pill/types.d.ts +3 -1
- package/dist/navigation/BreadcrumbItem/BreadcrumbItem.d.ts +1 -0
- package/dist/navigation/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/dist/navigation/PrimaryNav/PrimaryNav.d.ts +1 -0
- package/dist/navigation/PrimaryNavFooter/PrimaryNavFooter.d.ts +1 -0
- package/dist/navigation/PrimaryNavItem/PrimaryNavItem.d.ts +1 -0
- package/dist/navigation/PrimaryNavSubItem/PrimaryNavSubItem.d.ts +1 -0
- package/dist/navigation/Tab/Tab.d.ts +1 -0
- package/dist/navigation/TabList/TabList.d.ts +1 -0
- package/dist/navigation/TabPanel/TabPanel.d.ts +1 -0
- package/dist/navigation/Tabs/Tabs.d.ts +1 -0
- package/dist/overlay/Calendar/Calendar.d.ts +15 -4
- package/dist/overlay/Dropdown/Dropdown.d.ts +1 -0
- package/dist/overlay/DropdownListDivider/DropdownListDivider.d.ts +1 -0
- package/dist/overlay/DropdownListItem/DropdownListItem.d.ts +1 -0
- package/dist/overlay/DropdownListItemSelectable/DropdownListItemSelectable.d.ts +1 -0
- package/dist/overlay/DropdownSubmenu/DropdownSubmenu.d.ts +1 -0
- package/dist/overlay/HintModal/HintModal.d.ts +1 -0
- package/dist/overlay/KebabMenu/types.d.ts +5 -0
- package/dist/overlay/Modal/Modal.d.ts +3 -0
- package/dist/overlay/Modal/ModalBody/ModalBody.d.ts +1 -0
- package/dist/overlay/Modal/ModalFooter/ModalFooter.d.ts +11 -6
- package/dist/overlay/Modal/ModalFooter/types.d.ts +10 -0
- package/dist/overlay/Popover/Popover.d.ts +8 -1
- package/dist/overlay/Tooltip/Tooltip.d.ts +2 -1
- package/dist/overlay/index.d.ts +1 -0
- package/dist/typography/KeyboardKey/KeyboardKey.d.ts +1 -0
- package/dist/typography/Text/Bold/Bold.d.ts +1 -0
- package/dist/typography/Text/Italic/Italic.d.ts +1 -0
- package/dist/typography/Text/Text.d.ts +23 -0
- package/dist/typography/Text/Underline/Underline.d.ts +1 -0
- package/dist/utils/formik.d.ts +5 -0
- package/llms-instructions/guidelines/ActionList.guidelines.md +1 -3
- package/llms-instructions/guidelines/Avatar.guidelines.md +6 -5
- package/llms-instructions/guidelines/Badge.guidelines.md +24 -8
- package/llms-instructions/guidelines/BasicTable.guidelines.md +80 -0
- package/llms-instructions/guidelines/Breadcrumbs.guidelines.md +2 -2
- package/llms-instructions/guidelines/Button.guidelines.md +3 -3
- package/llms-instructions/guidelines/Calendar.guidelines.md +12 -0
- package/llms-instructions/guidelines/Card.guidelines.md +2 -2
- package/llms-instructions/guidelines/CircularProgress.guidelines.md +1 -1
- package/llms-instructions/guidelines/DateFilter.guidelines.md +2 -2
- package/llms-instructions/guidelines/Dropdown.guidelines.md +3 -2
- package/llms-instructions/guidelines/EmptyState.guidelines.md +3 -1
- package/llms-instructions/guidelines/{Forms.guidelines.md → Form.guidelines.md} +41 -6
- package/llms-instructions/guidelines/Icons.guidelines.md +11 -10
- package/llms-instructions/guidelines/InkIllustrations.guidelines.md +5 -4
- package/llms-instructions/guidelines/Inline.guidelines.md +55 -0
- package/llms-instructions/guidelines/InlineBanner.guidelines.md +5 -3
- package/llms-instructions/guidelines/MultiSelectField.guidelines.md +2 -2
- package/llms-instructions/guidelines/Page.guidelines.md +65 -0
- package/llms-instructions/guidelines/PageLayout.guidelines.md +85 -0
- package/llms-instructions/guidelines/Paywall.guidelines.md +3 -2
- package/llms-instructions/guidelines/PersistentBanner.guidelines.md +2 -2
- package/llms-instructions/guidelines/Pill.guidelines.md +31 -3
- package/llms-instructions/guidelines/PillSelectField.guidelines.md +1 -1
- package/llms-instructions/guidelines/PrimaryNav.guidelines.md +144 -0
- package/llms-instructions/guidelines/SegmentedControl.guidelines.md +2 -2
- package/llms-instructions/guidelines/Skeleton.guidelines.md +3 -3
- package/llms-instructions/guidelines/Spinner.guidelines.md +6 -4
- package/llms-instructions/guidelines/Stack.guidelines.md +53 -0
- package/llms-instructions/guidelines/Text.guidelines.md +70 -0
- package/llms-instructions/guidelines/Toast.guidelines.md +2 -1
- package/llms-instructions/guidelines/Toggle.guidelines.md +2 -2
- package/llms-instructions/guidelines/ToolbarSelect.guidelines.md +2 -2
- package/llms-instructions/guidelines/Tooltip.guidelines.md +1 -1
- package/llms-instructions/llms-components.md +91 -19
- package/llms-instructions/llms-composing-components.md +583 -219
- package/llms-instructions/llms-icons-and-illustrations.md +305 -1011
- package/llms-instructions/llms-tokens.md +227 -164
- package/llms-instructions/llms.md +12 -28
- package/package.json +2 -2
- package/dist/ink_illustrations/components/other/InkS/321/201ulptureBust.d.ts +0 -7
- package/dist/ink_illustrations/components/travel/InkDrawing.d.ts +0 -7
- package/dist/ink_illustrations/components/travel/InkDrawing1.d.ts +0 -7
- package/dist/ink_illustrations/components/weather/InkGroup7975.d.ts +0 -7
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/Ink3DGlasses.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkAmusementPark.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkBallet.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkBowling.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkCardGames.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkCarouselWithHorses.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkDiscoBall.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkDj.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkFirecracker.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkJoystick.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkMagicTricks.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkMascarade.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkNotesChart.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkRollerSkating.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkSlotMachine.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/InkTheatre.d.ts +0 -0
- /package/dist/ink_illustrations/components/{enterteniment → entertainment}/index.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkAnatomy.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkAsteroid.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkAstronaut.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkBacteria.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkChemistry.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkDna.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkLabTube.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkMicroChips.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkMicroscope.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkNewtonsCradle.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkNuclearEnergy.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkPlanet.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkPlantInTube.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkRobotics.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkSpaceTravel.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/InkTelescope.d.ts +0 -0
- /package/dist/ink_illustrations/components/{sciency → science}/index.d.ts +0 -0
|
@@ -26,1025 +26,319 @@ Example:
|
|
|
26
26
|
</Button>
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Note that, in this case, you DON'T need to use the `Inline` component to align the icon with the text. Also, the icon size is inferred by the `Button` component.
|
|
29
|
+
Note that, in this case, you DON'T need to use the `Inline` component to align the icon with the text. Also, the icon size is inferred by the `Button` component. In isolation, set `size` and `variant` as described below.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
### Icon props
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Most icon components accept the following props. Emojis icons (such as `IconAwful`) have no `variant` prop.
|
|
34
|
+
|
|
35
|
+
| Prop | Type | Default | Description |
|
|
36
|
+
|------|------|---------|-------------|
|
|
37
|
+
| `size` | `"small"` (12px), `"medium"` (16px), `"default"` (20px), `"large"` (24px), `"extra-large"` (40px), `"flexible"` | `"default"` (20px), or `"medium"` inside a `Button` | `"flexible"` sets no width or height, so you size the icon with CSS. |
|
|
38
|
+
| `color` | `string` | `"currentColor"` | A color token name without the `--color-` prefix (e.g. `"danger-color"`, `"success-color"`), or any CSS color. By default the icon takes the color of the surrounding text. It has no effect on the full-colour Emojis icons (`IconAwful`, `IconBad`, `IconDecent`, `IconGood`, `IconGreat`), whose fills are hard-coded; their `Monochromatic` versions are a monochromatic alternative, but only the mouth follows `color`; the face and eyes keep fixed fills. |
|
|
39
|
+
| `variant` | `"outline"`, `"solid"` | `"outline"` | Use `solid` for a selected, active or filled state. The Emojis icons have no variants. |
|
|
40
|
+
| `testId` | `string` | `"icon-<name>"` | Sets `data-testid`. |
|
|
41
|
+
|
|
42
|
+
Other SVG attributes (such as `aria-label`, `aria-hidden`, `role` or `className`) are passed to the `<svg>` element.
|
|
34
43
|
|
|
35
44
|
```tsx
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
</Card>
|
|
45
|
+
<IconExclamationTriangle size="large" color="danger-color" />
|
|
46
|
+
<IconStar variant="solid" />
|
|
39
47
|
```
|
|
40
48
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
- IconCommentLines
|
|
97
|
-
- IconEnvelope
|
|
98
|
-
- IconLanguage
|
|
99
|
-
- IconMessages
|
|
100
|
-
- IconMicrophone
|
|
101
|
-
- IconMobile
|
|
102
|
-
- IconPhone
|
|
103
|
-
- IconVideo
|
|
104
|
-
- IconWifi
|
|
105
|
-
- IconWifiSlash
|
|
106
|
-
|
|
107
|
-
### Controls
|
|
108
|
-
|
|
109
|
-
- IconAICopy
|
|
110
|
-
- IconBarsH
|
|
111
|
-
- IconBold
|
|
112
|
-
- IconCheckCircle
|
|
113
|
-
- IconCog
|
|
114
|
-
- IconCopy
|
|
115
|
-
- IconEdit
|
|
116
|
-
- IconEllipsis
|
|
117
|
-
- IconEllipsisV
|
|
118
|
-
- IconExternalLink
|
|
119
|
-
- IconEye
|
|
120
|
-
- IconEyeSlash
|
|
121
|
-
- IconFile
|
|
122
|
-
- IconGripVertical
|
|
123
|
-
- IconHouse
|
|
124
|
-
- IconImage
|
|
125
|
-
- IconInputText
|
|
126
|
-
- IconItalic
|
|
127
|
-
- IconLink
|
|
128
|
-
- IconList
|
|
129
|
-
- IconListOl
|
|
130
|
-
- IconListRadio
|
|
131
|
-
- IconLock
|
|
132
|
-
- IconMemoMagnifyingGlass
|
|
133
|
-
- IconMinus
|
|
134
|
-
- IconMinusCircle
|
|
135
|
-
- IconPaperPlane
|
|
136
|
-
- IconPaperPlaneClock
|
|
137
|
-
- IconPaperclip
|
|
138
|
-
- IconPencil
|
|
139
|
-
- IconPlus
|
|
140
|
-
- IconPrint
|
|
141
|
-
- IconSearch
|
|
142
|
-
- IconSignIn
|
|
143
|
-
- IconSignOut
|
|
144
|
-
- IconSlidersH
|
|
145
|
-
- IconSortChevron
|
|
146
|
-
- IconSortChevronDown
|
|
147
|
-
- IconSortChevronUp
|
|
148
|
-
- IconStrikethrough
|
|
149
|
-
- IconTimes
|
|
150
|
-
- IconTrash
|
|
151
|
-
- IconUnderline
|
|
152
|
-
- IconUnlock
|
|
153
|
-
- IconVolume
|
|
154
|
-
- IconVolumeMute
|
|
155
|
-
- IconWrench
|
|
156
|
-
|
|
157
|
-
### Emojis
|
|
158
|
-
|
|
159
|
-
- IconAwful
|
|
160
|
-
- IconAwfulMonochromatic
|
|
161
|
-
- IconBad
|
|
162
|
-
- IconBadMonochromatic
|
|
163
|
-
- IconDecent
|
|
164
|
-
- IconDecentMonochromatic
|
|
165
|
-
- IconGood
|
|
166
|
-
- IconGoodMonochromatic
|
|
167
|
-
- IconGreat
|
|
168
|
-
- IconGreatMonochromatic
|
|
169
|
-
|
|
170
|
-
### Human
|
|
171
|
-
|
|
172
|
-
- IconAddressBook
|
|
173
|
-
- IconFaceSmileRelaxed
|
|
174
|
-
- IconFileUser
|
|
175
|
-
- IconGrinBeam
|
|
176
|
-
- IconHand
|
|
177
|
-
- IconHandPointRight
|
|
178
|
-
- IconHandshake
|
|
179
|
-
- IconStar
|
|
180
|
-
- IconThumbsDown
|
|
181
|
-
- IconThumbsUp
|
|
182
|
-
- IconUser
|
|
183
|
-
- IconUserComputer
|
|
184
|
-
- IconUserFriends
|
|
185
|
-
- IconUserPlus
|
|
186
|
-
- IconUserSearch
|
|
187
|
-
- IconUserSlash
|
|
188
|
-
- IconUserTag
|
|
189
|
-
- IconUserTie
|
|
190
|
-
- IconUsers
|
|
191
|
-
|
|
192
|
-
### Image
|
|
193
|
-
|
|
194
|
-
- IconBirthdayCake
|
|
195
|
-
- IconBolt
|
|
196
|
-
- IconBriefcase
|
|
197
|
-
- IconBullseyeArrow
|
|
198
|
-
- IconClipboardList
|
|
199
|
-
- IconColorPalette
|
|
200
|
-
- IconDownload
|
|
201
|
-
- IconFilePdf
|
|
202
|
-
- IconFlag
|
|
203
|
-
- IconFourDotsCircle
|
|
204
|
-
- IconFourSquares
|
|
205
|
-
- IconGavel
|
|
206
|
-
- IconGif
|
|
207
|
-
- IconGift
|
|
208
|
-
- IconGlobe
|
|
209
|
-
- IconHatChef
|
|
210
|
-
- IconIslandTropical
|
|
211
|
-
- IconLaptopSearch
|
|
212
|
-
- IconMagic
|
|
213
|
-
- IconMapMarker
|
|
214
|
-
- IconMedal
|
|
215
|
-
- IconMugSaucer
|
|
216
|
-
- IconNotesMedical
|
|
217
|
-
- IconPlateUtensils
|
|
218
|
-
- IconPlug
|
|
219
|
-
- IconRocket
|
|
220
|
-
- IconSchool
|
|
221
|
-
- IconSparkle
|
|
222
|
-
- IconStickyNoteLines
|
|
223
|
-
- IconStore
|
|
224
|
-
- IconTachometer
|
|
225
|
-
- IconTemperature
|
|
226
|
-
- IconThreeSquares
|
|
227
|
-
- IconUniversity
|
|
228
|
-
|
|
229
|
-
### Status
|
|
230
|
-
|
|
231
|
-
- IconAward
|
|
232
|
-
- IconAwardSimple
|
|
233
|
-
- IconBan
|
|
234
|
-
- IconCheck
|
|
235
|
-
- IconCheckCircleIncomplete
|
|
236
|
-
- IconCheckCircleIncompleteRole
|
|
237
|
-
- IconCheckCircleIncompleteUser
|
|
238
|
-
- IconCircleHalfStroke
|
|
239
|
-
- IconCircleXMark
|
|
240
|
-
- IconDeleteLeft
|
|
241
|
-
- IconExclamation
|
|
242
|
-
- IconExclamationTriangle
|
|
243
|
-
- IconInfinity
|
|
244
|
-
- IconInfoCircle
|
|
245
|
-
- IconQuestionCircle
|
|
246
|
-
- IconTimesOctagon
|
|
247
|
-
|
|
248
|
-
### Time
|
|
249
|
-
|
|
250
|
-
- IconCalendar
|
|
251
|
-
- IconCalendarAlt
|
|
252
|
-
- IconCalendarCheck
|
|
253
|
-
- IconCalendarDay
|
|
254
|
-
- IconCalendarExclamation
|
|
255
|
-
- IconCalendarStar
|
|
256
|
-
- IconCalendarWeek
|
|
257
|
-
- IconClock
|
|
258
|
-
- IconClockExclamation
|
|
259
|
-
- IconClockRewind
|
|
260
|
-
- IconOvertime
|
|
261
|
-
- IconStopwatch
|
|
49
|
+
### Icon accessibility
|
|
50
|
+
|
|
51
|
+
- An icon next to visible text is decorative. Hide it from screen readers with `aria-hidden`, so the text is read once.
|
|
52
|
+
- An icon-only `Button` has no visible label. `Button` does not accept `aria-label`, so name the icon itself with `role="img"` and `aria-label`, and set the `Button` `title` so sighted users get a tooltip.
|
|
53
|
+
- An icon that conveys meaning on its own (such as a status icon in a table cell) also needs `role="img"` and an `aria-label`.
|
|
54
|
+
- Never use an icon as the only way to show an error or a status. Pair it with text.
|
|
55
|
+
|
|
56
|
+
```tsx
|
|
57
|
+
<Button theme="link-icon" title="Delete shift" onClick={onDelete}>
|
|
58
|
+
<IconTrash role="img" aria-label="Delete shift" />
|
|
59
|
+
</Button>
|
|
60
|
+
|
|
61
|
+
<Button onClick={onSave}>
|
|
62
|
+
<IconCheck aria-hidden />
|
|
63
|
+
Save
|
|
64
|
+
</Button>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Available icon components
|
|
68
|
+
|
|
69
|
+
#### Arrows
|
|
70
|
+
|
|
71
|
+
IconArrowDown IconArrowDownWideShort IconArrowLeft IconArrowLeftRight IconArrowRight IconArrowToTop IconArrowTurnDownRight IconArrowUp IconChevronDown IconChevronLeft IconChevronRight IconChevronUp IconExpand IconRepeat IconReply IconSort IconSync IconSyncExclamation IconUndo
|
|
72
|
+
|
|
73
|
+
#### Business
|
|
74
|
+
|
|
75
|
+
IconAnalytics IconBalanceScale IconBalanceScaleLeft IconBarsV IconBook IconCalculator IconCashRegister IconChartBar IconCreditCard IconCreditCardPlus IconDollarSign IconEnvelopeOpenDollar IconGanttChart IconHandHoldingCoin IconHandHoldingDollar IconMoneyBill IconPercentage IconSitemap IconTable
|
|
76
|
+
|
|
77
|
+
#### Communication
|
|
78
|
+
|
|
79
|
+
IconBell IconBullhorn IconCamera IconCameraSlash IconComment IconCommentLines IconEnvelope IconLanguage IconMessages IconMicrophone IconMobile IconPhone IconVideo IconWifi IconWifiSlash
|
|
80
|
+
|
|
81
|
+
#### Controls
|
|
82
|
+
|
|
83
|
+
IconAICopy IconBarsH IconBold IconCheckCircle IconCog IconCopy IconEdit IconEllipsis IconEllipsisV IconExternalLink IconEye IconEyeSlash IconFile IconGripVertical IconHouse IconImage IconInputText IconItalic IconLink IconList IconListOl IconListRadio IconLock IconMemoMagnifyingGlass IconMinus IconMinusCircle IconPaperPlane IconPaperPlaneClock IconPaperclip IconPencil IconPlus IconPrint IconSearch IconSignIn IconSignOut IconSlidersH IconSortChevron IconSortChevronDown IconSortChevronUp IconStrikethrough IconTimes IconTrash IconUnderline IconUnlock IconVolume IconVolumeMute IconWrench
|
|
84
|
+
|
|
85
|
+
#### Emojis
|
|
86
|
+
|
|
87
|
+
IconAwful IconAwfulMonochromatic IconBad IconBadMonochromatic IconDecent IconDecentMonochromatic IconGood IconGoodMonochromatic IconGreat IconGreatMonochromatic
|
|
88
|
+
|
|
89
|
+
#### Human
|
|
90
|
+
|
|
91
|
+
IconAddressBook IconFaceSmileRelaxed IconFileUser IconGrinBeam IconHand IconHandPointRight IconHandshake IconStar IconThumbsDown IconThumbsUp IconUser IconUserComputer IconUserFriends IconUserPlus IconUserSearch IconUserSlash IconUserTag IconUserTie IconUsers
|
|
92
|
+
|
|
93
|
+
#### Image
|
|
94
|
+
|
|
95
|
+
IconBirthdayCake IconBolt IconBriefcase IconBullseyeArrow IconClipboardList IconColorPalette IconDownload IconFilePdf IconFlag IconFourDotsCircle IconFourSquares IconGavel IconGif IconGift IconGlobe IconHatChef IconIslandTropical IconLaptopSearch IconMagic IconMapMarker IconMedal IconMugSaucer IconNotesMedical IconPlateUtensils IconPlug IconRocket IconSchool IconSparkle IconStickyNoteLines IconStore IconTachometer IconTemperature IconThreeSquares IconUniversity
|
|
96
|
+
|
|
97
|
+
#### Status
|
|
98
|
+
|
|
99
|
+
IconAward IconAwardSimple IconBan IconCheck IconCheckCircleIncomplete IconCheckCircleIncompleteRole IconCheckCircleIncompleteUser IconCircleHalfStroke IconCircleXMark IconDeleteLeft IconExclamation IconExclamationTriangle IconInfinity IconInfoCircle IconQuestionCircle IconTimesOctagon
|
|
100
|
+
|
|
101
|
+
#### Time
|
|
102
|
+
|
|
103
|
+
IconCalendar IconCalendarAlt IconCalendarCheck IconCalendarDay IconCalendarExclamation IconCalendarStar IconCalendarWeek IconClock IconClockExclamation IconClockRewind IconOvertime IconStopwatch
|
|
262
104
|
|
|
263
105
|
## Ink Illustrations
|
|
264
106
|
|
|
265
|
-
Ink illustrations are a more detailed form of media that can be used at larger sizes than icons. They are
|
|
107
|
+
Ink illustrations are a more detailed form of media that can be used at larger sizes than icons. They are used in empty states, first-time user experiences, wizards, success moments and other areas.
|
|
266
108
|
It can also be used in cards or containers with a solid color, and can be used in bento layouts as well.
|
|
267
109
|
|
|
268
|
-
Ink illustrations are monochromatic
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
-
|
|
410
|
-
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
-
|
|
417
|
-
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
-
|
|
424
|
-
-
|
|
425
|
-
-
|
|
426
|
-
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
###
|
|
451
|
-
|
|
452
|
-
-
|
|
453
|
-
-
|
|
454
|
-
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
-
|
|
459
|
-
-
|
|
460
|
-
-
|
|
461
|
-
-
|
|
462
|
-
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
-
|
|
469
|
-
-
|
|
470
|
-
-
|
|
471
|
-
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
-
|
|
476
|
-
-
|
|
477
|
-
-
|
|
478
|
-
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
-
|
|
493
|
-
-
|
|
494
|
-
-
|
|
495
|
-
-
|
|
496
|
-
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
-
|
|
501
|
-
-
|
|
502
|
-
-
|
|
503
|
-
|
|
504
|
-
### Hands
|
|
505
|
-
|
|
506
|
-
- InkCrossedFingers
|
|
507
|
-
- InkFingerSnap
|
|
508
|
-
- InkFingerWalking
|
|
509
|
-
- InkFistRaised
|
|
510
|
-
- InkHandMeasuringHorizontally
|
|
511
|
-
- InkHandMeasuringVertically
|
|
512
|
-
- InkHandMeditationGesture
|
|
513
|
-
- InkHandRaised
|
|
514
|
-
- InkHandSignCall
|
|
515
|
-
- InkHandSignChill
|
|
516
|
-
- InkHandSignHalfHeartLeft
|
|
517
|
-
- InkHandSignLittle
|
|
518
|
-
- InkHandSignRock
|
|
519
|
-
- InkHandSignStop
|
|
520
|
-
- InkHandThreeFingers
|
|
521
|
-
- InkHandVictoryLeftHand
|
|
522
|
-
- InkHandVictoryRightHand
|
|
523
|
-
- InkHandVulcanSalute
|
|
524
|
-
- InkHandWaving
|
|
525
|
-
- InkHandWithCamera
|
|
526
|
-
- InkHandWithCards
|
|
527
|
-
- InkHandWithChopsticks
|
|
528
|
-
- InkHandWithCigarette
|
|
529
|
-
- InkHandWithCoins
|
|
530
|
-
- InkHandWithCreditCard
|
|
531
|
-
- InkHandWithCup
|
|
532
|
-
- InkHandWithDiamonds
|
|
533
|
-
- InkHandWithDices
|
|
534
|
-
- InkHandWithGem
|
|
535
|
-
- InkHandWithGift
|
|
536
|
-
- InkHandWithGlass
|
|
537
|
-
- InkHandWithMagicWand
|
|
538
|
-
- InkHandWithPaletteknifePainting
|
|
539
|
-
- InkHandWithPencilDrawing
|
|
540
|
-
- InkHandWithPhone
|
|
541
|
-
- InkHandWithPuzzle
|
|
542
|
-
- InkHandWithRose
|
|
543
|
-
- InkHandWithSeedsPlanting
|
|
544
|
-
- InkHandWithSmartPen
|
|
545
|
-
- InkHandWithSpray
|
|
546
|
-
- InkHandWithToothBrush
|
|
547
|
-
- InkHandWithWatches
|
|
548
|
-
- InkHandWithWipingCloth
|
|
549
|
-
- InkIndexPointingDown
|
|
550
|
-
- InkMakingPhotoOnPhone
|
|
551
|
-
- InkPushingButton
|
|
552
|
-
- InkThumbBackDirection
|
|
553
|
-
- InkThumbsUp
|
|
554
|
-
|
|
555
|
-
### Health
|
|
556
|
-
|
|
557
|
-
- InkAmbulance
|
|
558
|
-
- InkBandAid
|
|
559
|
-
- InkBloodBagForTransfusion
|
|
560
|
-
- InkCardiogramMonitor
|
|
561
|
-
- InkCrutches
|
|
562
|
-
- InkDiagnosisDocument
|
|
563
|
-
- InkDigitalThermometer
|
|
564
|
-
- InkDropperContainer
|
|
565
|
-
- InkEar
|
|
566
|
-
- InkEyeDropper
|
|
567
|
-
- InkFaceMask
|
|
568
|
-
- InkHeadMirror
|
|
569
|
-
- InkHospitalBed
|
|
570
|
-
- InkInhaler
|
|
571
|
-
- InkKidney
|
|
572
|
-
- InkLabTest
|
|
573
|
-
- InkLungs
|
|
574
|
-
- InkMaleFemaleSex
|
|
575
|
-
- InkMedicalKit
|
|
576
|
-
- InkNasalSpray
|
|
577
|
-
- InkOintment
|
|
578
|
-
- InkPharmacyStore
|
|
579
|
-
- InkPillsBlisterPack
|
|
580
|
-
- InkPillsContainer
|
|
581
|
-
- InkPills
|
|
582
|
-
- InkSanitizer
|
|
583
|
-
- InkStethoscope
|
|
584
|
-
- InkStomach
|
|
585
|
-
- InkSyringe
|
|
586
|
-
- InkTooth
|
|
587
|
-
- InkVirus
|
|
588
|
-
- InkWalkingFrame
|
|
589
|
-
|
|
590
|
-
### Holidays
|
|
591
|
-
|
|
592
|
-
- InkBirthdayCakeSlice
|
|
593
|
-
- InkBirthdayCap
|
|
594
|
-
- InkCandies
|
|
595
|
-
- InkChampagneCheers
|
|
596
|
-
- InkChristmasAngel
|
|
597
|
-
- InkChristmasBells
|
|
598
|
-
- InkChristmasElf
|
|
599
|
-
- InkChristmasSack
|
|
600
|
-
- InkChristmasSnowman
|
|
601
|
-
- InkChristmasStar
|
|
602
|
-
- InkChristmasStocking
|
|
603
|
-
- InkChristmasTreeBall1
|
|
604
|
-
- InkChristmasTreeBall2
|
|
605
|
-
- InkChristmasTree
|
|
606
|
-
- InkChristmasWreath
|
|
607
|
-
- InkCookieMan
|
|
608
|
-
- InkFireworks
|
|
609
|
-
- InkFlowerBouquet
|
|
610
|
-
- InkHalloweenGhost1
|
|
611
|
-
- InkHalloweenGhost2
|
|
612
|
-
- InkHalloweenJack
|
|
613
|
-
- InkHanukkah
|
|
614
|
-
- InkIndependenceDayGrill
|
|
615
|
-
- InkMagicWand
|
|
616
|
-
- InkSparkles1
|
|
617
|
-
- InkSparkles2
|
|
618
|
-
- InkSparkles3
|
|
619
|
-
- InkStPatricksDayClover
|
|
620
|
-
- InkValentinesDayTeddy
|
|
621
|
-
|
|
622
|
-
### Marketing
|
|
623
|
-
|
|
624
|
-
- InkAiAutomation
|
|
625
|
-
- InkBarChartUp
|
|
626
|
-
- InkCogs
|
|
627
|
-
- InkContentImage
|
|
628
|
-
- InkContentVideo
|
|
629
|
-
- InkDataFlow
|
|
630
|
-
- InkDataReport
|
|
631
|
-
- InkEmailInbox
|
|
632
|
-
- InkEmailOpened
|
|
633
|
-
- InkEmail
|
|
634
|
-
- InkFireTrending
|
|
635
|
-
- InkFlag
|
|
636
|
-
- InkInstagramPost
|
|
637
|
-
- InkLink
|
|
638
|
-
- InkLockUnlocked
|
|
639
|
-
- InkMarketingCampaign
|
|
640
|
-
- InkMessageInformation
|
|
641
|
-
- InkMessageQuestionsFaq
|
|
642
|
-
- InkMoneyMetricUp
|
|
643
|
-
- InkMoneySearch
|
|
644
|
-
- InkNews
|
|
645
|
-
- InkNotificationHashtag
|
|
646
|
-
- InkPresentationLive
|
|
647
|
-
- InkPresentationReport
|
|
648
|
-
- InkPrivacyGdpr
|
|
649
|
-
- InkStaircaseUp
|
|
650
|
-
- InkTimer
|
|
651
|
-
- InkUploadToCloud
|
|
652
|
-
- InkWorkingByDesk
|
|
653
|
-
|
|
654
|
-
### Music
|
|
655
|
-
|
|
656
|
-
- InkBanjo
|
|
657
|
-
- InkBoombox
|
|
658
|
-
- InkCassetteTape
|
|
659
|
-
- InkCastanets
|
|
660
|
-
- InkCongasDrum
|
|
661
|
-
- InkDigitalPiano
|
|
662
|
-
- InkDjembeAfricanDrum
|
|
663
|
-
- InkDrumSet
|
|
664
|
-
- InkDrum
|
|
665
|
-
- InkFlute
|
|
666
|
-
- InkGuitar
|
|
667
|
-
- InkHarmonica
|
|
668
|
-
- InkHarp
|
|
669
|
-
- InkHorn
|
|
670
|
-
- InkKalimba
|
|
671
|
-
- InkMaracas
|
|
672
|
-
- InkMetronome
|
|
673
|
-
- InkOcarina
|
|
674
|
-
- InkPanflute
|
|
675
|
-
- InkPiano
|
|
676
|
-
- InkPlates
|
|
677
|
-
- InkSaxophone
|
|
678
|
-
- InkSubwoofer
|
|
679
|
-
- InkTambourine
|
|
680
|
-
- InkTriangle
|
|
681
|
-
- InkTrumpet
|
|
682
|
-
- InkTuningFork
|
|
683
|
-
- InkVinylRecordPlayer
|
|
684
|
-
- InkVinylRecord
|
|
685
|
-
- InkViolin
|
|
686
|
-
- InkVocalMicrophone
|
|
687
|
-
- InkXylophone
|
|
688
|
-
|
|
689
|
-
### Nature
|
|
690
|
-
|
|
691
|
-
- InkBamboo
|
|
692
|
-
- InkCherryBlossoms
|
|
693
|
-
- InkChestnut
|
|
694
|
-
- InkEarWheat
|
|
695
|
-
- InkFourLeafClover
|
|
696
|
-
- InkHazelnut
|
|
697
|
-
- InkLeaf1
|
|
698
|
-
- InkLeaf2
|
|
699
|
-
- InkMushroom
|
|
700
|
-
- InkPalm
|
|
701
|
-
- InkReedGrass
|
|
702
|
-
- InkSunflower
|
|
703
|
-
- InkTreeEvergreen
|
|
704
|
-
- InkTreeStump
|
|
705
|
-
- InkTree
|
|
706
|
-
- InkVaseWithWildflowers
|
|
707
|
-
|
|
708
|
-
### Office
|
|
709
|
-
|
|
710
|
-
- InkBooksStack
|
|
711
|
-
- InkBooks
|
|
712
|
-
- InkBoxOpened
|
|
713
|
-
- InkCalculator
|
|
714
|
-
- InkClassicPhone
|
|
715
|
-
- InkCoffeeMug
|
|
716
|
-
- InkComputerMouse
|
|
717
|
-
- InkCorkNoticeBoard
|
|
718
|
-
- InkCutterPaperKnife
|
|
719
|
-
- InkDeskLamp
|
|
720
|
-
- InkDuctTape
|
|
721
|
-
- InkDumbbell
|
|
722
|
-
- InkElectricCoolingFan
|
|
723
|
-
- InkEmployeeIdBadge
|
|
724
|
-
- InkEmployeeOfMonth
|
|
725
|
-
- InkEraser
|
|
726
|
-
- InkExtensionCableCord
|
|
727
|
-
- InkFileFolder
|
|
728
|
-
- InkFlashDriveUsb
|
|
729
|
-
- InkHeadphones
|
|
730
|
-
- InkKeyboard
|
|
731
|
-
- InkLaptop
|
|
732
|
-
- InkMarker
|
|
733
|
-
- InkOfficeChair01
|
|
734
|
-
- InkOfficeChair02
|
|
735
|
-
- InkOfficeNotebook
|
|
736
|
-
- InkOfficePlant1
|
|
737
|
-
- InkOfficePlant2
|
|
738
|
-
- InkOfficePlant3
|
|
739
|
-
- InkOfficeProjector
|
|
740
|
-
- InkOfficeSnack
|
|
741
|
-
- InkPaperClip
|
|
742
|
-
- InkPaperShredder
|
|
743
|
-
- InkPen
|
|
744
|
-
- InkPencilSharpener
|
|
745
|
-
- InkPrinter
|
|
746
|
-
- InkSandglass
|
|
747
|
-
- InkScanner
|
|
748
|
-
- InkScissors
|
|
749
|
-
- InkShelfWithBooks
|
|
750
|
-
- InkSmartphone
|
|
751
|
-
- InkStapler
|
|
752
|
-
- InkStickyNotes
|
|
753
|
-
- InkTrashBin
|
|
754
|
-
- InkUsbDrive01
|
|
755
|
-
- InkUsbDrive02
|
|
756
|
-
- InkUsbHub
|
|
757
|
-
- InkWallCalendar
|
|
758
|
-
- InkWallClock
|
|
759
|
-
- InkWebCamera
|
|
760
|
-
- InkWifiRouter
|
|
761
|
-
- InkWorkingTable
|
|
762
|
-
|
|
763
|
-
### Other
|
|
764
|
-
|
|
765
|
-
- InkAirBalloon
|
|
766
|
-
- InkBackpack
|
|
767
|
-
- InkCowboyHat
|
|
768
|
-
- InkCrown
|
|
769
|
-
- InkDolphin
|
|
770
|
-
- InkFlowerVase
|
|
771
|
-
- InkGiftBox
|
|
772
|
-
- InkHare
|
|
773
|
-
- InkJuiceCarton
|
|
774
|
-
- InkMicrophone
|
|
775
|
-
- InkPaperPlane
|
|
776
|
-
- InkPartyHat
|
|
777
|
-
- InkPokemon
|
|
778
|
-
- InkSсulptureBust
|
|
779
|
-
- InkWallet
|
|
780
|
-
|
|
781
|
-
### People
|
|
782
|
-
|
|
783
|
-
- InkCouple01
|
|
784
|
-
- InkCouple02
|
|
785
|
-
- InkCouple03
|
|
786
|
-
- InkMan01
|
|
787
|
-
- InkMan02
|
|
788
|
-
- InkMan03
|
|
789
|
-
- InkMan04
|
|
790
|
-
- InkMan05
|
|
791
|
-
- InkMan06
|
|
792
|
-
- InkMan07
|
|
793
|
-
- InkMan08
|
|
794
|
-
- InkMan09
|
|
795
|
-
- InkMan10
|
|
796
|
-
- InkMan11
|
|
797
|
-
- InkMan12
|
|
798
|
-
- InkMan13
|
|
799
|
-
- InkMan14
|
|
800
|
-
- InkMan15
|
|
801
|
-
- InkMan16
|
|
802
|
-
- InkMan17
|
|
803
|
-
- InkWoman01
|
|
804
|
-
- InkWoman02
|
|
805
|
-
- InkWoman03
|
|
806
|
-
- InkWoman04
|
|
807
|
-
- InkWoman05
|
|
808
|
-
- InkWoman06
|
|
809
|
-
- InkWoman07
|
|
810
|
-
- InkWoman08
|
|
811
|
-
- InkWoman09
|
|
812
|
-
- InkWoman10
|
|
813
|
-
- InkWoman11
|
|
814
|
-
- InkWoman12
|
|
815
|
-
|
|
816
|
-
### Pets
|
|
817
|
-
|
|
818
|
-
- InkBirdCage
|
|
819
|
-
- InkCatFace
|
|
820
|
-
- InkCatPlaying
|
|
821
|
-
- InkCatStanding
|
|
822
|
-
- InkDogFace
|
|
823
|
-
- InkDogHouse
|
|
824
|
-
- InkDogStanding
|
|
825
|
-
- InkDogToy
|
|
826
|
-
- InkFishAquarium
|
|
827
|
-
- InkPetBowl
|
|
828
|
-
- InkPetCollar
|
|
829
|
-
- InkPetCrate
|
|
830
|
-
- InkPetFood
|
|
831
|
-
- InkPetLitterShovel
|
|
832
|
-
- InkRabbit
|
|
833
|
-
- InkSnake
|
|
834
|
-
|
|
835
|
-
### Sciency
|
|
836
|
-
|
|
837
|
-
- InkAnatomy
|
|
838
|
-
- InkAsteroid
|
|
839
|
-
- InkAstronaut
|
|
840
|
-
- InkBacteria
|
|
841
|
-
- InkChemistry
|
|
842
|
-
- InkDna
|
|
843
|
-
- InkLabTube
|
|
844
|
-
- InkMicroChips
|
|
845
|
-
- InkMicroscope
|
|
846
|
-
- InkNewtonsCradle
|
|
847
|
-
- InkNuclearEnergy
|
|
848
|
-
- InkPlanet
|
|
849
|
-
- InkPlantInTube
|
|
850
|
-
- InkRobotics
|
|
851
|
-
- InkSpaceTravel
|
|
852
|
-
- InkTelescope
|
|
853
|
-
|
|
854
|
-
### Shop
|
|
855
|
-
|
|
856
|
-
- InkBillCheck
|
|
857
|
-
- InkBox
|
|
858
|
-
- InkClosed
|
|
859
|
-
- InkCreditCard
|
|
860
|
-
- InkDiscountTag
|
|
861
|
-
- InkDollarBill
|
|
862
|
-
- InkGoShopping
|
|
863
|
-
- InkLuxuryJewellery
|
|
864
|
-
- InkOpenAllDay24Hours
|
|
865
|
-
- InkOpen
|
|
866
|
-
- InkPosTerminalMachine
|
|
867
|
-
- InkQrCodeScanMobile
|
|
868
|
-
- InkQrCode
|
|
869
|
-
- InkSavingMoney
|
|
870
|
-
- InkShoppingBasket
|
|
871
|
-
- InkStoreShop
|
|
872
|
-
|
|
873
|
-
### Sport
|
|
874
|
-
|
|
875
|
-
- InkAlpinist
|
|
876
|
-
- InkAmericanFootball
|
|
877
|
-
- InkBarbell
|
|
878
|
-
- InkBaseballBatWithBall
|
|
879
|
-
- InkBaseball
|
|
880
|
-
- InkBasketball
|
|
881
|
-
- InkBoxingGloves
|
|
882
|
-
- InkBoxing
|
|
883
|
-
- InkCanoeist
|
|
884
|
-
- InkCardioExerciseAthletePowerlifterWithBarbell
|
|
885
|
-
- InkCoachWhistle
|
|
886
|
-
- InkCurlingStone
|
|
887
|
-
- InkCyclistBicycle
|
|
888
|
-
- InkFencerSwordsmanWithSaber
|
|
889
|
-
- InkFitnessTracker
|
|
890
|
-
- InkFootballPlayer
|
|
891
|
-
- InkFrisbee
|
|
892
|
-
- InkGolfClubSet
|
|
893
|
-
- InkGolfTennisHatCap
|
|
894
|
-
- InkHandBandage
|
|
895
|
-
- InkHockeyPlayer
|
|
896
|
-
- InkHockeyStickWithPuck
|
|
897
|
-
- InkIceSkating
|
|
898
|
-
- InkJumpingRopes
|
|
899
|
-
- InkKarateMaster
|
|
900
|
-
- InkKettlebell
|
|
901
|
-
- InkLifeJacket
|
|
902
|
-
- InkMotocrossMotorcycle
|
|
903
|
-
- InkPoleVaultAthleteJumper
|
|
904
|
-
- InkPunchingBoxingBag
|
|
905
|
-
- InkResistanceBand
|
|
906
|
-
- InkReusableWaterBottleWithEnergyDrink
|
|
907
|
-
- InkReusableWaterBottle
|
|
908
|
-
- InkRollerSkates
|
|
909
|
-
- InkRunning
|
|
910
|
-
- InkSkateboarder
|
|
911
|
-
- InkSkates
|
|
912
|
-
- InkSkier
|
|
913
|
-
- InkSnorkeling
|
|
914
|
-
- InkSnowboarder
|
|
915
|
-
- InkSoccer
|
|
916
|
-
- InkSportBag
|
|
917
|
-
- InkSportsHockeyFootballHelmet
|
|
918
|
-
- InkSumoWrestler
|
|
919
|
-
- InkSurferSurfboard
|
|
920
|
-
- InkSwimmingGogglesWithCap
|
|
921
|
-
- InkTableTennis
|
|
922
|
-
- InkTennisShuttlecock
|
|
923
|
-
- InkTennis
|
|
924
|
-
- InkVolleyball
|
|
925
|
-
|
|
926
|
-
### Therapy
|
|
927
|
-
|
|
928
|
-
- InkBalanceYinYang
|
|
929
|
-
- InkBrokenHeart
|
|
930
|
-
- InkGroupOnlineTherapy
|
|
931
|
-
- InkHumanMoods
|
|
932
|
-
- InkIndividualOnlineTherapy
|
|
933
|
-
- InkMindDepression
|
|
934
|
-
- InkMindEnergyLevels
|
|
935
|
-
- InkMindProblemSolving
|
|
936
|
-
- InkMindQuestion
|
|
937
|
-
- InkMindThoughtProcess
|
|
938
|
-
- InkPsychiatryNeurons
|
|
939
|
-
- InkPsychologySymbol
|
|
940
|
-
- InkPsychotherapistTakingNotes
|
|
941
|
-
- InkStoneStacking
|
|
942
|
-
- InkYogaMan
|
|
943
|
-
- InkYogaWoman
|
|
944
|
-
|
|
945
|
-
### Transport
|
|
946
|
-
|
|
947
|
-
- InkAirPlane
|
|
948
|
-
- InkBicycle
|
|
949
|
-
- InkBus
|
|
950
|
-
- InkCableCar
|
|
951
|
-
- InkCarKey1
|
|
952
|
-
- InkCarKey2
|
|
953
|
-
- InkCar
|
|
954
|
-
- InkCargoShip
|
|
955
|
-
- InkCrane
|
|
956
|
-
- InkCruiseShip
|
|
957
|
-
- InkDirigible
|
|
958
|
-
- InkDoubleDecker
|
|
959
|
-
- InkGasStationPump
|
|
960
|
-
- InkHelicopter
|
|
961
|
-
- InkHighSpeedTrain
|
|
962
|
-
- InkHotAirBalloon
|
|
963
|
-
- InkKayak
|
|
964
|
-
- InkMoped
|
|
965
|
-
- InkMotorbike
|
|
966
|
-
- InkPowerBoat1
|
|
967
|
-
- InkPowerBoat2
|
|
968
|
-
- InkRv
|
|
969
|
-
- InkSailboat
|
|
970
|
-
- InkScooter
|
|
971
|
-
- InkSegway
|
|
972
|
-
- InkSemi
|
|
973
|
-
- InkSkateboard
|
|
974
|
-
- InkSubmarine
|
|
975
|
-
- InkTractor
|
|
976
|
-
- InkTrafficLight
|
|
977
|
-
- InkTram
|
|
978
|
-
- InkWaterScooter
|
|
979
|
-
|
|
980
|
-
### Travel
|
|
981
|
-
|
|
982
|
-
- InkAirplanePillow
|
|
983
|
-
- InkAviatorSunglasses
|
|
984
|
-
- InkBonfire
|
|
985
|
-
- InkCampingSuv
|
|
986
|
-
- InkCarabine
|
|
987
|
-
- InkCompass
|
|
988
|
-
- InkDirectionSigns
|
|
989
|
-
- InkDoNotDisturb
|
|
990
|
-
- InkDrawing1
|
|
991
|
-
- InkDrawing
|
|
992
|
-
- InkFlashlight
|
|
993
|
-
- InkFlipFlops
|
|
994
|
-
- InkFlippers
|
|
995
|
-
- InkHotelSign
|
|
996
|
-
- InkMatches
|
|
997
|
-
- InkPanama
|
|
998
|
-
- InkPaperMap
|
|
999
|
-
- InkPassport
|
|
1000
|
-
- InkPolaroidPhotoCard1
|
|
1001
|
-
- InkPolaroidPhotoCard2
|
|
1002
|
-
- InkRescueCircle
|
|
1003
|
-
- InkSuitcase
|
|
1004
|
-
- InkSunBed
|
|
1005
|
-
- InkSunscreen
|
|
1006
|
-
- InkSwimsuitBikini
|
|
1007
|
-
- InkSwimsuitShorts
|
|
1008
|
-
- InkSwissKnife
|
|
1009
|
-
- InkTemplate
|
|
1010
|
-
- InkTent
|
|
1011
|
-
- InkTouristBackpack
|
|
1012
|
-
- InkTouristBriefcase
|
|
1013
|
-
|
|
1014
|
-
### Weather
|
|
1015
|
-
|
|
1016
|
-
- InkGroup7975
|
|
1017
|
-
- InkClearNight
|
|
1018
|
-
- InkCloudy
|
|
1019
|
-
- InkPartlyCloudyDay
|
|
1020
|
-
- InkPartlyCloudyNight
|
|
1021
|
-
- InkRainDrops
|
|
1022
|
-
- InkRainbow
|
|
1023
|
-
- InkRainy
|
|
1024
|
-
- InkSnowflake
|
|
1025
|
-
- InkSnowy
|
|
1026
|
-
- InkStrongWind
|
|
1027
|
-
- InkTemperatureCold
|
|
1028
|
-
- InkTemperatureHot
|
|
1029
|
-
- InkThunderstorm
|
|
1030
|
-
- InkTornado
|
|
1031
|
-
- InkUmbrella
|
|
1032
|
-
- InkWindy
|
|
1033
|
-
|
|
1034
|
-
### Work
|
|
1035
|
-
|
|
1036
|
-
- InkCodeTerminal
|
|
1037
|
-
- InkDocumentSignature
|
|
1038
|
-
- InkDocumentWithInfographic
|
|
1039
|
-
- InkDocumentsAndMedia
|
|
1040
|
-
- InkForm
|
|
1041
|
-
- InkInfographics
|
|
1042
|
-
- InkLaptopBrowser
|
|
1043
|
-
- InkMonitorBrowser
|
|
1044
|
-
- InkPackageDiscount
|
|
1045
|
-
- InkPerformanceMetric
|
|
1046
|
-
- InkPieChartDiscount
|
|
1047
|
-
- InkProfile
|
|
1048
|
-
- InkStopSign
|
|
1049
|
-
- InkWebWindow
|
|
1050
|
-
- InkWorkflow
|
|
110
|
+
Ink illustrations are monochromatic: they are black in light mode and white in dark mode, following the `SousChefProvider` theme.
|
|
111
|
+
|
|
112
|
+
`EmptyState` and `Paywall` take an image URL (`mediaUrl`), not an illustration component, so compose an empty state with an illustration yourself:
|
|
113
|
+
|
|
114
|
+
```tsx
|
|
115
|
+
<Stack alignItems="center">
|
|
116
|
+
<InkWallCalendar size={100} aria-hidden />
|
|
117
|
+
<Text as="h3" alignment="center">No shifts yet</Text>
|
|
118
|
+
<Text alignment="center">Shifts you create will show up here.</Text>
|
|
119
|
+
</Stack>
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Illustration props
|
|
123
|
+
|
|
124
|
+
Every ink illustration component accepts the same props:
|
|
125
|
+
|
|
126
|
+
| Prop | Type | Default | Description |
|
|
127
|
+
|------|------|---------|-------------|
|
|
128
|
+
| `size` | `number \| string` | `"140px"` | Width and height. A number is in pixels; a string can be any CSS size, such as `"100%"`. There are no named sizes. |
|
|
129
|
+
| `testId` | `string` | `"ink-<name>"` | Sets `data-testid`. |
|
|
130
|
+
|
|
131
|
+
Other SVG attributes are passed to the `<svg>` element. Illustrations are decorative, so add `aria-hidden` unless the illustration carries meaning that the surrounding text does not.
|
|
132
|
+
|
|
133
|
+
```tsx
|
|
134
|
+
<InkWallCalendar size={100} aria-hidden />
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Available ink illustrations
|
|
138
|
+
|
|
139
|
+
#### Art
|
|
140
|
+
|
|
141
|
+
InkArtistHat InkArtistPainting InkBrushCup InkBrush InkColorPalette InkContemporaryArtAbstract InkDrawingPalette InkHandDrawingWithPencil InkMural InkMuseumPainting InkMuseumSculpture InkPaintTin InkPottery InkSculptureCarvingChisel InkShapes InkSprayPaintCan
|
|
142
|
+
|
|
143
|
+
#### Business
|
|
144
|
+
|
|
145
|
+
InkBriefcase InkCallToActionButtons InkCoinUsDollar InkGlobalInternational InkKey InkLightBulb InkLockLocked InkMagnet InkNotepadWithArrow InkPieChartRevenue InkQuestionAnswerChat InkRoadmap InkShoppingCart InkTarget InkWebsiteOnMonitor InkWritingPen
|
|
146
|
+
|
|
147
|
+
#### Cooking
|
|
148
|
+
|
|
149
|
+
InkBakingMold InkBlender InkBowl InkChefHat InkCookbook InkCookingTongs InkCuttingBoard InkDicer InkExtractorHood InkFryingPanEggs InkIceMold InkKitchenApron InkKnife InkLadle InkMasher InkMeasuringJug InkMicrowaveOven InkMixer InkMixingIngredients InkOliveOil InkOvenGlove InkOven InkPot InkRoller InkSaltShaker InkSauceBottle InkSaucePan InkSpatula InkStrainer InkTeaPot InkToaster InkWhisk
|
|
150
|
+
|
|
151
|
+
#### Design
|
|
152
|
+
|
|
153
|
+
Ink3DModeling Ink3DPrinting InkAppFolder InkApps InkBigboard InkBookletBrochure InkBoxInUnfoldedForm InkColorProfileCmyk InkCube InkCutScissors InkDeadline InkDesignSketchOfClothes InkDrawingOnGraphicTablet InkEmbroidery InkEyedropperWithColorPalette InkFocusEyeHidden InkGraphicFileGalleryFrame InkGuidelineBrandBook InkInteriorDesignHouseBlueprintPaperPlan InkLabelDesign InkLandscapeDesign InkLayers InkMagazine InkMagicStick InkMobileMockup InkOnlineMeeting InkOverlapOverlayIntersectionOpacity InkPacManWithCursor InkPaletteForDrawing InkPenCurves InkPenToolCursorWithBeziers InkPencil InkProtractorRuler InkRuler InkScaleToolCrop InkSearch InkSettings InkStickerSmileEmoji InkTShirtPrinting InkTabletMockup InkTextToolFont InkTransparentBackground InkWebBrowsing1 InkWebBrowsing2 InkWebUiElementImageSettings
|
|
154
|
+
|
|
155
|
+
#### Education
|
|
156
|
+
|
|
157
|
+
InkAcademicCap InkAudioBook InkBlackboard InkBookSearch InkBookShelf InkBook InkBrainLearn InkCheckMark InkCrossMark InkDiplomaCertificate InkGlobe InkLanguage InkMedal InkNoteBook InkProjector InkTestExamGrades
|
|
158
|
+
|
|
159
|
+
#### Emojis
|
|
160
|
+
|
|
161
|
+
InkAngryFace InkAstonishedFace InkBeamingFaceWithSmilingEyes InkFaceBlowingKiss InkFaceWithTearsOfJoy InkGrimacingFace InkPleadingFace InkSleepingFace InkSmilingFaceWithGlasses InkSmilingFaceWithHeartEyes InkSmilingFaceWithHearts InkSmilingFaceWithSunglasses InkSmilingFaceWithTear InkSmirkingFace InkThinkingFace InkWinkingFaceWithTongue
|
|
162
|
+
|
|
163
|
+
#### Entertainment
|
|
164
|
+
|
|
165
|
+
Ink3DGlasses InkAmusementPark InkBallet InkBowling InkCardGames InkCarouselWithHorses InkDiscoBall InkDj InkFirecracker InkJoystick InkMagicTricks InkMascarade InkNotesChart InkRollerSkating InkSlotMachine InkTheatre
|
|
166
|
+
|
|
167
|
+
#### Food
|
|
168
|
+
|
|
169
|
+
InkAvocado InkBeverageCola InkBreadToast InkBurger InkCabbage InkCandy InkCarrot InkCheese InkCoctailTropical InkCoffeeCupTakeaway InkCoffeeCup InkCrayfish InkCroissant InkCupcake InkDonut InkEggSunnySide InkFrenchFries InkFruitBowl InkGrapes InkHotDog InkIceCream InkLunchBag InkMatcha InkMilkCarton InkNoodlesWok InkPepper InkPizzaSlice InkSoup InkSteak InkSushi InkTaco InkWatermelon
|
|
170
|
+
|
|
171
|
+
#### Gardening
|
|
172
|
+
|
|
173
|
+
InkBirdHouse InkGardenFence InkGardenScissors InkGardenShovel InkGardeningFork InkLawnmower InkPlantPot1 InkPlantPot2 InkPlantPot3 InkPlantPot4 InkPlantPot5 InkPlantPot6 InkRakes InkSeeds InkWateringCan InkWateringHose
|
|
174
|
+
|
|
175
|
+
#### Hands
|
|
176
|
+
|
|
177
|
+
InkCrossedFingers InkFingerSnap InkFingerWalking InkFistRaised InkHandMeasuringHorizontally InkHandMeasuringVertically InkHandMeditationGesture InkHandRaised InkHandSignCall InkHandSignChill InkHandSignHalfHeartLeft InkHandSignLittle InkHandSignRock InkHandSignStop InkHandThreeFingers InkHandVictoryLeftHand InkHandVictoryRightHand InkHandVulcanSalute InkHandWaving InkHandWithCamera InkHandWithCards InkHandWithChopsticks InkHandWithCigarette InkHandWithCoins InkHandWithCreditCard InkHandWithCup InkHandWithDiamonds InkHandWithDices InkHandWithGem InkHandWithGift InkHandWithGlass InkHandWithMagicWand InkHandWithPaletteknifePainting InkHandWithPencilDrawing InkHandWithPhone InkHandWithPuzzle InkHandWithRose InkHandWithSeedsPlanting InkHandWithSmartPen InkHandWithSpray InkHandWithToothBrush InkHandWithWatches InkHandWithWipingCloth InkIndexPointingDown InkMakingPhotoOnPhone InkPushingButton InkThumbBackDirection InkThumbsUp
|
|
178
|
+
|
|
179
|
+
#### Health
|
|
180
|
+
|
|
181
|
+
InkAmbulance InkBandAid InkBloodBagForTransfusion InkCardiogramMonitor InkCrutches InkDiagnosisDocument InkDigitalThermometer InkDropperContainer InkEar InkEyeDropper InkFaceMask InkHeadMirror InkHospitalBed InkInhaler InkKidney InkLabTest InkLungs InkMaleFemaleSex InkMedicalKit InkNasalSpray InkOintment InkPharmacyStore InkPillsBlisterPack InkPillsContainer InkPills InkSanitizer InkStethoscope InkStomach InkSyringe InkTooth InkVirus InkWalkingFrame
|
|
182
|
+
|
|
183
|
+
#### Holidays
|
|
184
|
+
|
|
185
|
+
InkBirthdayCakeSlice InkBirthdayCap InkCandies InkChampagneCheers InkChristmasAngel InkChristmasBells InkChristmasElf InkChristmasSack InkChristmasSnowman InkChristmasStar InkChristmasStocking InkChristmasTreeBall1 InkChristmasTreeBall2 InkChristmasTree InkChristmasWreath InkCookieMan InkFireworks InkFlowerBouquet InkHalloweenGhost1 InkHalloweenGhost2 InkHalloweenJack InkHanukkah InkIndependenceDayGrill InkMagicWand InkSparkles1 InkSparkles2 InkSparkles3 InkStPatricksDayClover InkValentinesDayTeddy
|
|
186
|
+
|
|
187
|
+
#### Marketing
|
|
188
|
+
|
|
189
|
+
InkAiAutomation InkBarChartUp InkCogs InkContentImage InkContentVideo InkDataFlow InkDataReport InkEmailInbox InkEmailOpened InkEmail InkFireTrending InkFlag InkInstagramPost InkLink InkLockUnlocked InkMarketingCampaign InkMessageInformation InkMessageQuestionsFaq InkMoneyMetricUp InkMoneySearch InkNews InkNotificationHashtag InkPresentationLive InkPresentationReport InkPrivacyGdpr InkStaircaseUp InkTimer InkUploadToCloud InkWorkingByDesk
|
|
190
|
+
|
|
191
|
+
#### Music
|
|
192
|
+
|
|
193
|
+
InkBanjo InkBoombox InkCassetteTape InkCastanets InkCongasDrum InkDigitalPiano InkDjembeAfricanDrum InkDrumSet InkDrum InkFlute InkGuitar InkHarmonica InkHarp InkHorn InkKalimba InkMaracas InkMetronome InkOcarina InkPanflute InkPiano InkPlates InkSaxophone InkSubwoofer InkTambourine InkTriangle InkTrumpet InkTuningFork InkVinylRecordPlayer InkVinylRecord InkViolin InkVocalMicrophone InkXylophone
|
|
194
|
+
|
|
195
|
+
#### Nature
|
|
196
|
+
|
|
197
|
+
InkBamboo InkCherryBlossoms InkChestnut InkEarWheat InkFourLeafClover InkHazelnut InkLeaf1 InkLeaf2 InkMushroom InkPalm InkReedGrass InkSunflower InkTreeEvergreen InkTreeStump InkTree InkVaseWithWildflowers
|
|
198
|
+
|
|
199
|
+
#### Office
|
|
200
|
+
|
|
201
|
+
InkBooksStack InkBooks InkBoxOpened InkCalculator InkClassicPhone InkCoffeeMug InkComputerMouse InkCorkNoticeBoard InkCutterPaperKnife InkDeskLamp InkDuctTape InkDumbbell InkElectricCoolingFan InkEmployeeIdBadge InkEmployeeOfMonth InkEraser InkExtensionCableCord InkFileFolder InkFlashDriveUsb InkHeadphones InkKeyboard InkLaptop InkMarker InkOfficeChair01 InkOfficeChair02 InkOfficeNotebook InkOfficePlant1 InkOfficePlant2 InkOfficePlant3 InkOfficeProjector InkOfficeSnack InkPaperClip InkPaperShredder InkPen InkPencilSharpener InkPrinter InkSandglass InkScanner InkScissors InkShelfWithBooks InkSmartphone InkStapler InkStickyNotes InkTrashBin InkUsbDrive01 InkUsbDrive02 InkUsbHub InkWallCalendar InkWallClock InkWebCamera InkWifiRouter InkWorkingTable
|
|
202
|
+
|
|
203
|
+
#### Other
|
|
204
|
+
|
|
205
|
+
InkAirBalloon InkBackpack InkCowboyHat InkCrown InkDolphin InkFlowerVase InkGiftBox InkHare InkJuiceCarton InkMicrophone InkPaperPlane InkPartyHat InkPokemon InkSculptureBust InkWallet
|
|
206
|
+
|
|
207
|
+
#### People
|
|
208
|
+
|
|
209
|
+
InkCouple01 InkCouple02 InkCouple03 InkMan01 InkMan02 InkMan03 InkMan04 InkMan05 InkMan06 InkMan07 InkMan08 InkMan09 InkMan10 InkMan11 InkMan12 InkMan13 InkMan14 InkMan15 InkMan16 InkMan17 InkWoman01 InkWoman02 InkWoman03 InkWoman04 InkWoman05 InkWoman06 InkWoman07 InkWoman08 InkWoman09 InkWoman10 InkWoman11 InkWoman12
|
|
210
|
+
|
|
211
|
+
#### Pets
|
|
212
|
+
|
|
213
|
+
InkBirdCage InkCatFace InkCatPlaying InkCatStanding InkDogFace InkDogHouse InkDogStanding InkDogToy InkFishAquarium InkPetBowl InkPetCollar InkPetCrate InkPetFood InkPetLitterShovel InkRabbit InkSnake
|
|
214
|
+
|
|
215
|
+
#### Science
|
|
216
|
+
|
|
217
|
+
InkAnatomy InkAsteroid InkAstronaut InkBacteria InkChemistry InkDna InkLabTube InkMicroChips InkMicroscope InkNewtonsCradle InkNuclearEnergy InkPlanet InkPlantInTube InkRobotics InkSpaceTravel InkTelescope
|
|
218
|
+
|
|
219
|
+
#### Shop
|
|
220
|
+
|
|
221
|
+
InkBillCheck InkBox InkClosed InkCreditCard InkDiscountTag InkDollarBill InkGoShopping InkLuxuryJewellery InkOpenAllDay24Hours InkOpen InkPosTerminalMachine InkQrCodeScanMobile InkQrCode InkSavingMoney InkShoppingBasket InkStoreShop
|
|
222
|
+
|
|
223
|
+
#### Sport
|
|
224
|
+
|
|
225
|
+
InkAlpinist InkAmericanFootball InkBarbell InkBaseballBatWithBall InkBaseball InkBasketball InkBoxingGloves InkBoxing InkCanoeist InkCardioExerciseAthletePowerlifterWithBarbell InkCoachWhistle InkCurlingStone InkCyclistBicycle InkFencerSwordsmanWithSaber InkFitnessTracker InkFootballPlayer InkFrisbee InkGolfClubSet InkGolfTennisHatCap InkHandBandage InkHockeyPlayer InkHockeyStickWithPuck InkIceSkating InkJumpingRopes InkKarateMaster InkKettlebell InkLifeJacket InkMotocrossMotorcycle InkPoleVaultAthleteJumper InkPunchingBoxingBag InkResistanceBand InkReusableWaterBottleWithEnergyDrink InkReusableWaterBottle InkRollerSkates InkRunning InkSkateboarder InkSkates InkSkier InkSnorkeling InkSnowboarder InkSoccer InkSportBag InkSportsHockeyFootballHelmet InkSumoWrestler InkSurferSurfboard InkSwimmingGogglesWithCap InkTableTennis InkTennisShuttlecock InkTennis InkVolleyball
|
|
226
|
+
|
|
227
|
+
#### Therapy
|
|
228
|
+
|
|
229
|
+
InkBalanceYinYang InkBrokenHeart InkGroupOnlineTherapy InkHumanMoods InkIndividualOnlineTherapy InkMindDepression InkMindEnergyLevels InkMindProblemSolving InkMindQuestion InkMindThoughtProcess InkPsychiatryNeurons InkPsychologySymbol InkPsychotherapistTakingNotes InkStoneStacking InkYogaMan InkYogaWoman
|
|
230
|
+
|
|
231
|
+
#### Transport
|
|
232
|
+
|
|
233
|
+
InkAirPlane InkBicycle InkBus InkCableCar InkCarKey1 InkCarKey2 InkCar InkCargoShip InkCrane InkCruiseShip InkDirigible InkDoubleDecker InkGasStationPump InkHelicopter InkHighSpeedTrain InkHotAirBalloon InkKayak InkMoped InkMotorbike InkPowerBoat1 InkPowerBoat2 InkRv InkSailboat InkScooter InkSegway InkSemi InkSkateboard InkSubmarine InkTractor InkTrafficLight InkTram InkWaterScooter
|
|
234
|
+
|
|
235
|
+
#### Travel
|
|
236
|
+
|
|
237
|
+
InkAirplanePillow InkAviatorSunglasses InkBoardingPass InkBonfire InkCampingSuv InkCarabine InkCompass InkDirectionSigns InkDoNotDisturb InkFlashlight InkFlipFlops InkFlippers InkHotelSign InkMatches InkPanama InkPaperMap InkPassport InkPolaroidPhotoCard1 InkPolaroidPhotoCard2 InkRescueCircle InkSuitcase InkSunBed InkSunscreen InkSwimsuitBikini InkSwimsuitShorts InkSwissKnife InkTemplate InkTent InkTouristBackpack InkTouristBriefcase InkVolcano
|
|
238
|
+
|
|
239
|
+
#### Weather
|
|
240
|
+
|
|
241
|
+
InkClearNight InkCloudy InkPartlyCloudyDay InkPartlyCloudyNight InkRainDrops InkRainbow InkRainy InkSnowflake InkSnowy InkStrongWind InkSun InkTemperatureCold InkTemperatureHot InkThunderstorm InkTornado InkUmbrella InkWindy
|
|
242
|
+
|
|
243
|
+
#### Work
|
|
244
|
+
|
|
245
|
+
InkCodeTerminal InkDocumentSignature InkDocumentWithInfographic InkDocumentsAndMedia InkForm InkInfographics InkLaptopBrowser InkMonitorBrowser InkPackageDiscount InkPerformanceMetric InkPieChartDiscount InkProfile InkStopSign InkWebWindow InkWorkflow
|
|
246
|
+
|
|
247
|
+
## Icon guidelines
|
|
248
|
+
|
|
249
|
+
### When to Use
|
|
250
|
+
|
|
251
|
+
- Alongside a label to reinforce meaning and aid scannability — a save icon next to "Save changes", a warning icon next to an error message
|
|
252
|
+
- As the sole content of an icon button when the action is well-established and space is tight — always pair with a `Tooltip` in this case
|
|
253
|
+
- To communicate status at a glance in a list or table row — a status icon can convey meaning faster than text alone
|
|
254
|
+
- In navigation items, section headers, or feature names where a visual anchor helps users orient quickly
|
|
255
|
+
|
|
256
|
+
### When Not to Use
|
|
257
|
+
|
|
258
|
+
- As a standalone element without a label or tooltip — icons are rarely self-explanatory enough to stand alone, especially for new or infrequent users
|
|
259
|
+
- As decoration or expressive visual element with no functional meaning — use an ink illustration (e.g. `InkWallCalendar`, see the InkIllustrations guidelines) for empty states, onboarding moments, or anywhere illustration-quality imagery is appropriate
|
|
260
|
+
|
|
261
|
+
### Usage
|
|
262
|
+
|
|
263
|
+
#### Sourcing Icons
|
|
264
|
+
|
|
265
|
+
- We use `Font Awesome` from the `Classic` family which can be found on fontawesome.com
|
|
266
|
+
- For `outline` use the `Classic Light`
|
|
267
|
+
- For `solid` use `Classic Solid`
|
|
268
|
+
- If using a new icon that doesn't exist in the current Sous Chef library, send a message in the #sous-chef channel and the Design Systems team can add it to Sous Chef
|
|
269
|
+
|
|
270
|
+
#### Variants
|
|
271
|
+
|
|
272
|
+
Each icon comes in two variants: `outline` (default) and `solid`. Outline is the standard choice for most UI contexts. Solid is used to communicate a selected, active, or filled state. Solid may also be used selectively as a visual choice when extra contrast is needed, but this should be done sparingly and with care.
|
|
273
|
+
|
|
274
|
+
#### Sizes
|
|
275
|
+
|
|
276
|
+
| Size | Dimensions |
|
|
277
|
+
| ------------- | ---------- |
|
|
278
|
+
| `small` | 12×12px |
|
|
279
|
+
| `medium` | 16×16px |
|
|
280
|
+
| `default` | 20×20px |
|
|
281
|
+
| `large` | 24×24px |
|
|
282
|
+
| `extra-large` | 40×40px |
|
|
283
|
+
|
|
284
|
+
`default` is the standard for most UI contexts. Use `small` for dense layouts like table cells or compact toolbars. `flexible` removes the fixed width and height entirely, letting you control the size through CSS — useful in edge cases where none of the named sizes fit the surrounding layout.
|
|
285
|
+
|
|
286
|
+
When an icon is placed inside a `Button`, its size is automatically set to `medium` — you don't need to specify it.
|
|
287
|
+
|
|
288
|
+
#### Colour
|
|
289
|
+
|
|
290
|
+
By default, icons inherit the colour of their surrounding text. Pass a `color` prop to override this when the icon needs to carry its own colour — for example, a red warning icon or a green success indicator.
|
|
291
|
+
|
|
292
|
+
### Tips & Tricks
|
|
293
|
+
|
|
294
|
+
- When using an icon-only button, always add a `Tooltip` so keyboard and mouse users can discover what the button does. An icon without a label is an assumption about what users already know.
|
|
295
|
+
- When using a stand alone icon as an interactive control, place the icon inside a `button` component. Do not use it as a raw icon. This will ensure it has the correct hit box, hover, active and disabled states.
|
|
296
|
+
- If you're not finding the icon you need, search by concept rather than exact name. "Arrow right" might be called `IconChevronRight` or `IconArrowRight` depending on the style.
|
|
297
|
+
|
|
298
|
+
### Additional Rules
|
|
299
|
+
|
|
300
|
+
- Icon components accept `size`, `variant`, `color`, and `testId` props, with two exceptions: the Emojis icons have no `variant`, and the full-colour Emojis icons (`IconAwful`, `IconBad`, `IconDecent`, `IconGood` and `IconGreat`) have hard-coded fills, so `color` has no effect on them. Their `Monochromatic` versions (e.g. `IconAwfulMonochromatic`) are a monochromatic alternative, but only the mouth follows the text colour (and `color`); the face and eyes keep fixed fills.
|
|
301
|
+
- `variant` defaults to `'outline'` if not specified (on icons that have it).
|
|
302
|
+
- `size` defaults to `'default'` (20×20px) if not specified.
|
|
303
|
+
- When used inside a `Button`, icon `size` defaults to `'medium'` instead of `'default'`. An explicit `size` still wins, so only pass one inside a button when you really need a different size.
|
|
304
|
+
- `size="flexible"` renders with no `width` or `height` attributes — size must be controlled entirely via CSS.
|
|
305
|
+
|
|
306
|
+
## Ink illustration guidelines
|
|
307
|
+
|
|
308
|
+
### When to Use
|
|
309
|
+
|
|
310
|
+
- In empty states, when a page or list has no content yet — an illustration softens the experience and gives users a sense of what the space is for
|
|
311
|
+
- In onboarding flows, tooltips, or hint modals where a visual makes a concept easier to grasp
|
|
312
|
+
- On confirmation or success screens where a moment of delight is appropriate
|
|
313
|
+
- As supporting imagery in marketing or promotional content within the product
|
|
314
|
+
|
|
315
|
+
### When Not to Use
|
|
316
|
+
|
|
317
|
+
- As a substitute for a functional icon — use the icon library for UI controls, status indicators, and interface actions
|
|
318
|
+
- In dense, data-heavy interfaces where space is at a premium and illustrations compete with content
|
|
319
|
+
- When the illustration doesn't clearly relate to the surrounding content — an unrelated illustration creates confusion rather than delight
|
|
320
|
+
- Repeatedly on the same screen — one illustration per view is almost always the right amount
|
|
321
|
+
|
|
322
|
+
### Usage
|
|
323
|
+
|
|
324
|
+
#### Sizing
|
|
325
|
+
|
|
326
|
+
Unlike icons, illustration size is set as a number of pixels or a CSS value string — for example `"100px"`, `"200px"`, or a responsive value like `"100%"`. There are no named size tokens. Choose a size that gives the illustration enough presence without overwhelming the surrounding layout. In empty states, something in the range of 80–150px typically works well.
|
|
327
|
+
|
|
328
|
+
#### Colour
|
|
329
|
+
|
|
330
|
+
Ink Illustrations are fixed illustrations — they are not colour-customisable. They are designed to work across both light and dark contexts and should be used as-is. Standard illustrations use a single neutral colour token. Custom illustrations are special branded illustrations that use more than one colour. These often have several variations with different colour treatments you can choose from.
|
|
331
|
+
|
|
332
|
+
### Tips & Tricks
|
|
333
|
+
|
|
334
|
+
- Empty states are the most common use case. A well-chosen illustration paired with a clear heading and a call-to-action ("Add your first employee") transforms a dead end into an invitation.
|
|
335
|
+
- People and hands illustrations work well for onboarding and educational moments — they feel approachable and human without being overly literal.
|
|
336
|
+
- Don't stretch illustrations. Set their size with the `size` prop, which sets both the width and the height, rather than giving them a separate width and height in CSS.
|
|
337
|
+
- When pairing an illustration with text in an empty state, centre both horizontally and keep the text concise. The illustration draws the eye — the text closes the loop.
|
|
338
|
+
- `EmptyState` and `Paywall` accept an image URL (`mediaUrl`), not an illustration component, for their media. Their `children` is the body text, so an illustration passed there renders below the title, not as the media. To show an illustration as the media, compose the empty state yourself, for example with a centred `Stack` holding the illustration and `Text`.
|
|
339
|
+
|
|
340
|
+
### Additional Rules
|
|
341
|
+
|
|
342
|
+
- Each illustration is a standalone React component — import and use it directly, no wrapper component required.
|
|
343
|
+
- `size` accepts a number of pixels or any valid CSS dimension string, and defaults to `'140px'` if not provided.
|
|
344
|
+
- Illustrations are decorative. Don't use them as interactive controls (such as buttons or links); put the action on a `Button` or `Link` instead.
|