@sanity/ui 5.0.0-alpha.22 → 5.0.0-alpha.23

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.
Files changed (127) hide show
  1. package/README.md +10 -0
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/styles.css +1 -1
  5. package/docs/components/avatar-counter.dsds.yaml +78 -0
  6. package/docs/components/avatar-stack.dsds.yaml +96 -0
  7. package/docs/components/avatar.dsds.yaml +115 -0
  8. package/docs/components/badge.dsds.yaml +126 -0
  9. package/docs/components/box.dsds.yaml +223 -0
  10. package/docs/components/button.dsds.yaml +284 -0
  11. package/docs/components/card.dsds.yaml +317 -0
  12. package/docs/components/checkbox.dsds.yaml +204 -0
  13. package/docs/components/code.dsds.yaml +167 -0
  14. package/docs/components/container.dsds.yaml +189 -0
  15. package/docs/components/dialog.dsds.yaml +343 -0
  16. package/docs/components/divider.dsds.yaml +93 -0
  17. package/docs/components/eyebrow.dsds.yaml +217 -0
  18. package/docs/components/flex.dsds.yaml +237 -0
  19. package/docs/components/grid.dsds.yaml +217 -0
  20. package/docs/components/h-stack.dsds.yaml +127 -0
  21. package/docs/components/heading.dsds.yaml +233 -0
  22. package/docs/components/hotkeys.dsds.yaml +60 -0
  23. package/docs/components/icon-button.dsds.yaml +220 -0
  24. package/docs/components/icon.dsds.yaml +275 -0
  25. package/docs/components/indicator-stack.dsds.yaml +98 -0
  26. package/docs/components/indicator.dsds.yaml +108 -0
  27. package/docs/components/inline.dsds.yaml +127 -0
  28. package/docs/components/kbd.dsds.yaml +59 -0
  29. package/docs/components/link.dsds.yaml +108 -0
  30. package/docs/components/list-button-item.dsds.yaml +103 -0
  31. package/docs/components/list-item-image.dsds.yaml +82 -0
  32. package/docs/components/list-item-text.dsds.yaml +80 -0
  33. package/docs/components/list-item.dsds.yaml +148 -0
  34. package/docs/components/list.dsds.yaml +162 -0
  35. package/docs/components/popover.dsds.yaml +208 -0
  36. package/docs/components/press-area.dsds.yaml +279 -0
  37. package/docs/components/radio.dsds.yaml +198 -0
  38. package/docs/components/select.dsds.yaml +214 -0
  39. package/docs/components/skip-to-content.dsds.yaml +110 -0
  40. package/docs/components/spinner.dsds.yaml +119 -0
  41. package/docs/components/switch.dsds.yaml +202 -0
  42. package/docs/components/tab.dsds.yaml +54 -0
  43. package/docs/components/tabs-list.dsds.yaml +56 -0
  44. package/docs/components/tabs-panel.dsds.yaml +54 -0
  45. package/docs/components/tabs.dsds.yaml +104 -0
  46. package/docs/components/text-area.dsds.yaml +170 -0
  47. package/docs/components/text-input.dsds.yaml +189 -0
  48. package/docs/components/text.dsds.yaml +268 -0
  49. package/docs/components/tooltip-group.dsds.yaml +90 -0
  50. package/docs/components/tooltip.dsds.yaml +216 -0
  51. package/docs/components/v-stack.dsds.yaml +155 -0
  52. package/docs/components/visually-hidden.dsds.yaml +112 -0
  53. package/docs/evals/cases.yaml +1319 -0
  54. package/docs/examples/checkbox-2.tsx +57 -0
  55. package/docs/examples/confirmation-dialogs-1.tsx +27 -0
  56. package/docs/examples/confirmation-dialogs-2.tsx +55 -0
  57. package/docs/examples/confirmation-dialogs-3.tsx +28 -0
  58. package/docs/examples/confirmation-dialogs-4.tsx +38 -0
  59. package/docs/examples/popover-1.tsx +48 -0
  60. package/docs/examples/popover-2.tsx +53 -0
  61. package/docs/foundations/accessibility-guidelines.dsds.yaml +301 -0
  62. package/docs/foundations/color-guidelines.dsds.yaml +308 -0
  63. package/docs/foundations/content-guidelines.dsds.yaml +285 -0
  64. package/docs/foundations/semantics.dsds.yaml +125 -0
  65. package/docs/foundations/spacing-guidelines.dsds.yaml +226 -0
  66. package/docs/foundations/typography-guidelines.dsds.yaml +322 -0
  67. package/docs/icons.dsds.yaml +2513 -0
  68. package/docs/index.dsds.yaml +515 -0
  69. package/docs/overview/api-essentials.dsds.yaml +221 -0
  70. package/docs/overview/component-reference.dsds.yaml +215 -0
  71. package/docs/overview/designer-contribution-model.dsds.yaml +77 -0
  72. package/docs/overview/developer-contribution-model.dsds.yaml +362 -0
  73. package/docs/overview/installation.dsds.yaml +238 -0
  74. package/docs/overview/quick-start.dsds.yaml +317 -0
  75. package/docs/overview/resources.dsds.yaml +34 -0
  76. package/docs/patterns/confirmation-dialogs.dsds.yaml +140 -0
  77. package/docs/patterns/error-messaging.dsds.yaml +58 -0
  78. package/docs/patterns/forms.dsds.yaml +356 -0
  79. package/docs/patterns/layouts.dsds.yaml +403 -0
  80. package/docs/patterns/loading-states.dsds.yaml +41 -0
  81. package/docs/patterns/messaging.dsds.yaml +72 -0
  82. package/docs/patterns/navigation.dsds.yaml +153 -0
  83. package/docs/patterns/responsive.dsds.yaml +590 -0
  84. package/docs/tokens/color.dsds.yaml +1158 -0
  85. package/docs/tokens/container-widths.dsds.yaml +131 -0
  86. package/docs/tokens/content.dsds.yaml +258 -0
  87. package/docs/tokens/content.tokens.json +180 -0
  88. package/docs/tokens/dtcg/README.md +39 -0
  89. package/docs/tokens/dtcg/css/color.css +107 -0
  90. package/docs/tokens/dtcg/css/container.css +12 -0
  91. package/docs/tokens/dtcg/css/fontFamily.css +10 -0
  92. package/docs/tokens/dtcg/css/fontWeight.css +10 -0
  93. package/docs/tokens/dtcg/css/index.css +13 -0
  94. package/docs/tokens/dtcg/css/radius.css +14 -0
  95. package/docs/tokens/dtcg/css/semantic.css +42 -0
  96. package/docs/tokens/dtcg/css/shadow.css +22 -0
  97. package/docs/tokens/dtcg/css/space.css +16 -0
  98. package/docs/tokens/dtcg/css/typography.css +69 -0
  99. package/docs/tokens/dtcg/json/color.tokens.json +911 -0
  100. package/docs/tokens/dtcg/json/container.tokens.json +44 -0
  101. package/docs/tokens/dtcg/json/fontFamily.tokens.json +10 -0
  102. package/docs/tokens/dtcg/json/fontWeight.tokens.json +18 -0
  103. package/docs/tokens/dtcg/json/radius.tokens.json +58 -0
  104. package/docs/tokens/dtcg/json/semantic.tokens.json +372 -0
  105. package/docs/tokens/dtcg/json/shadow.tokens.json +599 -0
  106. package/docs/tokens/dtcg/json/space.tokens.json +72 -0
  107. package/docs/tokens/dtcg/json/typography.tokens.json +354 -0
  108. package/docs/tokens/font-family.dsds.yaml +79 -0
  109. package/docs/tokens/font-weight.dsds.yaml +103 -0
  110. package/docs/tokens/radius.dsds.yaml +153 -0
  111. package/docs/tokens/semantic.dsds.yaml +397 -0
  112. package/docs/tokens/shadow.dsds.yaml +125 -0
  113. package/docs/tokens/space.dsds.yaml +185 -0
  114. package/docs/tokens/typography.dsds.yaml +316 -0
  115. package/llms.txt +108 -0
  116. package/package.json +5 -2
  117. package/skills/sanity-ui-5/SKILL.md +158 -0
  118. package/skills/sanity-ui-5/references/component-choice.md +37 -0
  119. package/skills/sanity-ui-5/references/components.md +145 -0
  120. package/skills/sanity-ui-5/references/forms-and-accessibility.md +189 -0
  121. package/skills/sanity-ui-5/references/migrating-from-v3.md +250 -0
  122. package/skills/sanity-ui-5/references/props-and-imports.md +169 -0
  123. package/skills/sanity-ui-5/references/setup.md +177 -0
  124. package/skills/sanity-ui-5/references/silent-failures.md +33 -0
  125. package/skills/sanity-ui-5/references/taste.md +53 -0
  126. package/skills/sanity-ui-5/references/tone-and-color.md +55 -0
  127. package/src/version.ts +2 -2
@@ -0,0 +1,2513 @@
1
+ kind: dsds.asset
2
+ id: icons
3
+ name: Icons
4
+ description: >-
5
+ Interface icons for actions, objects and status. The @sanity/icons package
6
+ ships 236 icons as React components and SVG files. Use these icons, and only
7
+ these icons, across Sanity products — never substitute emoji, third-party icon
8
+ sets, or hand-crafted SVG unless the icon is genuinely not in this set.
9
+ metadata:
10
+ status:
11
+ status: stable
12
+ assetType: icon
13
+ source:
14
+ href: https://www.npmjs.com/package/@sanity/icons
15
+ formats: [react, svg]
16
+ license:
17
+ name: MIT
18
+ href: https://github.com/sanity-io/icons/blob/main/LICENSE
19
+ sections:
20
+ - kind: definitions
21
+ for: all
22
+ title: Members
23
+ items:
24
+ - id: access-denied
25
+ term: AccessDeniedIcon
26
+ definition: Indicates access restrictions or permissions denial.
27
+ aliases: [access-denied, Forbidden, No Entry, Restricted]
28
+ usage: >-
29
+ Use when: - Use when a user lacks permission to access content or features Do not use: -
30
+ For errors that aren't related to user permissions. Use ErrorOutlineIcon or
31
+ ErrorFilledIcon instead. - For warnings that aren't related to user permissions. Use
32
+ WarningOutlineIcon or WarningFilledIcon instead. - To represent an action to gain access.
33
+ Use LockIcon instead.
34
+ refs:
35
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/access-denied.svg
36
+ rel: source
37
+ - id: activity
38
+ term: ActivityIcon
39
+ definition: 'Represents activity feeds, monitoring, or diagnostics.'
40
+ aliases: [activity, Feed, Timeline, EKG]
41
+ usage: >-
42
+ Use when: - For activity logs or feeds. - For performance or health checks. Do not use: -
43
+ For general analytics or data visualization tools. Use BarChartIcon instead. - To
44
+ represent usage or a general line chart. Use ChartUpwardIcon instead. - To represent a
45
+ trend in data. Use TrendUpwardIcon instead.
46
+ refs:
47
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/activity.svg
48
+ rel: source
49
+ - id: add
50
+ term: AddIcon
51
+ definition: Adding a new or existing item to an element.
52
+ aliases: [add, Plus, Create, New]
53
+ usage: >-
54
+ Use when: - Adding/creating a new item that doesn't benefit from the specificity of an
55
+ icon with an "add" modifier (example: add-document) - As a button for the primary
56
+ add/create action - As a button when only one type of content can be added - As a menu
57
+ button to display the options of what type of item to add Do not use: - When there are
58
+ multiple add actions on a page. Use a more specific icon is available like AddCommentIcon
59
+ for comments - To indicate showing UI columns/rows in the UI. Use split-horizontal or
60
+ split-vertical instead. - To indicate inviting people/members to an organization or group.
61
+ Use AddUserIcon instead. - For adding content in a list where position does matters. Use
62
+ InsertAboveIcon or InsertBelowIcon instead. Best practices: - Add a label with the icon
63
+ when space permits. - When creating a new item, use "New [ITEM TYPE]". Example: "New
64
+ document" - When adding an existing item, use "Add [ITEM TYPE ]". Example: "Add tag". -
65
+ In cases where a label is not used, add a tooltip. - When creating a new item, use
66
+ "Create a new [ITEM TYPE]". Example: "Create a new document" - When adding an existing
67
+ item, use "Add a [ITEM TYPE ]". Example: "Add a tag".
68
+ refs:
69
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/add.svg
70
+ rel: source
71
+ - id: add-circle
72
+ term: AddCircleIcon
73
+ definition: '<!-- TODO: describe AddCircleIcon -->'
74
+ aliases: [add-circle]
75
+ refs:
76
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/add-circle.svg
77
+ rel: source
78
+ - id: add-comment
79
+ term: AddCommentIcon
80
+ definition: To provide an affordance for adding a comment or reply.
81
+ aliases: [add-comment, Comment Add, New Comment, Reply]
82
+ usage: >-
83
+ Use when: - To represent the ability to add a comment or reply to a thread. Especially
84
+ when commenting is a secondary action. Do not use: - To view comments. Use CommentIcon
85
+ instead. - When commenting is the primary action within a feature. Consider AddIcon
86
+ instead.
87
+ refs:
88
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/add-comment.svg
89
+ rel: source
90
+ - id: add-document
91
+ term: AddDocumentIcon
92
+ definition: Adding or creating a document.
93
+ aliases: [add-document, New document]
94
+ usage: >-
95
+ Use when: - For adding a document to a group/collection/list - For creating a new
96
+ document as a secondary action Do not use: - When adding/creating a document is the
97
+ primary action. Use AddIcon instead. - For general adding or creation. Use AddIcon
98
+ instead.
99
+ refs:
100
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/add-document.svg
101
+ rel: source
102
+ - id: add-user
103
+ term: AddUserIcon
104
+ definition: To add a role or add/invite users to a group.
105
+ aliases: [add-user]
106
+ usage: >-
107
+ Use when: - For adding people to a user group or a team - To add people to a permissions
108
+ group - To add a role Do not use: - As a general action for sharing. Use ShareIcon
109
+ instead.
110
+ refs:
111
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/add-user.svg
112
+ rel: source
113
+ - id: api
114
+ term: ApiIcon
115
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
116
+ aliases: [api, Code Interface, Integration]
117
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
118
+ refs:
119
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/api.svg
120
+ rel: source
121
+ - id: archive
122
+ term: ArchiveIcon
123
+ definition: Archiving or storing items for later reference.
124
+ aliases: [archive, Box, Storage, Deprecated]
125
+ usage: >-
126
+ Use when: - For archival actions - For stashing changes Do not use: - For removal actions.
127
+ Use RemoveIcon instead. - For delete actions. Use TrashIcon instead. - To represent adding
128
+ to a collection. Use PackageIcon instead. - To represent download or export actions. Use
129
+ DownloadIcon instead.
130
+ refs:
131
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/archive.svg
132
+ rel: source
133
+ - id: arrow-down
134
+ term: ArrowDownIcon
135
+ definition: Downward screen-level movement/scrolling.
136
+ aliases: [arrow-down, Down, Descend, Download Direction]
137
+ usage: >-
138
+ Use when: - Moving/scrolling down within a page Do not use: - As an indicator for
139
+ downloads. Use DownloadIcon for viewing instead. - To represent unpublish actions. Use
140
+ UnpublishIcon instead. - To move, transition or resize elements within a page. Use
141
+ ChevronDownIcon instead.
142
+ refs:
143
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/arrow-down.svg
144
+ rel: source
145
+ - id: arrow-left
146
+ term: ArrowLeftIcon
147
+ definition: Backward navigation across surfaces.
148
+ aliases: [arrow-left, Left, Back, Previous]
149
+ usage: >-
150
+ Use when: - Navigating back to a previous page - Paginating backward/previous Do not use:
151
+ - To move, resize or reveal elements within a page. Use ChevronLeftIcon instead.
152
+ refs:
153
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/arrow-left.svg
154
+ rel: source
155
+ - id: arrow-right
156
+ term: ArrowRightIcon
157
+ definition: Forward navigation across surfaces.
158
+ aliases: [arrow-right, Right, Forward, Next]
159
+ usage: >-
160
+ Use when: - Navigating forward to a new page - Paginating forward/next Do not use: - To
161
+ move, resize or reveal elements within a page. Use ChevronRightIcon instead.
162
+ refs:
163
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/arrow-right.svg
164
+ rel: source
165
+ - id: arrow-top-right
166
+ term: ArrowTopRightIcon
167
+ definition: To outside a link outside of the current application context.
168
+ aliases: [arrow-top-right, External, Open New, Diagonal Up Right]
169
+ usage: >-
170
+ Use when: - To open a link to another Studio or application - To open content from the
171
+ existing Studio/application in a new tab/window or preview Do not use: - To represent
172
+ opening an external link in a new window or tab. Use LaunchIcon instead.
173
+ refs:
174
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/arrow-top-right.svg
175
+ rel: source
176
+ - id: arrow-up
177
+ term: ArrowUpIcon
178
+ definition: Upward screen-level movement/scrolling.
179
+ aliases: [arrow-up, Up, Ascend, Upload Direction]
180
+ usage: >-
181
+ Use when: - Moving/scrolling up within a page - Scrolling back to the top of a page Do not
182
+ use: - To represent uploads. Use UploadIcon instead. - To represent publish actions. Use
183
+ PublishIcon instead. - To move, transition or resize elements within a page. Use
184
+ ChevronUpIcon instead. - To represent opening a new window or tab. Use LaunchIcon instead.
185
+ refs:
186
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/arrow-up.svg
187
+ rel: source
188
+ - id: asterisk
189
+ term: AsteriskIcon
190
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
191
+ aliases: [asterisk, Star Symbol, Required, Wildcard]
192
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
193
+ refs:
194
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/asterisk.svg
195
+ rel: source
196
+ - id: bar-chart
197
+ term: BarChartIcon
198
+ definition: Analytics or general data visualization.
199
+ aliases: [bar-chart, Chart, Statistics, Analytics]
200
+ usage: >-
201
+ Use when: - For general analytics or data visualization tools - Displaying data as a bar
202
+ chart Do not use: - To represent activity or health metrics. Use ActivityIcon instead. -
203
+ To represent trends in data. Use TrendUpwardIcon instead. - To represent usage or a
204
+ general line chart. Use ChartUpwardIcon instead.
205
+ refs:
206
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bar-chart.svg
207
+ rel: source
208
+ - id: basket
209
+ term: BasketIcon
210
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
211
+ aliases: [basket]
212
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
213
+ refs:
214
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/basket.svg
215
+ rel: source
216
+ - id: bell
217
+ term: BellIcon
218
+ definition: 'Viewing, receiving, or managing notifications/alerts.'
219
+ aliases: [bell, Notification, Alert, Ring]
220
+ usage: >-
221
+ Use when: - For notifications, alerts, or reminders. Do not use: - For reminders related
222
+ to a task. Use TaskIcon instead.
223
+ refs:
224
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bell.svg
225
+ rel: source
226
+ - id: bill
227
+ term: BillIcon
228
+ definition: Financial information or invoices.
229
+ aliases: [bill, Invoice, Receipt, Payment]
230
+ usage: >-
231
+ Use when: - For billing information or invoice management. - To view payment history Do
232
+ not use: - For general documents. Use DocumentIcon instead. - For documentation. Use
233
+ BookIcon instead. - For payment actions. Use CreditCardIcon instead.
234
+ refs:
235
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bill.svg
236
+ rel: source
237
+ - id: binary-document
238
+ term: BinaryDocumentIcon
239
+ definition: To represent binary or executable files.
240
+ aliases: [binary-document, Code File, Binary, Data File]
241
+ usage: >-
242
+ Use when: - As an indicator for a binary file or executable Do not use: - For general
243
+ documents or files. Use DocumentIcon instead.
244
+ refs:
245
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/binary-document.svg
246
+ rel: source
247
+ - id: block-content
248
+ term: BlockContentIcon
249
+ definition: Block-based content or structured text.
250
+ aliases: [block-content, Content Block, Rich Text, Structured Content]
251
+ usage: >-
252
+ Use when: - To represent a block of text, like a paragraph. - To indicate rich text
253
+ formatting. Do not use: - As a prompt for editing or composing content. Use EditIcon or
254
+ ComposeIcon respectively.
255
+ refs:
256
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/block-content.svg
257
+ rel: source
258
+ - id: block-element
259
+ term: BlockElementIcon
260
+ definition: Block layout elements.
261
+ aliases: [block-element, Block, Container, Box]
262
+ usage: >-
263
+ Use when: - To represent content that is displayed as a block element (taking the full
264
+ width of its parent and starting a new line). Do not use: - To represent the size or
265
+ aspect ratio of an element. - For spliting a layout vertically. Use SplitVerticalIcon
266
+ instead.
267
+ refs:
268
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/block-element.svg
269
+ rel: source
270
+ - id: blockquote
271
+ term: BlockquoteIcon
272
+ definition: Blockquote text formatting.
273
+ aliases: [blockquote, Quote, Citation, Excerpt]
274
+ usage: >-
275
+ Use when: - For toggling text as a blockquote within a text editing feature. Do not use: -
276
+ Outside text editing. This icon is intended for formatting toolsets. - To represent a
277
+ general text block. Use BlockContentIcon instead.
278
+ refs:
279
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/blockquote.svg
280
+ rel: source
281
+ - id: bold
282
+ term: BoldIcon
283
+ definition: Bold text formatting.
284
+ aliases: [bold, Strong, Emphasis, Heavy]
285
+ usage: >-
286
+ Use when: - For toggling text as bold within a text editing feature. Do not use: - Outside
287
+ text editing. This icon is intended for formatting toolsets.
288
+ refs:
289
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bold.svg
290
+ rel: source
291
+ - id: bolt
292
+ term: BoltIcon
293
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
294
+ aliases: [bolt, Lightning, Fast, Energy]
295
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
296
+ refs:
297
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bolt.svg
298
+ rel: source
299
+ - id: book
300
+ term: BookIcon
301
+ definition: Represent documentation or reading material.
302
+ aliases: [book, Documentation, Manual, Guide]
303
+ usage: >-
304
+ Use when: - To represent reading material–most notably documentation or learning guides.
305
+ Do not use: - For product tips or suggestions. Use BulbOutlineIcon instead. - To represent
306
+ help or support. Use HelpCircleIcon instead.
307
+ refs:
308
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/book.svg
309
+ rel: source
310
+ - id: bookmark
311
+ term: BookmarkIcon
312
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
313
+ aliases: [bookmark]
314
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
315
+ refs:
316
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bookmark.svg
317
+ rel: source
318
+ - id: bookmark-filled
319
+ term: BookmarkFilledIcon
320
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
321
+ aliases: [bookmark-filled]
322
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
323
+ refs:
324
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bookmark-filled.svg
325
+ rel: source
326
+ - id: bottle
327
+ term: BottleIcon
328
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
329
+ aliases: [bottle, Container, Liquid, Product]
330
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
331
+ refs:
332
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bottle.svg
333
+ rel: source
334
+ - id: bug
335
+ term: BugIcon
336
+ definition: Code debugging.
337
+ aliases: [bug, Issue]
338
+ usage: >-
339
+ Use when: - To indicate a debugging action, mode, or process. Do not use: - To represent
340
+ user-facing errors. Use ErrorOutlineIcon instead.
341
+ refs:
342
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bug.svg
343
+ rel: source
344
+ - id: bulb-filled
345
+ term: BulbFilledIcon
346
+ definition: '<!-- TODO: describe BulbFilledIcon -->'
347
+ aliases: [bulb-filled]
348
+ refs:
349
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bulb-filled.svg
350
+ rel: source
351
+ - id: bulb-outline
352
+ term: BulbOutlineIcon
353
+ definition: Product tips and suggestions.
354
+ aliases: [bulb-outline, Idea, Light, Suggestion]
355
+ usage: >-
356
+ Use when: - To represent product tips/suggestions for user onboarding or revealing new
357
+ features Do not use: - For deeper learning or to represent documentation. Use BookIcon
358
+ instead.
359
+ refs:
360
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/bulb-outline.svg
361
+ rel: source
362
+ - id: calendar
363
+ term: CalendarIcon
364
+ definition: Calendar or date selection.
365
+ aliases: [calendar, Date, Schedule, Event]
366
+ usage: >-
367
+ Use when: - To indicate date selection or scheduling. - To represent calendar views or
368
+ features. Do not use: - For time or duration. Use ClockIcon instead. - To represent a
369
+ collection of events. Use TimelineIcon instead.
370
+ refs:
371
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/calendar.svg
372
+ rel: source
373
+ - id: case
374
+ term: CaseIcon
375
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
376
+ aliases: [case, Briefcase, Portfolio, Business]
377
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
378
+ refs:
379
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/case.svg
380
+ rel: source
381
+ - id: chart-upward
382
+ term: ChartUpwardIcon
383
+ definition: Product/feature usage or specific line chart data visualization.
384
+ aliases: [chart-upward, Growth, Trend, Increase]
385
+ usage: >-
386
+ Use when: - To represent usage reports for a product or feature - Displaying data as a
387
+ line chart Do not use: - For, general analytics, data visualization or charts. Use
388
+ BarChartIcon instead. - To represent activity or health metrics. Use ActivityIcon instead.
389
+ - To represent trends in data. Use TrendUpwardIcon instead.
390
+ refs:
391
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chart-upward.svg
392
+ rel: source
393
+ - id: checkmark
394
+ term: CheckmarkIcon
395
+ definition: Success or selection.
396
+ aliases: [checkmark, Check, Done, Confirmed]
397
+ usage: >-
398
+ Use when: - To represent general positive outcomes - To indicate selection of an item - To
399
+ indicate success of a flow or operation Do not use: - To represent tasks. Use TaskIcon
400
+ instead. - As a interactive element for toggling an item. Use the Checkbox component
401
+ instead.
402
+ refs:
403
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/checkmark.svg
404
+ rel: source
405
+ - id: checkmark-circle
406
+ term: CheckmarkCircleIcon
407
+ definition: Represents tasks in general, independent of completion state.
408
+ aliases: [checkmark-circle, Success Circle, Confirmed Circle, Done Circle]
409
+ usage: >-
410
+ Use when: - To represent general tasks independent of completion state. - To view/manage
411
+ tasks. Do not use: - For tasks with an explicitly defined deadline. Use TaskIcon instead.
412
+ - To explicitly indicate an incomplete task. Use CircleIcon instead. - To indicate
413
+ success or a completed task. Use CheckmarkIcon instead.
414
+ refs:
415
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/checkmark-circle.svg
416
+ rel: source
417
+ - id: chevron-down
418
+ term: ChevronDownIcon
419
+ definition: 'Moving, resizing, transitioning, or revealing/concealing an element in a downward direction.'
420
+ aliases: [chevron-down, Expand, Dropdown, More]
421
+ usage: >-
422
+ Use when: - As a general affordance for expanding content for an element when direction is
423
+ not explicitly known (example: a menu button) - For expanding an elements's content in a
424
+ top-to-bottom direction (example: accordions) - For collapsing an element in a bottom-to-
425
+ top direction (example: a fixed footer) Do not use: - As the trailing affordance for
426
+ Select inputs. Use SelectIcon instead. - Moving/resizing/revealing a group of elements.
427
+ Use DoubleChevronDownIcon instead. - To represent downloads or the download action. Use
428
+ DownloadIcon instead. - As an affordance to scroll down to an element. Use ArrowDownIcon
429
+ instead.
430
+ refs:
431
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-down.svg
432
+ rel: source
433
+ - id: chevron-left
434
+ term: ChevronLeftIcon
435
+ definition: 'Moving, resizing, transitioning, or revealing/concealing an element in a leftward direction.'
436
+ aliases: [chevron-left, Collapse Left, Previous]
437
+ usage: >-
438
+ Use when: - Drilling out through a column based hierarchical view - Moving backward in a
439
+ carousel view Do not use: - Expanding/collapsing sidebars. Use PanelLeftIcon or
440
+ PanelRightIcon instead - Moving/resizing/revealing a group of elements. Use
441
+ DoubleChevronLeftIcon instead. - Navigating backward to a previous surface. Use
442
+ ArrowLeftIcon instead. Best practices: - Consider RTL languages when using chevrons.
443
+ refs:
444
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-left.svg
445
+ rel: source
446
+ - id: chevron-right
447
+ term: ChevronRightIcon
448
+ definition: 'Moving, resizing, transitioning, or revealing/concealing an element in a rightward direction.'
449
+ aliases: [chevron-right, Expand Right, Next]
450
+ usage: >-
451
+ Use when: - Drilling out through a column based hierarchical view - Moving forward in a
452
+ carousel view Do not use: - Expanding/collapsing sidebars. Use PanelLeftIcon or
453
+ PanelRightIcon instead - Moving/resizing/revealing a group of elements. Use
454
+ DoubleChevronRightIcon instead. - Navigating to a new surface. Use ArrowRightIcon instead.
455
+ Best practices: - Consider RTL languages when using chevrons.
456
+ refs:
457
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-right.svg
458
+ rel: source
459
+ - id: chevron-up
460
+ term: ChevronUpIcon
461
+ definition: 'Moving, resizing, transitioning, or revealing/concealing an element in an upward direction.'
462
+ aliases: [chevron-up, Collapse, Hide, Less]
463
+ usage: >-
464
+ Use when: - As a general affordance for concealing additional content when direction is
465
+ not explicitly known (example: a menu button) - For collapsing an element's content in a
466
+ top-to-bottom direction (example: accordions) - For expanding an element in a bottom-to-
467
+ top direction (example: a fixed footer) Do not use: - Moving/resizing/revealing a group of
468
+ elements. Use DoubleChevronUpIcon instead. - For concealing a popover menu. Use Close
469
+ instead. - To represent uploads or the upload action. Use UploadIcon instead. instead. -
470
+ As an affordance to scroll up to an element or back to top. Use ArrowUpIcon instead.
471
+ refs:
472
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-up.svg
473
+ rel: source
474
+ - id: circle
475
+ term: CircleIcon
476
+ definition: Incompleted general tasks.
477
+ aliases: [circle, Dot Large, Point, Marker]
478
+ usage: >-
479
+ Use when: - To represent general tasks in an incompleted state. Do not use: - Explicitly
480
+ as a radio button or checkbox. Use actual components instead.
481
+ refs:
482
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/circle.svg
483
+ rel: source
484
+ - id: clipboard
485
+ term: ClipboardIcon
486
+ definition: To represent pasting text from clipboard.
487
+ aliases: [clipboard, Copy, Paste, Buffer]
488
+ usage: >-
489
+ Use when: - For pasting from clipboard actions only. Do not use: - To represent copying or
490
+ copying to clipboard. Use CopyIcon instead. - To represent pasting an image from
491
+ clipboard. Use ClipboardImageIcon instead.
492
+ refs:
493
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/clipboard.svg
494
+ rel: source
495
+ - id: clipboard-image
496
+ term: ClipboardImageIcon
497
+ definition: To represent pasting an image from clipboard.
498
+ aliases: [clipboard-image, Copy Image, Image Buffer, Screenshot]
499
+ usage: >-
500
+ Use when: - Specifically for pasting image data from the clipboard. Do not use: - For
501
+ general pasting actions. Use ClipboardIcon instead.
502
+ refs:
503
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/clipboard-image.svg
504
+ rel: source
505
+ - id: clock
506
+ term: ClockIcon
507
+ definition: To represent time or duration.
508
+ aliases: [clock, Time, History]
509
+ usage: >-
510
+ Use when: - To indicate a time or duration based value - To represent a timestamp Do not
511
+ use: - To represent specific dates. Use CalendarIcon instead. - To view the history or
512
+ activity log of an item. Use RestoreIcon instead. - To represent time-zones. Use
513
+ EarthAmericasIcon instead.
514
+ refs:
515
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/clock.svg
516
+ rel: source
517
+ - id: close
518
+ term: CloseIcon
519
+ definition: Close or dismiss UI elements.
520
+ aliases: [close, X, Exit, Dismiss]
521
+ usage: >-
522
+ Use when: - Closing a menu or popover. - Dismissing a modal, panel, or sheet. - Removing a
523
+ Card from view. Do not use: - For deleting or removing items. Use RemoveIcon instead. -
524
+ For errors. Use ErrorOutlineIcon instead. - For permission issues. Use AccessDeniedIcon
525
+ instead. - For clearing content from an input. Use CloseCircleIcon instead. - Concealing a
526
+ panel. Use PanelLeftIcon/PanelRightIcon instead.
527
+ refs:
528
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/close.svg
529
+ rel: source
530
+ - id: close-circle
531
+ term: CloseCircleIcon
532
+ definition: '<!-- TODO: describe CloseCircleIcon -->'
533
+ aliases: [close-circle, Cancel Circle, Remove Circle, Exit Circle]
534
+ refs:
535
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/close-circle.svg
536
+ rel: source
537
+ - id: code
538
+ term: CodeIcon
539
+ definition: General indicator of code or Inline code snippets.
540
+ aliases: [code, Programming, Markup, Syntax]
541
+ usage: >-
542
+ Use when: - To indicate something as code - Inline code formatting in rich text Do not
543
+ use: - To represent multiline code blocks. Use CodeBlockIcon instead. - For general API
544
+ references. Use PlugIcon instead. - To represent JSON. Use JsonIcon instead.
545
+ refs:
546
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/code.svg
547
+ rel: source
548
+ - id: code-block
549
+ term: CodeBlockIcon
550
+ definition: Multiline code blocks.
551
+ aliases: [code-block, Code Snippet, Pre, Programming Block]
552
+ usage: >-
553
+ Use when: - Code block formatting in rich text Do not use: - To represent inline code. Use
554
+ CodeIcon instead. - For general API references. Use PlugIcon instead. - To represent JSON.
555
+ Use JsonIcon instead.
556
+ refs:
557
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/code-block.svg
558
+ rel: source
559
+ - id: cog
560
+ term: CogIcon
561
+ definition: View or manage settings.
562
+ aliases: [cog, Settings, Configuration, Preferences]
563
+ usage: >-
564
+ Use when: - Use to indicate settings for an item or application Do not use: - For general
565
+ tools or maintenance. Use WrenchIcon instead. - To represent local computer settings. Use
566
+ DesktopIcon instead. - To indicate configurations. Use ControlsIcon instead.
567
+ refs:
568
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/cog.svg
569
+ rel: source
570
+ - id: collapse
571
+ term: CollapseIcon
572
+ definition: To exit the interface out of a maximized state or mode.
573
+ aliases: [collapse, Minimize, Contract, Fold]
574
+ usage: >-
575
+ Use when: - For exiting a full screen mode in the interface - For exiting a focus mode in
576
+ the interface Do not use: - For closing UI elements. Use CloseIcon instead. - For
577
+ collapsing UI elements. Use ChevronUpIcon instead. - For hiding UI elements. Use EyeClosedIcon
578
+ instead.
579
+ refs:
580
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/collapse.svg
581
+ rel: source
582
+ - id: color-wheel
583
+ term: ColorWheelIcon
584
+ definition: 'Color collections, palettes, or themes.'
585
+ aliases: [color-wheel, Color Picker, Palette, Hue]
586
+ usage: >-
587
+ Use when: - To reference or represent a color theme or collection of colors. Do not use: -
588
+ For targeting an individual color or coloring an individual element. Use DropIcon instead.
589
+ refs:
590
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/color-wheel.svg
591
+ rel: source
592
+ - id: comment
593
+ term: CommentIcon
594
+ definition: 'To represent comments, discussions, or threads.'
595
+ aliases: [comment, Message, Feedback, Discussion]
596
+ usage: >-
597
+ Use when: - To demarcate comment sections - To show comments within the UI - To use as a
598
+ visual indicator for the number of comments Do not use: - For creating new comments. Use
599
+ AddCommentIcon instead. - For referencing or soliciting feedback. Use FeedbackIcon
600
+ instead.
601
+ refs:
602
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/comment.svg
603
+ rel: source
604
+ - id: component
605
+ term: ComponentIcon
606
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
607
+ aliases: [component, Module, Part, Building Block]
608
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
609
+ refs:
610
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/component.svg
611
+ rel: source
612
+ - id: compose
613
+ term: ComposeIcon
614
+ definition: Creating new written content.
615
+ aliases: [compose, Edit, Write, Create Content]
616
+ usage: >-
617
+ Use when: - For creating new written content or documents. Do not use: - For AI-powered
618
+ creation of new written content. Use ComposeSparklesIcon instead. - For editing existing
619
+ written content. Use EditIcon instead. - For creating new general content. Use AddIcon
620
+ instead.
621
+ refs:
622
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/compose.svg
623
+ rel: source
624
+ - id: compose-sparkles
625
+ term: ComposeSparklesIcon
626
+ definition: AI-powered creation of new written content.
627
+ aliases: [compose-sparkles, AI compose]
628
+ usage: >-
629
+ Use when: - For creating new written content or documents with AI assistance. Do not use:
630
+ - To represent an AI-powered feature. Use SparklesIcon instead. - To represent Sanity's
631
+ Content Agent feature. Use SparkleIcon instead. - For manual creation of new written
632
+ content. Use ComposeIcon instead.
633
+ refs:
634
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/compose-sparkles.svg
635
+ rel: source
636
+ - id: confetti
637
+ term: ConfettiIcon
638
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
639
+ aliases: [confetti, Celebration, Party, Success]
640
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
641
+ refs:
642
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/confetti.svg
643
+ rel: source
644
+ - id: controls
645
+ term: ControlsIcon
646
+ definition: Configuration or advanced controls.
647
+ aliases: [controls, Adjustments, Sliders, Tuning]
648
+ usage: >-
649
+ Use when: - To represent a configuration action or mode - To represent advanced
650
+ controls/actions (ex: Advanced search) Do not use: - To represent general settings. Use
651
+ CogIcon instead. - To represent configuring content filters. Use FilterIcon instead.
652
+ refs:
653
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/controls.svg
654
+ rel: source
655
+ - id: copy
656
+ term: CopyIcon
657
+ definition: Copying or duplicating actions.
658
+ aliases: [copy, Duplicate, Clone, Copy]
659
+ usage: >-
660
+ Use when: - For copying general text to clipboard - For duplicating items or cloning
661
+ operations Do not use: - For copying a link/URL to the clipboard. Use LinkIcon instead.
662
+ refs:
663
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/copy.svg
664
+ rel: source
665
+ - id: credit-card
666
+ term: CreditCardIcon
667
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
668
+ aliases: [credit-card, Payment, Card, Transaction]
669
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
670
+ refs:
671
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/credit-card.svg
672
+ rel: source
673
+ - id: crop
674
+ term: CropIcon
675
+ definition: Image cropping or trimming.
676
+ aliases: [crop, Trim, Cut Image, Adjust]
677
+ usage: >-
678
+ Use when: - To represent image cropping or cropping tools Do not use: - For image resizing
679
+ - For broader image or video editing features. Use ControlsIcon instead.
680
+ refs:
681
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/crop.svg
682
+ rel: source
683
+ - id: cube
684
+ term: CubeIcon
685
+ definition: Generic data/metadata.
686
+ aliases: [cube, 3D, Box, Object]
687
+ usage: >-
688
+ Use when: - To represent an individual and general piece of data or metadata. - As a
689
+ fallback icon for data types that are too abstract to be represented with a more specific
690
+ icon. Do not use: - To represent a collection of data or items. Use PackageIcon instead. -
691
+ To represent unknown or unidentified data. Use UnknownIcon instead.
692
+ refs:
693
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/cube.svg
694
+ rel: source
695
+ - id: dashboard
696
+ term: DashboardIcon
697
+ definition: Dashboard pages/screens.
698
+ aliases: [dashboard, Overview, Home, Main]
699
+ usage: >-
700
+ Use when: - To represent pages/screens that act as a dashboard of information. Do not use:
701
+ - To represent Sanity's home page. Use HomeIcon instead. - To represent a gallery of
702
+ media. Use ImagesIcon instead.
703
+ refs:
704
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/dashboard.svg
705
+ rel: source
706
+ - id: database
707
+ term: DatabaseIcon
708
+ definition: Database or data storage.
709
+ aliases: [database, Storage, Data, Server]
710
+ usage: >-
711
+ Use when: - To represent general databases or database features - Data management or
712
+ storage settings Do not use: - For GROQ-specific features or queries. Use GroqIcon
713
+ instead. - To represent a collection of data or items. Use PackageIcon instead. - To
714
+ represent an individual and general piece of data or metadata. Use CubeIcon instead.
715
+ refs:
716
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/database.svg
717
+ rel: source
718
+ - id: desktop
719
+ term: DesktopIcon
720
+ definition: To represent desktop devices or a person's local computer settings.
721
+ aliases: [desktop, Monitor, Screen]
722
+ usage: >-
723
+ Use when: - To represent a desktop when choosing between different device types - To
724
+ represent a a computer's system settings (example: system-level light/dark mode
725
+ preference) Do not use: - As an indicator for responsiveness. Use MobileDeviceIcon
726
+ instead.
727
+ refs:
728
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/desktop.svg
729
+ rel: source
730
+ - id: diamond
731
+ term: DiamondIcon
732
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
733
+ aliases: [diamond, Gem, Premium, Value]
734
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
735
+ refs:
736
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/diamond.svg
737
+ rel: source
738
+ - id: document
739
+ term: DocumentIcon
740
+ definition: To represent files or general documents.
741
+ aliases: [document, File, Doc, Paper]
742
+ usage: >-
743
+ Use when: - As an indicator for a file or general document Do not use: - To represent
744
+ specific document types when an icon exists - For binary files, use BinaryDocumentIcon
745
+ instead. - For PDF files, use DocumentPdfIcon instead. - For spreadsheets or tabular files
746
+ like CSV of TSV, use DocumentSheetIcon instead. - For purely text-based files like .txt or
747
+ Markdown use DocumentTextIcon instead. - For video files, use DocumentVideoIcon instead.
748
+ - For compressed files like Zip or .tar, use DocumentZipIcon instead.
749
+ refs:
750
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document.svg
751
+ rel: source
752
+ - id: document-pdf
753
+ term: DocumentPdfIcon
754
+ definition: To specifically represent PDF documents.
755
+ aliases: [document-pdf, PDF, Portable Document, PDF File]
756
+ usage: >-
757
+ Use when: - As an indicator for a PDF document Do not use: - For general documents or
758
+ files. Use DocumentIcon instead. - To represent text-based documents. Use DocumentTextIcon
759
+ instead.
760
+ refs:
761
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document-pdf.svg
762
+ rel: source
763
+ - id: document-remove
764
+ term: DocumentRemoveIcon
765
+ definition: Removing or deleting a document.
766
+ aliases: [document-remove, Delete Document, Remove File, Discard]
767
+ usage: >-
768
+ Use when: - For document removal or deletion Do not use: - For general removal. Use
769
+ RemoveIcon instead.
770
+ refs:
771
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document-remove.svg
772
+ rel: source
773
+ - id: documents
774
+ term: DocumentsIcon
775
+ definition: To represent multiple documents or a group of documents.
776
+ aliases: [documents, Multiple Files, Collection, Archive]
777
+ usage: >-
778
+ Use when: - To represent multiple documents or general files Do not use: - For single
779
+ documents. Use DocumentIcon instead.
780
+ refs:
781
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/documents.svg
782
+ rel: source
783
+ - id: document-sheet
784
+ term: DocumentSheetIcon
785
+ definition: Spreadsheet or tabular documents.
786
+ aliases: [document-sheet, Spreadsheet, Table, Grid]
787
+ usage: >-
788
+ Use when: - As an indicator for spreadsheet or tabular-data files, such as Excel, CSV, or
789
+ TSV Do not use: - For general documents or files. Use DocumentIcon instead. - For
790
+ representing tabular data. Use ThListIcon instead.
791
+ refs:
792
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document-sheet.svg
793
+ rel: source
794
+ - id: document-text
795
+ term: DocumentTextIcon
796
+ definition: Text-based documents.
797
+ aliases: [document-text, Text File, Article, Written]
798
+ usage: >-
799
+ Use when: - As an indicator for text-based files, such as .txt, .rtf, or Markdown Do not
800
+ use: - Don't use for rich text. Use BlockContentIcon instead.
801
+ refs:
802
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document-text.svg
803
+ rel: source
804
+ - id: document-video
805
+ term: DocumentVideoIcon
806
+ definition: Video files.
807
+ aliases: [document-video, Video File, Movie, Recording]
808
+ usage: >-
809
+ Use when: - As an indicator for a video file Do not use: - For representing video playback
810
+ or video in the interface. Use VideoIcon instead.
811
+ refs:
812
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document-video.svg
813
+ rel: source
814
+ - id: document-word
815
+ term: DocumentWordIcon
816
+ definition: Word processor documents.
817
+ aliases: [document-word, Word Document, DOC, Text Processing]
818
+ usage: >-
819
+ Use when: - As an indicator for .doc, .docx, or other Word processor file formats Do not
820
+ use: - For general documents or files. Use DocumentIcon instead. - To represent a general
821
+ text-based document. Use DocumentTextIcon instead.
822
+ refs:
823
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document-word.svg
824
+ rel: source
825
+ - id: document-zip
826
+ term: DocumentZipIcon
827
+ definition: Compressed or archived files.
828
+ aliases: [document-zip, Archive, Compressed, Package]
829
+ usage: >-
830
+ Use when: - As an indicator for .zip, .tar, /.gzip or other compression file formats Do
831
+ not use: - For general archives or archiving data. Use ArchiveIcon instead.
832
+ refs:
833
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/document-zip.svg
834
+ rel: source
835
+ - id: dot
836
+ term: DotIcon
837
+ definition: Minimal status indicator.
838
+ aliases: [dot, Point, Bullet, Marker Small]
839
+ usage: >-
840
+ Use when: - To visually highlight an item as updated - To mark an item with a minimal
841
+ status indicator Do not use: - As a bullet for unordered lists. Use unicode characters
842
+ instead. - To mark items with a warning or error status. Use WarningOutlineIcon or
843
+ ErrorOutlineIcon respectively.
844
+ refs:
845
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/dot.svg
846
+ rel: source
847
+ - id: double-chevron-down
848
+ term: DoubleChevronDownIcon
849
+ definition: 'Moving, resizing, transitioning, or revealing/concealing a group of elements in a downward direction.'
850
+ aliases: [double-chevron-down, Fast Down, Jump Down, Scroll Bottom]
851
+ usage: >-
852
+ Use when: - As a general affordance for expanding content for a group of elements when
853
+ direction is not explicitly known - For expanding a group of elements' content in a top-
854
+ to-bottom direction (example: all accordion sections) - For collapsing a group of
855
+ elements' content in a bottom-to-top direction Do not use: - For moving, resizing, or
856
+ expanding/collapsing a single element. Use ChevronDownIcon instead. - To scroll down
857
+ within a page. Use ArrowDownIcon instead.
858
+ refs:
859
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/double-chevron-down.svg
860
+ rel: source
861
+ - id: double-chevron-left
862
+ term: DoubleChevronLeftIcon
863
+ definition: 'Moving, resizing, transitioning, or revealing/concealing a group of elements in a leftward direction.'
864
+ aliases: [double-chevron-left, Fast Left, Jump Previous, Rewind]
865
+ usage: >-
866
+ Use when: - For expanding a group of elements' content in a right-to-left direction
867
+ (example: a leading floating panel) Do not use: - For moving, resizing, or
868
+ expanding/collapsing a single element. Use ChevronLeftIcon instead. - To navigate back to a
869
+ previous page. Use ArrowLeftIcon instead.
870
+ refs:
871
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/double-chevron-left.svg
872
+ rel: source
873
+ - id: double-chevron-right
874
+ term: DoubleChevronRightIcon
875
+ definition: 'Moving, resizing, transitioning, or revealing/concealing a group of elements in a rightward direction.'
876
+ aliases: [double-chevron-right, Fast Right, Jump Next, Fast Forward]
877
+ usage: >-
878
+ Use when: - For expanding a group of elements' content in a left-to-right direction
879
+ (example: a trailing floating panel) Do not use: - For moving, resizing, or
880
+ expanding/collapsing a single element. Use ChevronRightIcon instead. - To navigate forward
881
+ to a new page. Use ArrowRightIcon instead.
882
+ refs:
883
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/double-chevron-right.svg
884
+ rel: source
885
+ - id: double-chevron-up
886
+ term: DoubleChevronUpIcon
887
+ definition: 'Moving, resizing, transitioning, or revealing/concealing a group of elements in an upward direction.'
888
+ aliases: [double-chevron-up, Fast Up, Jump Up, Scroll Top]
889
+ usage: >-
890
+ Use when: - For collapsing a group of elements' content in a top-to-bottom direction
891
+ (example: all accordion sections) - For expanding a group of elements' content in a
892
+ bottom-to-top direction Do not use: - For moving, resizing, or expanding/collapsing a
893
+ single element. Use ChevronUpIcon instead. - To scroll up within a page. Use ArrowUpIcon
894
+ instead.
895
+ refs:
896
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/double-chevron-up.svg
897
+ rel: source
898
+ - id: double-quote
899
+ term: DoubleQuoteIcon
900
+ definition: '<!-- TODO: describe DoubleQuoteIcon -->'
901
+ aliases: [double-quote]
902
+ refs:
903
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/double-quote.svg
904
+ rel: source
905
+ - id: download
906
+ term: DownloadIcon
907
+ definition: To represent downloading or exporting of content.
908
+ aliases: [download, Save, Get, Pull]
909
+ usage: >-
910
+ Use when: - To indicate downloads or downloading actions. - To indicate exports or
911
+ exporting actions. Do not use: - For uploads or uploading actions. Use UploadIcon instead.
912
+ - For imports or importing actions. Use UploadIcon instead. - For actions associated with
913
+ publishing. Use UnpublishIcon instead.
914
+ refs:
915
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/download.svg
916
+ rel: source
917
+ - id: drag-handle
918
+ term: DragHandleIcon
919
+ definition: Reorder items in a group through drag and drop interactions.
920
+ aliases: [drag-handle, Grip, Reorder, Move]
921
+ usage: >-
922
+ Use when: - Used exclusively for sortable lists or draggable items Do not use: - For non-
923
+ draggable items.
924
+ refs:
925
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/drag-handle.svg
926
+ rel: source
927
+ - id: drop
928
+ term: DropIcon
929
+ definition: Individual coloring of an element.
930
+ aliases: [drop, Liquid, Water, Fluid]
931
+ usage: >-
932
+ Use when: - To reference or represent the color of an individual element Do not use: - For
933
+ targeting a color theme or creating a color palette. Use ColorWheelIcon instead.
934
+ refs:
935
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/drop.svg
936
+ rel: source
937
+ - id: earth-americas
938
+ term: EarthAmericasIcon
939
+ definition: Representation of geo-region or time zones.
940
+ aliases: [earth-americas, Globe Americas, World, International]
941
+ usage: >-
942
+ Use when: - Representing geo-region (example: Asia, Europe, etc.) or time zones. Do not
943
+ use: - Representing specific geo-location. Use MarkerIcon instead. - Representing public
944
+ content. Use EarthGlobeIcon instead.
945
+ refs:
946
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/earth-americas.svg
947
+ rel: source
948
+ - id: earth-globe
949
+ term: EarthGlobeIcon
950
+ definition: To represent global concepts or public features.
951
+ aliases: [earth-globe, World, Global, International]
952
+ usage: >-
953
+ Use when: - To represent public content Do not use: - To select a geo-region or timezone.
954
+ Use EarthAmericasIcon instead. - To represent language. Use TranslateIcon instead.
955
+ refs:
956
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/earth-globe.svg
957
+ rel: source
958
+ - id: edit
959
+ term: EditIcon
960
+ definition: Edit or modify actions.
961
+ aliases: [edit, Modify, Change, Update]
962
+ usage: >-
963
+ Use when: - For editing, modifying or updating content. Do not use: - For creating new
964
+ general content. Use AddIcon instead. - For creating new written content. Use ComposeIcon
965
+ instead.
966
+ refs:
967
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/edit.svg
968
+ rel: source
969
+ - id: ellipsis-horizontal
970
+ term: EllipsisHorizontalIcon
971
+ definition: Reveal additional actions in a menu.
972
+ aliases: [ellipsis-horizontal, More Options, Menu, Additional]
973
+ usage: >-
974
+ Use when: - Revealing additional options or actions in an overflow menu Do not use: - For
975
+ revealing a navigation menu. Use MenuIcon instead. - To indicate truncated text. Use
976
+ typographic ellipses instead.
977
+ refs:
978
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/ellipsis-horizontal.svg
979
+ rel: source
980
+ - id: ellipsis-vertical
981
+ term: EllipsisVerticalIcon
982
+ definition: '<!-- TODO: describe EllipsisVerticalIcon -->'
983
+ aliases: [ellipsis-vertical]
984
+ refs:
985
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/ellipsis-vertical.svg
986
+ rel: source
987
+ - id: empty
988
+ term: EmptyIcon
989
+ definition: To indicate that no results exist or that something is in a blank state.
990
+ aliases: [empty]
991
+ usage: >-
992
+ Use when: - To indicate that parent has no children - To show that there are no results or
993
+ instances of something - To show that something isn't used Do not use: - To indicate
994
+ null values
995
+ refs:
996
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/empty.svg
997
+ rel: source
998
+ - id: enter
999
+ term: EnterIcon
1000
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1001
+ aliases: [enter, Return, Submit, Go]
1002
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1003
+ refs:
1004
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/enter.svg
1005
+ rel: source
1006
+ - id: enter-right
1007
+ term: EnterRightIcon
1008
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1009
+ aliases: [enter-right, Enter Direction, Go Right, Navigate In]
1010
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1011
+ refs:
1012
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/enter-right.svg
1013
+ rel: source
1014
+ - id: envelope
1015
+ term: EnvelopeIcon
1016
+ definition: Email or email communication.
1017
+ aliases: [envelope, Email, Mail, Message]
1018
+ usage: >-
1019
+ Use when: - Specifically for email-based communication/features Do not use: - For in-app
1020
+ chat. Use CommentIcon instead. - For general feedback. Use FeedbackIcon instead.
1021
+ refs:
1022
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/envelope.svg
1023
+ rel: source
1024
+ - id: equal
1025
+ term: EqualIcon
1026
+ definition: '<!-- TODO: describe EqualIcon -->'
1027
+ aliases: [equal]
1028
+ refs:
1029
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/equal.svg
1030
+ rel: source
1031
+ - id: error-filled
1032
+ term: ErrorFilledIcon
1033
+ definition: '<!-- TODO: describe ErrorFilledIcon -->'
1034
+ aliases: [error-filled]
1035
+ refs:
1036
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/error-filled.svg
1037
+ rel: source
1038
+ - id: error-outline
1039
+ term: ErrorOutlineIcon
1040
+ definition: To represent a general error within the application.
1041
+ aliases: [error-outline, Error, Alert, Failed]
1042
+ usage: >-
1043
+ Use when: - To represent a critical or blocking error - When an operation or process fails
1044
+ - To visually demarcate an error message Do not use: - To represent issues that are
1045
+ neither critical nor blocking. Use WarningOutlineIcon instead. - To represent issues
1046
+ related to user permissions. Use AccessDeniedIcon instead.
1047
+ refs:
1048
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/error-outline.svg
1049
+ rel: source
1050
+ - id: error-screen
1051
+ term: ErrorScreenIcon
1052
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1053
+ aliases: [error-screen]
1054
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1055
+ refs:
1056
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/error-screen.svg
1057
+ rel: source
1058
+ - id: expand
1059
+ term: ExpandIcon
1060
+ definition: To enter the interface into a maximized state or mode.
1061
+ aliases: [expand, Maximize, Grow, Enlarge]
1062
+ usage: >-
1063
+ Use when: - For entering full screen mode in the interface - For entering focus mode in
1064
+ the interface Do not use: - For expanding UI elements. Use ChevronDownIcon instead. - For
1065
+ making UI elements visible. Use EyeOpenIcon instead.
1066
+ refs:
1067
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/expand.svg
1068
+ rel: source
1069
+ - id: eye-closed
1070
+ term: EyeClosedIcon
1071
+ definition: To indicate that an item is hidden from view or to make an item hidden from view.
1072
+ aliases: [eye-closed, Hidden, Invisible, Off]
1073
+ usage: >-
1074
+ Use when: - For hiding content from view, such as passwords or content elements. Do not
1075
+ use: - For hiding, closing or dismissing UI elements. Use CloseIcon instead. - For
1076
+ collapsing UI elements. Use ChevronUpIcon instead. - To represent private content or
1077
+ making something private. Use LockIcon instead.
1078
+ refs:
1079
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/eye-closed.svg
1080
+ rel: source
1081
+ - id: eye-open
1082
+ term: EyeOpenIcon
1083
+ definition: To indicate that an item is visible or to make an item visible.
1084
+ aliases: [eye-open, Visible, Show, View]
1085
+ usage: >-
1086
+ Use when: - For showing content in a view, such as passwords or content elements. Do not
1087
+ use: - For opening new content, such as tabs, windows, previews or applications. Use
1088
+ LaunchIcon instead. - For exposing UI elements. Use ChevronDownIcon instead. - To
1089
+ represent public content or making something public. Use EarthGlobeIcon instead.
1090
+ refs:
1091
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/eye-open.svg
1092
+ rel: source
1093
+ - id: face-happy
1094
+ term: FaceHappyIcon
1095
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1096
+ aliases: [face-happy]
1097
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1098
+ refs:
1099
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/face-happy.svg
1100
+ rel: source
1101
+ - id: face-indifferent
1102
+ term: FaceIndifferentIcon
1103
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1104
+ aliases: [face-indifferent]
1105
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1106
+ refs:
1107
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/face-indifferent.svg
1108
+ rel: source
1109
+ - id: face-sad
1110
+ term: FaceSadIcon
1111
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1112
+ aliases: [face-sad]
1113
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1114
+ refs:
1115
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/face-sad.svg
1116
+ rel: source
1117
+ - id: feedback
1118
+ term: FeedbackIcon
1119
+ definition: To represent a feature or action to collect feedback from users.
1120
+ aliases: [feedback]
1121
+ usage: >-
1122
+ Use when: - When asking for feedback or to indicate that a feature is open for feedback Do
1123
+ not use: - To represent comments. Use CommentIcon instead. - To represent discussion
1124
+ threads. Use CommentIcon instead.
1125
+ refs:
1126
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/feedback.svg
1127
+ rel: source
1128
+ - id: filter
1129
+ term: FilterIcon
1130
+ definition: Filtering or refine a group of items.
1131
+ aliases: [filter, Funnel, Sort Options, Refine]
1132
+ usage: >-
1133
+ Use when: - To reveal a filter menu or a group of filters - To reveal a group of filters
1134
+ and sort options. - To perform a filtering action Do not use: - For sorting or reordering
1135
+ items. Use SortIcon instead. - To reveal a free-form text input filter. Use SearchIcon
1136
+ instead.
1137
+ refs:
1138
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/filter.svg
1139
+ rel: source
1140
+ - id: folder
1141
+ term: FolderIcon
1142
+ definition: To represent folders or directories.
1143
+ aliases: [folder, Directory, Collection, Group]
1144
+ usage: >-
1145
+ Use when: - For folder navigation or representing directory structures. - For grouping
1146
+ items in the context of a file system. Do not use: - For individual files. Use
1147
+ DocumentIcon instead. - For representing packages or collections. Use PackageIcon instead.
1148
+ refs:
1149
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/folder.svg
1150
+ rel: source
1151
+ - id: generate
1152
+ term: GenerateIcon
1153
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1154
+ aliases: [generate, AI, Create, Automatic]
1155
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1156
+ refs:
1157
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/generate.svg
1158
+ rel: source
1159
+ - id: github
1160
+ term: GithubIcon
1161
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1162
+ aliases: [github]
1163
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1164
+ refs:
1165
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/github.svg
1166
+ rel: source
1167
+ - id: groq
1168
+ term: GroqIcon
1169
+ definition: Sanity's GROQ query language.
1170
+ aliases: [groq, Query, GROQ, Sanity Query]
1171
+ usage: >-
1172
+ Use when: - For GROQ queries or query builders - To represent Sanity-specific query
1173
+ features Do not use: - Don't use outside Sanity context. For general representation of
1174
+ data queries, use DatabaseIcon instead.
1175
+ refs:
1176
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/groq.svg
1177
+ rel: source
1178
+ - id: hash
1179
+ term: HashIcon
1180
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1181
+ aliases: [hash, Hashtag, Tag, Number]
1182
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1183
+ refs:
1184
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/hash.svg
1185
+ rel: source
1186
+ - id: heart
1187
+ term: HeartIcon
1188
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1189
+ aliases: [heart, Favorite, Like, Love]
1190
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1191
+ refs:
1192
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/heart.svg
1193
+ rel: source
1194
+ - id: heart-filled
1195
+ term: HeartFilledIcon
1196
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1197
+ aliases: [heart-filled, Favorite, Like, Love]
1198
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1199
+ refs:
1200
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/heart-filled.svg
1201
+ rel: source
1202
+ - id: help-circle
1203
+ term: HelpCircleIcon
1204
+ definition: Help or support.
1205
+ aliases: [help-circle, Question, Help, Support]
1206
+ usage: >-
1207
+ Use when: - For help sections - For links to Support - For any link/affordance in which
1208
+ the primary purpose is help Do not use: - For contextual information in UI. Use
1209
+ InfoOutlineIcon instead. - For documentation. Use BookIcon instead.
1210
+ refs:
1211
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/help-circle.svg
1212
+ rel: source
1213
+ - id: highlight
1214
+ term: HighlightIcon
1215
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1216
+ aliases: [highlight, Mark, Emphasis, Note]
1217
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1218
+ refs:
1219
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/highlight.svg
1220
+ rel: source
1221
+ - id: home
1222
+ term: HomeIcon
1223
+ definition: Home or main page.
1224
+ aliases: [home, House, Main, Start]
1225
+ usage: >-
1226
+ Use when: - To provide a direct link to the top-most page of Sanity. Do not use: - To link
1227
+ to the entry page of an individual application or plugin.
1228
+ refs:
1229
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/home.svg
1230
+ rel: source
1231
+ - id: ice-cream
1232
+ term: IceCreamIcon
1233
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1234
+ aliases: [ice-cream, Treat, Dessert, Sweet]
1235
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1236
+ refs:
1237
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/ice-cream.svg
1238
+ rel: source
1239
+ - id: image
1240
+ term: ImageIcon
1241
+ definition: To represent a single image.
1242
+ aliases: [image, Picture, Photo, Media]
1243
+ usage: >-
1244
+ Use when: - To represent an image or image file. - As a placeholder for an image before
1245
+ it's fully loaded Do not use: - To represent multiple images. Use ImagesIcon instead. - To
1246
+ represent a video. Use VideoIcon instead.
1247
+ refs:
1248
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/image.svg
1249
+ rel: source
1250
+ - id: image-remove
1251
+ term: ImageRemoveIcon
1252
+ definition: Removing or deleting an image.
1253
+ aliases: [image-remove, Delete Image, Remove Photo, Clear]
1254
+ usage: >-
1255
+ Use when: - For image removal or deletion Do not use: - For general removal. Use
1256
+ RemoveIcon instead. - For any actions associated with image editing.
1257
+ refs:
1258
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/image-remove.svg
1259
+ rel: source
1260
+ - id: images
1261
+ term: ImagesIcon
1262
+ definition: To represent a collection of images or a collection of mixed media formats.
1263
+ aliases: [images, Gallery, Multiple Photos, Collection]
1264
+ usage: >-
1265
+ Use when: - To represent multiple images or media files Do not use: - To represent a
1266
+ single image. Use ImageIcon instead. - To represent a general collection. Use PackageIcon
1267
+ instead.
1268
+ refs:
1269
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/images.svg
1270
+ rel: source
1271
+ - id: inbox
1272
+ term: InboxIcon
1273
+ definition: '<!-- TODO: describe InboxIcon -->'
1274
+ aliases: [inbox]
1275
+ refs:
1276
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/inbox.svg
1277
+ rel: source
1278
+ - id: info-filled
1279
+ term: InfoFilledIcon
1280
+ definition: '<!-- TODO: describe InfoFilledIcon -->'
1281
+ aliases: [info-filled]
1282
+ refs:
1283
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/info-filled.svg
1284
+ rel: source
1285
+ - id: info-outline
1286
+ term: InfoOutlineIcon
1287
+ definition: To represent additional information or details.
1288
+ aliases: [info-outline, Information, Details, About]
1289
+ usage: >-
1290
+ Use when: - For informational tooltips - Indicators for details or additional information
1291
+ - To demarcate notifications that are for general information/context Do not use: - To
1292
+ represent help/support. Use HelpCircleIcon instead. - To represent documentation. Use
1293
+ BookIcon instead.
1294
+ refs:
1295
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/info-outline.svg
1296
+ rel: source
1297
+ - id: inline
1298
+ term: InlineIcon
1299
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1300
+ aliases: [inline, Inline Text, Continuous, Flow]
1301
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1302
+ refs:
1303
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/inline.svg
1304
+ rel: source
1305
+ - id: inline-element
1306
+ term: InlineElementIcon
1307
+ definition: Inline layout elements.
1308
+ aliases: [inline-element, Inline, Span, Text Element]
1309
+ usage: >-
1310
+ Use when: - To represent content that is displayed as an inline element (taking up as much
1311
+ width as necessary for its content and flows within the current line without forcing a
1312
+ line break). Do not use: - To represent the size or aspect ratio of an element. - For
1313
+ spliting a layout horizontally. Use SplitHorizontalIcon instead.
1314
+ refs:
1315
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/inline-element.svg
1316
+ rel: source
1317
+ - id: insert-above
1318
+ term: InsertAboveIcon
1319
+ definition: Inserting content above an element in a vertical list.
1320
+ aliases: [insert-above, Add Above, Insert Before, Up]
1321
+ usage: >-
1322
+ Use when: - For adding content above current position - For adding a preceding row in a
1323
+ table Do not use: - For adding of content where position does not matter. Use AddIcon
1324
+ instead.
1325
+ refs:
1326
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/insert-above.svg
1327
+ rel: source
1328
+ - id: insert-below
1329
+ term: InsertBelowIcon
1330
+ definition: Inserting content below an element in a vertical list.
1331
+ aliases: [insert-below, Add Below, Insert After, Down]
1332
+ usage: >-
1333
+ Use when: - For adding content below current position - For adding a proceeding row in a
1334
+ table Do not use: - For adding of content where position does not matter. Use AddIcon
1335
+ instead.
1336
+ refs:
1337
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/insert-below.svg
1338
+ rel: source
1339
+ - id: italic
1340
+ term: ItalicIcon
1341
+ definition: Italic text formatting.
1342
+ aliases: [italic, Emphasis, Slant, Italic Text]
1343
+ usage: >-
1344
+ Use when: - For toggling text as italic within a text editing feature. Do not use: -
1345
+ Outside text editing. This icon is intended for formatting toolsets.
1346
+ refs:
1347
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/italic.svg
1348
+ rel: source
1349
+ - id: joystick
1350
+ term: JoystickIcon
1351
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1352
+ aliases: [joystick, Game, Controller, Gaming]
1353
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1354
+ refs:
1355
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/joystick.svg
1356
+ rel: source
1357
+ - id: json
1358
+ term: JsonIcon
1359
+ definition: To represent JSON data.
1360
+ aliases: [json, Data, JSON Format, Code]
1361
+ usage: >-
1362
+ Use when: - For JSON editors - For JSON data display Do not use: - To represent inline
1363
+ code. Use CodeIcon instead. - To represent a code blocks. Use CodeBlockIcon instead.
1364
+ refs:
1365
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/json.svg
1366
+ rel: source
1367
+ - id: launch
1368
+ term: LaunchIcon
1369
+ definition: To indicate a link external from Sanity.
1370
+ aliases: [launch, Open, External, Start]
1371
+ usage: >-
1372
+ Use when: - To indicate an external link Do not use: - For internal navigation with the
1373
+ current Studio or application. Use ArrowRightIcon instead. - For navigation to a different
1374
+ Studio or application. Use ArrowTopRightIcon instead.
1375
+ refs:
1376
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/launch.svg
1377
+ rel: source
1378
+ - id: leave
1379
+ term: LeaveIcon
1380
+ definition: Leaving or exiting.
1381
+ aliases: [leave, Exit, Logout, Sign Out]
1382
+ usage: >-
1383
+ Use when: - For logout or exiting actions Do not use: - For closing or dismissing views.
1384
+ Use CloseIcon instead. - For toggling sidebars or panels. Use PanelLeftIcon or
1385
+ PanelRightIcon instead.
1386
+ refs:
1387
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/leave.svg
1388
+ rel: source
1389
+ - id: lemon
1390
+ term: LemonIcon
1391
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1392
+ aliases: [lemon, Citrus, Fresh, Fruit]
1393
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1394
+ refs:
1395
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/lemon.svg
1396
+ rel: source
1397
+ - id: link
1398
+ term: LinkIcon
1399
+ definition: Links or connections.
1400
+ aliases: [link, Hyperlink, Connection, URL]
1401
+ usage: >-
1402
+ Use when: - To represent a link or copying a link to the clipboard - To represent linking
1403
+ one item to another Do not use: - For unlinked items. Use LinkRemovedIcon instead. - For
1404
+ broken links. Use UnlinkIcon instead.
1405
+ refs:
1406
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/link.svg
1407
+ rel: source
1408
+ - id: linkedin
1409
+ term: LinkedinIcon
1410
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1411
+ aliases: [linkedin]
1412
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1413
+ refs:
1414
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/linkedin.svg
1415
+ rel: source
1416
+ - id: link-removed
1417
+ term: LinkRemovedIcon
1418
+ definition: To represent removing a link or a connection.
1419
+ aliases: [link-removed, Broken Link, Disconnected, Unlinked]
1420
+ usage: >-
1421
+ Use when: - As an action to remove a link or disconnect two items Do not use: - To
1422
+ represent a broken/missing link or disconnected state. Use UnlinkIcon instead.
1423
+ refs:
1424
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/link-removed.svg
1425
+ rel: source
1426
+ - id: list
1427
+ term: ListIcon
1428
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1429
+ aliases: [list]
1430
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1431
+ refs:
1432
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/list.svg
1433
+ rel: source
1434
+ - id: lock
1435
+ term: LockIcon
1436
+ definition: To represent locked or secured content.
1437
+ aliases: [lock, Locked, Secure, Private]
1438
+ usage: >-
1439
+ Use when: - To represent locked content or an action to lock content. - To represent an
1440
+ action to gain access to private content. - To represent private content/items - To
1441
+ represent that content cannot be altered. Do not use: - As a general toggle for
1442
+ locking/unlocking. Use UnlockIcon and LockIcon in conjunction. - To represent
1443
+ locking/docking of interface elements. For sidebar locking/docking use PanelLeftIcon or
1444
+ PanelRightIcon instead.
1445
+ refs:
1446
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/lock.svg
1447
+ rel: source
1448
+ - id: logo-js
1449
+ term: LogoJsIcon
1450
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1451
+ aliases: [logo-js, JavaScript, JS, ECMAScript]
1452
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1453
+ refs:
1454
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/logo-js.svg
1455
+ rel: source
1456
+ - id: logo-ts
1457
+ term: LogoTsIcon
1458
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1459
+ aliases: [logo-ts, TypeScript, TS, Type Script]
1460
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1461
+ refs:
1462
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/logo-ts.svg
1463
+ rel: source
1464
+ - id: marker
1465
+ term: MarkerIcon
1466
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1467
+ aliases: [marker]
1468
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1469
+ refs:
1470
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/marker.svg
1471
+ rel: source
1472
+ - id: marker-removed
1473
+ term: MarkerRemovedIcon
1474
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1475
+ aliases: [marker-removed]
1476
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1477
+ refs:
1478
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/marker-removed.svg
1479
+ rel: source
1480
+ - id: master-detail
1481
+ term: MasterDetailIcon
1482
+ definition: To represent the Sanity Studio.
1483
+ aliases: [master-detail, Split View, Layout, Detail Pane]
1484
+ usage: >-
1485
+ Use when: - Representing the Structure tool within Sanity Studio Do not use: - For any
1486
+ purpose other than representing the Structure tool within Sanity Studio
1487
+ refs:
1488
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/master-detail.svg
1489
+ rel: source
1490
+ - id: menu
1491
+ term: MenuIcon
1492
+ definition: Reveal main navigation in a menu or panel.
1493
+ aliases: [menu, Hamburger, Navigation, Drawer]
1494
+ usage: >-
1495
+ Use when: - To represent the main navigational menu. Do not use: - For any menu that is
1496
+ not the primary navigation. - For filter menus, use FilterIcon instead. - For options
1497
+ menus, use EllipsisHorizontalIcon instead. - For secondary menus, use ChevronDown instead.
1498
+ Best practices: - MenuIcon should be used once in a screen. Avoid multiple menu
1499
+ affordances to represent different navigational elements.
1500
+ refs:
1501
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/menu.svg
1502
+ rel: source
1503
+ - id: microphone
1504
+ term: MicrophoneIcon
1505
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1506
+ aliases: [microphone]
1507
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1508
+ refs:
1509
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/microphone.svg
1510
+ rel: source
1511
+ - id: microphone-slash
1512
+ term: MicrophoneSlashIcon
1513
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1514
+ aliases: [microphone-slash]
1515
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1516
+ refs:
1517
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/microphone-slash.svg
1518
+ rel: source
1519
+ - id: mobile-device
1520
+ term: MobileDeviceIcon
1521
+ definition: Mobile device or phone.
1522
+ aliases: [mobile-device, Phone, Smartphone, Mobile]
1523
+ usage: >-
1524
+ Use when: - To represent a mobile device when choosing between different device types - To
1525
+ represent general touch-based devices Do not use: - To represent tablets. Use
1526
+ TabletDeviceIcon instead.
1527
+ refs:
1528
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/mobile-device.svg
1529
+ rel: source
1530
+ - id: moon
1531
+ term: MoonIcon
1532
+ definition: Dark mode setting.
1533
+ aliases: [moon, Dark Mode, Night, Theme]
1534
+ usage: >-
1535
+ Use when: - For setting a color scheme to dark mode Do not use: - For light mode. Use
1536
+ SunIcon instead.
1537
+ refs:
1538
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/moon.svg
1539
+ rel: source
1540
+ - id: number
1541
+ term: NumberIcon
1542
+ definition: Numeric data or Number type.
1543
+ aliases: [number, Hash, Numeric, Count]
1544
+ usage: >-
1545
+ Use when: - To indicate that a numeric data or a Number type value Do not use: - To
1546
+ represent underlined text style. Use UnderlineIcon instead.
1547
+ refs:
1548
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/number.svg
1549
+ rel: source
1550
+ - id: ok-hand
1551
+ term: OkHandIcon
1552
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1553
+ aliases: [ok-hand, Okay, Approved, Good]
1554
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1555
+ refs:
1556
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/ok-hand.svg
1557
+ rel: source
1558
+ - id: olist
1559
+ term: OlistIcon
1560
+ definition: Ordered/numbered lists.
1561
+ aliases: [olist, Ordered List, Numbered, Sequence]
1562
+ usage: >-
1563
+ Use when: - To represent numbered lists - List formatting for ordered lists Do not use: -
1564
+ To represent a general list. Use ListIcon instead. - For unordered lists. Use UlistIcon
1565
+ instead.
1566
+ refs:
1567
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/olist.svg
1568
+ rel: source
1569
+ - id: overage
1570
+ term: OverageIcon
1571
+ definition: Overage or exceeding limits.
1572
+ aliases: [overage, Excess, Limit, Quota]
1573
+ usage: >-
1574
+ Use when: - For quota warnings, exceeded limit indicators, or overage alerts Do not use: -
1575
+ For general warnings Use WarningOutlineIcon instead. - To represent usage or a general
1576
+ line chart. Use ChartUpwardIcon instead. - To represent activity or health metrics. Use
1577
+ ActivityIcon instead. - To represent trends in data. Use TrendUpwardIcon instead.
1578
+ refs:
1579
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/overage.svg
1580
+ rel: source
1581
+ - id: package
1582
+ term: PackageIcon
1583
+ definition: 'Packages, or bundles, or collections.'
1584
+ aliases: [package, Bundle, Module, Dependency]
1585
+ usage: >-
1586
+ Use when: - To represent package management, bundles, or collections of data. Do not use:
1587
+ - For shipping general groups of documents. Use DocumentsIcon instead. - For
1588
+ directories/folders of files. Use FolderIcon instead.
1589
+ refs:
1590
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/package.svg
1591
+ rel: source
1592
+ - id: panel-left
1593
+ term: PanelLeftIcon
1594
+ definition: Toggle the visibility of a left panel or sidebar.
1595
+ aliases: [panel-left, Sidebar Left, Left Panel, West]
1596
+ usage: >-
1597
+ Use when: - Toggling the visibility, docking or locking a left sidebar/panel Do not use: -
1598
+ Don't use for navigation. Use MenuIcon instead. - Don't use to indicate closing the
1599
+ PanelRightIcon. Use PanelLeftIcon instead. Best practices: - Consider RTL languages when
1600
+ using panel left/right. - Make sure to reinforce which toggle action will occur in the
1601
+ label (ex: "Open the navigation panel")
1602
+ refs:
1603
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/panel-left.svg
1604
+ rel: source
1605
+ - id: panel-right
1606
+ term: PanelRightIcon
1607
+ definition: Toggle the visibility of a left panel or sidebar.
1608
+ aliases: [panel-right, Sidebar Right, Right Panel, East]
1609
+ usage: >-
1610
+ Use when: - Toggling the visibility, docking or locking a right sidebar/panel Do not use:
1611
+ - Don't use for navigation. Use MenuIcon instead. - Don't use to indicate closing the
1612
+ PanelLeftIcon. Use PanelRightIcon instead. Best practices: - Consider RTL languages when
1613
+ using panel left/right. - Consider RTL languages when using panel left/right. - Make sure
1614
+ to reinforce which toggle action will occur in the label (ex: "Close the inspector panel")
1615
+ refs:
1616
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/panel-right.svg
1617
+ rel: source
1618
+ - id: pause
1619
+ term: PauseIcon
1620
+ definition: Pausing media playback or holding actions.
1621
+ aliases: [pause, Stop, Hold, Wait]
1622
+ usage: >-
1623
+ Use when: - For pausing media playback - For holding processes or actions Do not use: -
1624
+ Don't use for stopping playback completely or terminating actions. Use StopIcon instead.
1625
+ refs:
1626
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pause.svg
1627
+ rel: source
1628
+ - id: pin
1629
+ term: PinIcon
1630
+ definition: To represent an item that can be pinned.
1631
+ aliases: [pin, Unpinned]
1632
+ usage: >-
1633
+ Use when: - As an affordance for pinning an item to a view Do not use: - For representing
1634
+ an actively pinned item. Use PinFilledIcon instead. - For favoriting or saving content.
1635
+ Use StarIcon instead.
1636
+ refs:
1637
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pin.svg
1638
+ rel: source
1639
+ - id: pin-filled
1640
+ term: PinFilledIcon
1641
+ definition: To represent a pinned item.
1642
+ aliases: [pin-filled, Pinned]
1643
+ usage: >-
1644
+ Use when: - To represent an item that has been pinned to a view Do not use: - To represent
1645
+ favorited or saved content. Use StarFilledIcon instead.
1646
+ refs:
1647
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pin-filled.svg
1648
+ rel: source
1649
+ - id: pin-removed
1650
+ term: PinRemovedIcon
1651
+ definition: '<!-- TODO: describe PinRemovedIcon -->'
1652
+ aliases: [pin-removed]
1653
+ refs:
1654
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pin-removed.svg
1655
+ rel: source
1656
+ - id: play
1657
+ term: PlayIcon
1658
+ definition: Starting media playback or initiating actions.
1659
+ aliases: [play, Start, Run, Begin]
1660
+ usage: >-
1661
+ Use when: - To represent media playback or starting media playback - For initiating
1662
+ processes or actions Do not use: - For toggling visibility of items within a tree view.
1663
+ Use ToggleArrowRightIcon instead.
1664
+ refs:
1665
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/play.svg
1666
+ rel: source
1667
+ - id: plug
1668
+ term: PlugIcon
1669
+ definition: Represents API endpoints or integrations.
1670
+ aliases: [plug, Plugin, Extension, Connection]
1671
+ usage: >-
1672
+ Use when: - Referencing API integrations, features, or endpoints Do not use: - For general
1673
+ code references. Use CodeIcon or CodeBlockIcon instead. - For code inspection. Use
1674
+ JsonIcon instead.
1675
+ refs:
1676
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/plug.svg
1677
+ rel: source
1678
+ - id: presentation
1679
+ term: PresentationIcon
1680
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1681
+ aliases: [presentation, Slideshow, Present, Display]
1682
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1683
+ refs:
1684
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/presentation.svg
1685
+ rel: source
1686
+ - id: progress50
1687
+ term: Progress50Icon
1688
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1689
+ aliases: [progress50]
1690
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1691
+ refs:
1692
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/progress50.svg
1693
+ rel: source
1694
+ - id: progress75
1695
+ term: Progress75Icon
1696
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1697
+ aliases: [progress75]
1698
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1699
+ refs:
1700
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/progress75.svg
1701
+ rel: source
1702
+ - id: projects
1703
+ term: ProjectsIcon
1704
+ definition: '<!-- TODO: describe ProjectsIcon -->'
1705
+ aliases: [projects]
1706
+ refs:
1707
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/projects.svg
1708
+ rel: source
1709
+ - id: publish
1710
+ term: PublishIcon
1711
+ definition: Publishing or releasing.
1712
+ aliases: [publish, Release, Deploy, Go Live]
1713
+ usage: >-
1714
+ Use when: - For publishing, deploying or releasing content. Do not use: - For unpublishing
1715
+ content. Use UnpublishIcon instead. - For uploading content. Use UploadIcon instead. - For
1716
+ collapsing content vertically. Use ChevronUpIcon instead.
1717
+ refs:
1718
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/publish.svg
1719
+ rel: source
1720
+ - id: read-only
1721
+ term: ReadOnlyIcon
1722
+ definition: Read-only or view-only state.
1723
+ aliases: [read-only, View Only, Locked, No Edit]
1724
+ usage: >-
1725
+ Use when: - For read-only fields or to reinforce when content is not editable. - To
1726
+ represent a view-only mode. Do not use: - For locked content. Use LockIcon instead. - For
1727
+ content a user is not allowed to access. Use AccessDeniedIcon instead.
1728
+ refs:
1729
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/read-only.svg
1730
+ rel: source
1731
+ - id: redo
1732
+ term: RedoIcon
1733
+ definition: Redo or reapply actions.
1734
+ aliases: [redo, Repeat, Forward, Reapply]
1735
+ usage: >-
1736
+ Use when: - For redo operations Do not use: - For retrying an operation. Use RetryIcon
1737
+ instead. - For going forward in history. Use ArrowRightIcon instead. - For refreshing content.
1738
+ Use RefreshIcon instead.
1739
+ refs:
1740
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/redo.svg
1741
+ rel: source
1742
+ - id: refresh
1743
+ term: RefreshIcon
1744
+ definition: Refresh or reload actions.
1745
+ aliases: [refresh, Reload]
1746
+ usage: >-
1747
+ Use when: - For reloading or refreshing content - To mimic the browser's reload action Do
1748
+ not use: - To represent syncing data or as an action to sync data. Use SyncIcon instead. -
1749
+ To retry a process or operation. Use RetryIcon instead. - To redo or reapply an action.
1750
+ Use RedoIcon instead.
1751
+ refs:
1752
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/refresh.svg
1753
+ rel: source
1754
+ - id: remove
1755
+ term: RemoveIcon
1756
+ definition: Non-permanent removal or subtraction of content/data.
1757
+ aliases: [remove, Minus, Delete, Subtract]
1758
+ usage: >-
1759
+ Use when: - For removing items from a list, collection or view. Do not use: - For
1760
+ permanent deletion of content/data. Use TrashIcon instead.
1761
+ refs:
1762
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/remove.svg
1763
+ rel: source
1764
+ - id: remove-circle
1765
+ term: RemoveCircleIcon
1766
+ definition: '<!-- TODO: describe RemoveCircleIcon -->'
1767
+ aliases: [remove-circle]
1768
+ refs:
1769
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/remove-circle.svg
1770
+ rel: source
1771
+ - id: reset
1772
+ term: ResetIcon
1773
+ definition: To reset an item to its original state or defaults.
1774
+ aliases: [reset, Restart, Clear, Default]
1775
+ usage: >-
1776
+ Use when: - For resetting or clearing all saved values for an item. - For restoring an
1777
+ item to its original state. Do not use: - For undo a single action. Use UndoIcon instead.
1778
+ - To represent the history or activity log for an item. Use RestoreIcon instead. - To
1779
+ represent an error in history. Use ErrorOutlineIcon instead.
1780
+ refs:
1781
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/reset.svg
1782
+ rel: source
1783
+ - id: restore
1784
+ term: RestoreIcon
1785
+ definition: To restore an item to a previous version.
1786
+ aliases: [restore, Recover, Unarchive, Bring Back, Roll Back]
1787
+ usage: >-
1788
+ Use when: - To view the history or activity log of an item - To see previous/recent
1789
+ actions Do not use: - To represent time or duration. Use ClockIcon instead. - For undo a
1790
+ single action. Use UndoIcon instead. - To indicate explicit versions. Use VersionsIcon
1791
+ instead. - To reset to the original state. Use ResetIcon instead.
1792
+ refs:
1793
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/restore.svg
1794
+ rel: source
1795
+ - id: retrieve
1796
+ term: RetrieveIcon
1797
+ definition: '<!-- TODO: describe RetrieveIcon -->'
1798
+ aliases: [retrieve]
1799
+ refs:
1800
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/retrieve.svg
1801
+ rel: source
1802
+ - id: retry
1803
+ term: RetryIcon
1804
+ definition: '<!-- TODO: describe RetryIcon -->'
1805
+ aliases: [retry]
1806
+ refs:
1807
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/retry.svg
1808
+ rel: source
1809
+ - id: revert
1810
+ term: RevertIcon
1811
+ definition: '<!-- TODO: describe RevertIcon -->'
1812
+ aliases: [revert]
1813
+ refs:
1814
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/revert.svg
1815
+ rel: source
1816
+ - id: robot
1817
+ term: RobotIcon
1818
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1819
+ aliases: [robot, Bot, Automation]
1820
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1821
+ refs:
1822
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/robot.svg
1823
+ rel: source
1824
+ - id: rocket
1825
+ term: RocketIcon
1826
+ definition: Launch or high performance.
1827
+ aliases: [rocket, Launch, Fast, Performance]
1828
+ usage: >-
1829
+ Use when: - As an indicator for premium features–typically within the context of an upsell
1830
+ Do not use: - To represent performance health metrics. Use ActivityIcon instead. - To
1831
+ represent business metrics or performance. Use TrendUpwardIcon instead.
1832
+ refs:
1833
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/rocket.svg
1834
+ rel: source
1835
+ - id: schema
1836
+ term: SchemaIcon
1837
+ definition: 'Schema, data structure or hierarchical content.'
1838
+ aliases: [schema, Structure, Model, Definition]
1839
+ usage: >-
1840
+ Use when: - For schema editors or data models - To represent general hierarchical
1841
+ structure of content Do not use: - For general representation of data queries. Use
1842
+ DatabaseIcon instead. - For GROQ-specific features or queries. Use GroqIcon instead.
1843
+ refs:
1844
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/schema.svg
1845
+ rel: source
1846
+ - id: search
1847
+ term: SearchIcon
1848
+ definition: Search/find content/information.
1849
+ aliases: [search, Find, Magnify, Look]
1850
+ usage: >-
1851
+ Use when: - Used to represent any form of search or text-input filtering Do not use: - For
1852
+ code inspection. Use JsonIcon instead. - For non-text-input filtering of list items or
1853
+ table rows. Use FilterIcon instead.
1854
+ refs:
1855
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/search.svg
1856
+ rel: source
1857
+ - id: select
1858
+ term: SelectIcon
1859
+ definition: A visual affordance for select components.
1860
+ aliases: [select, Choose, Pick, Cursor]
1861
+ usage: >-
1862
+ Use when: Exclusively within Select components to visually indicate the input has a menu.
1863
+ Do not use: - For dropdowns, menus or popovers. Use ChevronDownIcon instead. - To indicate
1864
+ sorting order. Use SortIcon instead. - To act as an affordance for reordering items in a
1865
+ list. Use DragHandleIcon instead.
1866
+ refs:
1867
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/select.svg
1868
+ rel: source
1869
+ - id: share
1870
+ term: ShareIcon
1871
+ definition: Sharing or general social media.
1872
+ aliases: [share, Export, Send, Distribute]
1873
+ usage: >-
1874
+ Use when: - For share action or general social media sharing Do not use: - For exporting
1875
+ actions. Use DownloadIcon instead. - For sharing on a specific social media platform. Use
1876
+ GithubIcon, LinkedinIcon, or TwitterIcon instead.
1877
+ refs:
1878
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/share.svg
1879
+ rel: source
1880
+ - id: sort
1881
+ term: SortIcon
1882
+ definition: Sorting or ordering a group of items.
1883
+ aliases: [sort, Order, Arrange, Organize]
1884
+ usage: >-
1885
+ Use when: - For sorting items in a group - For toggling the sort order of items in a group
1886
+ Do not use: - For filtering. Use FilterIcon instead. - When filter and sort actions are
1887
+ combined. Use FilterIcon instead. - To indicate a transfer of information. Use
1888
+ TransferIcon instead.
1889
+ refs:
1890
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sort.svg
1891
+ rel: source
1892
+ - id: sparkle
1893
+ term: SparkleIcon
1894
+ definition: Used exclusively to represent Sanity's branded Content Agent feature.
1895
+ aliases: [sparkle, AI]
1896
+ usage: >-
1897
+ Use when: - To represent Sanity's Content Agent feature Do not use: - For any purpose
1898
+ other than representing Sanity's Content Agent feature
1899
+ refs:
1900
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sparkle.svg
1901
+ rel: source
1902
+ - id: sparkles
1903
+ term: SparklesIcon
1904
+ definition: To represent AI or agentic features.
1905
+ aliases: [sparkles, Magic, AI, Enhanced]
1906
+ usage: >-
1907
+ Use when: - As a general purpose representation for AI-powered features Do not use: - When
1908
+ there are more specific AI icons. For AI-writing features, use ComposeSparklesIcon
1909
+ instead. - For in-product celebrations or announcements. Use ConfettiIcon instead.
1910
+ refs:
1911
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sparkles.svg
1912
+ rel: source
1913
+ - id: spinner
1914
+ term: SpinnerIcon
1915
+ definition: To represent an active and indeterminate loading or processing states.
1916
+ aliases: [spinner, Loading, Processing, Wait]
1917
+ usage: >-
1918
+ Use when: - For active and indeterminate loading indicators or processing states. Do not
1919
+ use: - When progress is known. Use a progress bar for determinate loading instead. - To
1920
+ represent an action related to beginning a loading or processing activity. - To represent
1921
+ syncing. Use SyncIcon instead. - To represent a reload/refresh process. Use RefreshIcon
1922
+ instead.
1923
+ refs:
1924
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/spinner.svg
1925
+ rel: source
1926
+ - id: split-horizontal
1927
+ term: SplitHorizontalIcon
1928
+ definition: Horizontal split layout.
1929
+ aliases: [split-horizontal, Divide Horizontal, Split Panes Horizontal, Layout]
1930
+ usage: >-
1931
+ Use when: - As an action to horizontally split a layout. Do not use: - For vertical UI
1932
+ splits. Use SplitVerticalIcon instead. - For displaying a sidebar/panel. Use PanelLeftIcon
1933
+ or PanelRightIcon
1934
+ refs:
1935
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/split-horizontal.svg
1936
+ rel: source
1937
+ - id: split-vertical
1938
+ term: SplitVerticalIcon
1939
+ definition: Vertical split layout.
1940
+ aliases: [split-vertical, Divide Vertical, Split Panes Vertical, Layout]
1941
+ usage: >-
1942
+ Use when: - As an action to vertically split a layout. Do not use: - For horizontal UI
1943
+ splits. Use SplitVerticalIcon instead. - For displaying a sidebar/panel. Use PanelLeftIcon
1944
+ or PanelRightIcon
1945
+ refs:
1946
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/split-vertical.svg
1947
+ rel: source
1948
+ - id: square
1949
+ term: SquareIcon
1950
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
1951
+ aliases: [square, Box, Rectangle, Shape]
1952
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
1953
+ refs:
1954
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/square.svg
1955
+ rel: source
1956
+ - id: stack
1957
+ term: StackIcon
1958
+ definition: To represent general vertically stacked content at normal density.
1959
+ aliases: [stack, List, Layers, Pile]
1960
+ usage: >-
1961
+ Use when: - To toggle a group of items to be vertically oriented - To set a normal viewing
1962
+ density for a stack of items Do not use: - For compact/dense stacked views. Use
1963
+ StackCompactIcon instead. - For collections of content. Use PackageIcon instead. - To
1964
+ represent lists. Use ListIcon instead. - To represent files or documents or any form of
1965
+ content. Use DocumentsIcon instead.
1966
+ refs:
1967
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/stack.svg
1968
+ rel: source
1969
+ - id: stack-compact
1970
+ term: StackCompactIcon
1971
+ definition: To represent general vertically stacked content at higher density.
1972
+ aliases: [stack-compact, List Compact, Dense, Tight]
1973
+ usage: >-
1974
+ Use when: - To set a higher viewing density for a stack of items Do not use: - To
1975
+ represent a stack with normal density. Use StackIcon instead.
1976
+ refs:
1977
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/stack-compact.svg
1978
+ rel: source
1979
+ - id: star
1980
+ term: StarIcon
1981
+ definition: To represent content that can be favorited.
1982
+ aliases: [star, Unstarred, Favorite, Featured, Rating]
1983
+ usage: >-
1984
+ Use when: - View/managing favorites - Displaying that an item can be favorited - As a
1985
+ toggle for adding an item to their favorites Do not use: - Showing that an item is set as
1986
+ a favorite. Use StarFilledIcon instead. - Removing a favorite or toggling a favorite off.
1987
+ Use StarFilledIcon instead. - For new features. Use [TBD] instead. - For bookmarks. Use
1988
+ BookmarkIcon instead. - For liking. Use HeartIcon instead. - For rating. Use [TBD]
1989
+ instead.
1990
+ refs:
1991
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/star.svg
1992
+ rel: source
1993
+ - id: star-filled
1994
+ term: StarFilledIcon
1995
+ definition: To represent content that is currently set as a favorite.
1996
+ aliases: [star-filled, Starred, Favorited, Rating]
1997
+ usage: >-
1998
+ Use when: - Displaying an item as being favorited - As a toggle for removing an item to
1999
+ their favorites Do not use: - Showing that an item can be set as a favorite. Use StarIcon
2000
+ instead. - Adding a favorite or toggling a favorite off. Use StarIcon instead. - For new
2001
+ features. Use [TBD] instead. - For bookmarks. Use BookmarkIcon instead. - For liking. Use
2002
+ HeartIcon instead. - For rating. Use [TBD] instead.
2003
+ refs:
2004
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/star-filled.svg
2005
+ rel: source
2006
+ - id: stop
2007
+ term: StopIcon
2008
+ definition: Stopping media playback or terminating actions.
2009
+ aliases: [stop, End, Terminate, Cancel]
2010
+ usage: >-
2011
+ Use when: - For stopping media playback - For terminating processes or actions Do not use:
2012
+ - Don't use for pausing playback temporarily or holding actions. Use PauseIcon instead.
2013
+ refs:
2014
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/stop.svg
2015
+ rel: source
2016
+ - id: strikethrough
2017
+ term: StrikethroughIcon
2018
+ definition: Strikethrough text formatting.
2019
+ aliases: [strikethrough, Crossed, Deleted Text, Strike]
2020
+ usage: >-
2021
+ Use when: - For toggling text as striked within a text editing feature. Do not use: -
2022
+ Outside text editing. This icon is intended for formatting toolsets.
2023
+ refs:
2024
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/strikethrough.svg
2025
+ rel: source
2026
+ - id: string
2027
+ term: StringIcon
2028
+ definition: Text data or String type.
2029
+ aliases: [string, Text, Characters, ABC]
2030
+ usage: >-
2031
+ Use when: - To reference or indicate text data or a String type value Do not use: - To
2032
+ represent a link. Use LinkIcon instead. - To represent underlined text style. Use
2033
+ UnderlineIcon instead. - To indicate general text. Use TextIcon instead.
2034
+ refs:
2035
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/string.svg
2036
+ rel: source
2037
+ - id: sun
2038
+ term: SunIcon
2039
+ definition: Light mode setting.
2040
+ aliases: [sun, Light Mode, Day, Bright]
2041
+ usage: >-
2042
+ Use when: - For setting a color scheme to light mode Do not use: - For dark mode. Use
2043
+ MoonIcon instead.
2044
+ refs:
2045
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sun.svg
2046
+ rel: source
2047
+ - id: sync
2048
+ term: SyncIcon
2049
+ definition: Synchronization or bi-directional sync.
2050
+ aliases: [sync, Synchronize]
2051
+ usage: >-
2052
+ Use when: - For bi-directional syncing of content/information. Do not use: - For general
2053
+ refreshing of information. Use RefreshIcon instead. - For transferring information from
2054
+ one location to another. Use TransferIcon instead. - To represent loading content. Use
2055
+ SpinnerIcon instead.
2056
+ refs:
2057
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sync.svg
2058
+ rel: source
2059
+ - id: tablet-device
2060
+ term: TabletDeviceIcon
2061
+ definition: Tablet device.
2062
+ aliases: [tablet-device, Tablet, iPad, Device]
2063
+ usage: >-
2064
+ Use when: - To represent a tablet device when choosing between different device types Do
2065
+ not use: - To represent general touch-based devices. Use MobileDeviceIcon instead.
2066
+ refs:
2067
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/tablet-device.svg
2068
+ rel: source
2069
+ - id: tag
2070
+ term: TagIcon
2071
+ definition: 'Single tag, label or keyword.'
2072
+ aliases: [tag, Label, Category, Keyword]
2073
+ usage: >-
2074
+ Use when: - To represent the action of adding a tag. - To indicate text as a tag or
2075
+ keyword Do not use: - To represent multiple tags. Use TagsIcon instead.
2076
+ refs:
2077
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/tag.svg
2078
+ rel: source
2079
+ - id: tags
2080
+ term: TagsIcon
2081
+ definition: 'Multiple tags, labels or keywords.'
2082
+ aliases: [tags, Labels, Categories, Keywords]
2083
+ usage: >-
2084
+ Use when: - To indicate multiple tags or keywords exist for an item - To indicate editing
2085
+ a groupd of keywords/tags. Do not use: - For a single tag or keyword. Use TagIcon instead.
2086
+ - To represent adding a tag. Use TagIcon instead.
2087
+ refs:
2088
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/tags.svg
2089
+ rel: source
2090
+ - id: target
2091
+ term: TargetIcon
2092
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2093
+ aliases: [target]
2094
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2095
+ refs:
2096
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/target.svg
2097
+ rel: source
2098
+ - id: task
2099
+ term: TaskIcon
2100
+ definition: For indicating one or more tasks with a deadline.
2101
+ aliases: [task, Todo, Checklist, Assignment]
2102
+ usage: >-
2103
+ Use when: - To represent tasks with a explicitly defined deadline. Do not use: - As a
2104
+ general representation for tasks. Use CheckmarkCircleIcon instead.
2105
+ refs:
2106
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/task.svg
2107
+ rel: source
2108
+ - id: terminal
2109
+ term: TerminalIcon
2110
+ definition: Command line tools and output.
2111
+ aliases: [terminal, Console, Command Line, Shell]
2112
+ usage: >-
2113
+ Use when: - For CLI features/tools or console access Do not use: - For general code or
2114
+ code editing. Use CodeIcon instead.
2115
+ refs:
2116
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/terminal.svg
2117
+ rel: source
2118
+ - id: text
2119
+ term: TextIcon
2120
+ definition: Representation of general text content.
2121
+ aliases: [text, Typography, Font, Letters]
2122
+ usage: >-
2123
+ Use when: - As an indicator for setting font size or family. - To represent general text
2124
+ content. Do not use: - To represent text data or a String type value. Use StringIcon
2125
+ instead.
2126
+ refs:
2127
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/text.svg
2128
+ rel: source
2129
+ - id: th-large
2130
+ term: ThLargeIcon
2131
+ definition: To present a grid or tile view.
2132
+ aliases: [th-large, Grid Large, Tiles, Gallery]
2133
+ usage: >-
2134
+ Use when: - To represent grid views or tile layouts Do not use: - For tables or tabular
2135
+ data lists. Use ThListIcon instead. - For general lists. Use ListIcon instead.
2136
+ refs:
2137
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/th-large.svg
2138
+ rel: source
2139
+ - id: th-list
2140
+ term: ThListIcon
2141
+ definition: To represent a table view.
2142
+ aliases: [th-list, List View, Rows, Table]
2143
+ usage: >-
2144
+ Use when: - To represent a table view or tabular data Do not use: - To represent a general
2145
+ list. Use ListIcon instead.
2146
+ refs:
2147
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/th-list.svg
2148
+ rel: source
2149
+ - id: thumbs-down
2150
+ term: ThumbsDownIcon
2151
+ definition: Providing a negative vote on yes/no questions.
2152
+ aliases: [thumbs-down, Unlike, Dislike]
2153
+ usage: >-
2154
+ Use when: - To represent a negative vote on a yes/no question. Do not use: - For any
2155
+ purpose other than a negative vote on a yes/no question.
2156
+ refs:
2157
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/thumbs-down.svg
2158
+ rel: source
2159
+ - id: thumbs-up
2160
+ term: ThumbsUpIcon
2161
+ definition: Providing a positive vote on yes/no questions.
2162
+ aliases: [thumbs-up, Like]
2163
+ usage: >-
2164
+ Use when: - To represent a positive vote on a yes/no question. Do not use: - For any
2165
+ purpose other than a positive vote on a yes/no question. - To favorite/save content. Use
2166
+ StarIcon instead.
2167
+ refs:
2168
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/thumbs-up.svg
2169
+ rel: source
2170
+ - id: tiers
2171
+ term: TiersIcon
2172
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2173
+ aliases: [tiers, Levels, Hierarchy, Pricing]
2174
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2175
+ refs:
2176
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/tiers.svg
2177
+ rel: source
2178
+ - id: timeline
2179
+ term: TimelineIcon
2180
+ definition: A sequence or timeline of events.
2181
+ aliases: [timeline, Gantt chart]
2182
+ usage: >-
2183
+ Use when: - To represent a sequence or timeline of events Do not use: - To represent
2184
+ tasks. Use TaskIcon instead. - To represent general dates. Use CalendarIcon instead.
2185
+ refs:
2186
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/timeline.svg
2187
+ rel: source
2188
+ - id: toggle-arrow-right
2189
+ term: ToggleArrowRightIcon
2190
+ definition: A visual affordance for expanding/collapsing items within a hierarchical tree view.
2191
+ aliases: [toggle-arrow-right, Switch Right, Navigate Toggle, Expand]
2192
+ usage: >-
2193
+ Use when: - For expanding/collapsing items within a hierarchical tree view. Do not use: -
2194
+ To expand or collapse content within an accordion view. Use ChevronUpIcon and
2195
+ ChevronDownIcon instead. - For playing media or starting a process. Use PlayIcon instead.
2196
+ - For navigating forward to a new page or drilling in through nested content in a column
2197
+ view. Use ChevronRightIcon instead.
2198
+ refs:
2199
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/toggle-arrow-right.svg
2200
+ rel: source
2201
+ - id: token
2202
+ term: TokenIcon
2203
+ definition: To represent AI tokens.
2204
+ aliases: [token, Key, Authentication, API Key]
2205
+ usage: >-
2206
+ Use when: - Exclusively to represent AI token counts Do not use: - To represent API or
2207
+ access tokens. Use PlugIcon instead.
2208
+ refs:
2209
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/token.svg
2210
+ rel: source
2211
+ - id: transfer
2212
+ term: TransferIcon
2213
+ definition: Transfer or swapping of items or data.
2214
+ aliases: [transfer, Move, Exchange, Swap]
2215
+ usage: >-
2216
+ Use when: - For transferring items or data to different locations. Do not use: - For bi-
2217
+ directional syncing of content/information. Use SyncIcon instead. - To represent general
2218
+ direction or movement. Use arrow icons instead.
2219
+ refs:
2220
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/transfer.svg
2221
+ rel: source
2222
+ - id: translate
2223
+ term: TranslateIcon
2224
+ definition: Translation or language features.
2225
+ aliases: [translate, Language, Localization, Interpret]
2226
+ usage: >-
2227
+ Use when: - For representing translation or localization features. - For language
2228
+ settings/switching. Do not use: - For representing global or international concepts. Use
2229
+ EarthGlobeIcon instead.
2230
+ refs:
2231
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/translate.svg
2232
+ rel: source
2233
+ - id: trash
2234
+ term: TrashIcon
2235
+ definition: Permanent deletion of content/data.
2236
+ aliases: [trash, Delete, Remove, Discard]
2237
+ usage: >-
2238
+ Use when: - For permanent deletion/removal actions. Do not use: - For archiving of
2239
+ content. Use ArchiveIcon instead. - For any form of non-destructive deletion. Use
2240
+ RemoveIcon instead.
2241
+ refs:
2242
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/trash.svg
2243
+ rel: source
2244
+ - id: trend-upward
2245
+ term: TrendUpwardIcon
2246
+ definition: Trends in data.
2247
+ aliases: [trend-upward, Growth, Increase, Rising]
2248
+ usage: >-
2249
+ Use when: - For representing trending indicators in data. Do not use: - To represent a
2250
+ general data visualization or a line chart. Use BarChartIcon instead. - To represent usage
2251
+ or a general line chart. Use ChartUpwardIcon instead. - To represent usage overages. Use
2252
+ OverageIcon instead. - To represent activity or health metrics. Use ActivityIcon instead.
2253
+ refs:
2254
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/trend-upward.svg
2255
+ rel: source
2256
+ - id: triangle-outline
2257
+ term: TriangleOutlineIcon
2258
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2259
+ aliases: [triangle-outline, Triangle, Shape, Pointer]
2260
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2261
+ refs:
2262
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/triangle-outline.svg
2263
+ rel: source
2264
+ - id: trolley
2265
+ term: TrolleyIcon
2266
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2267
+ aliases: [trolley, Cart, Shopping, E-Commerce]
2268
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2269
+ refs:
2270
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/trolley.svg
2271
+ rel: source
2272
+ - id: truncate
2273
+ term: TruncateIcon
2274
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2275
+ aliases: [truncate, Cut, Shorten, Ellipsis]
2276
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2277
+ refs:
2278
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/truncate.svg
2279
+ rel: source
2280
+ - id: twitter
2281
+ term: TwitterIcon
2282
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2283
+ aliases: [twitter, Social, X, Tweet]
2284
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2285
+ refs:
2286
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/twitter.svg
2287
+ rel: source
2288
+ - id: ulist
2289
+ term: UlistIcon
2290
+ definition: Unordered/bulleted lists.
2291
+ aliases: [ulist, Unordered List, Bullets, Items]
2292
+ usage: >-
2293
+ Use when: - To represent bulleted lists - List formatting for unordered lists Do not use:
2294
+ - To represent a general list. Use ListIcon instead. - For numbered lists. Use OlistIcon
2295
+ instead.
2296
+ refs:
2297
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/ulist.svg
2298
+ rel: source
2299
+ - id: unarchive
2300
+ term: UnarchiveIcon
2301
+ definition: Moving items out of an archived/stashed state.
2302
+ aliases: [unarchive, Box]
2303
+ usage: >-
2304
+ Use when: - For restoring items from an archive Do not use: - To represent removing from a
2305
+ collection. Use RemoveIcon instead. - To represent upload or import actions. Use
2306
+ UploadIcon instead.
2307
+ refs:
2308
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unarchive.svg
2309
+ rel: source
2310
+ - id: underline
2311
+ term: UnderlineIcon
2312
+ definition: Underline text formatting.
2313
+ aliases: [underline, Underlined, Emphasis, U]
2314
+ usage: >-
2315
+ Use when: For toggling text as underlined within a text editing feature. Do not use: -
2316
+ Outside text editing. This icon is intended for formatting toolsets.
2317
+ refs:
2318
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/underline.svg
2319
+ rel: source
2320
+ - id: undo
2321
+ term: UndoIcon
2322
+ definition: To undo the last user action.
2323
+ aliases: [undo, Revert, Back, Cancel]
2324
+ usage: >-
2325
+ Use when: - For undo operations Do not use: - For reverting changes. Use RevertIcon
2326
+ instead. - For going backward in history. Use ArrowLeftIcon instead.
2327
+ refs:
2328
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/undo.svg
2329
+ rel: source
2330
+ - id: unknown
2331
+ term: UnknownIcon
2332
+ definition: An unknown/undefined thing or state.
2333
+ aliases: [unknown, Question, Mystery, Undefined]
2334
+ usage: >-
2335
+ Use when: - For unknown types or undefined states - As a fallback icon for contents that
2336
+ are unspecified Do not use: - To represent help or support. Use HelpCircleIcon instead -
2337
+ To represent something that is empty or unused. Use EmptyIcon instead.
2338
+ refs:
2339
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unknown.svg
2340
+ rel: source
2341
+ - id: unlink
2342
+ term: UnlinkIcon
2343
+ definition: Broken/missing links or disconnected items.
2344
+ aliases: [unlink, Broken Link, Disconnected, Unlinked]
2345
+ usage: >-
2346
+ Use when: - To represent a broken or missing web link. - To represent a disconnected state
2347
+ between two previously connected items Do not use: - To represent the action of removing a
2348
+ link or disconnecting two items. Use LinkRemovedIcon instead.
2349
+ refs:
2350
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unlink.svg
2351
+ rel: source
2352
+ - id: unlock
2353
+ term: UnlockIcon
2354
+ definition: Unlocked or open state.
2355
+ aliases: [unlock, Unlocked, Open, Public]
2356
+ usage: >-
2357
+ Use when: - To represent unlock content or an action to unlock content. - To represent
2358
+ content/items that the user can access but is not publicly available. - To explicitly
2359
+ represent that content can be altered. Do not use: - As a general toggle for
2360
+ locking/unlocking. Use UnlockIcon and LockIcon in conjunction. - To represent
2361
+ unlocking/undocking of interface elements. For sidebar locking/docking use PanelLeftIcon
2362
+ or PanelRightIcon instead. - To represent public content. Use EarthGlobeIcon instead.
2363
+ refs:
2364
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unlock.svg
2365
+ rel: source
2366
+ - id: unpublish
2367
+ term: UnpublishIcon
2368
+ definition: Unpublishing or reverting content to a draft.
2369
+ aliases: [unpublish, Retract, Take Down, Draft]
2370
+ usage: >-
2371
+ Use when: - For unpublishing or taking content offline Do not use: - For publishing
2372
+ content. Use PublishIcon instead. - For downloading content. Use DownloadIcon instead. -
2373
+ For expanding content vertically. Use ChevronDownIcon instead.
2374
+ refs:
2375
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unpublish.svg
2376
+ rel: source
2377
+ - id: upload
2378
+ term: UploadIcon
2379
+ definition: To represent uploading or importing of content.
2380
+ aliases: [upload, Send, Push, Import]
2381
+ usage: >-
2382
+ Use when: - To indicate uploads or uploading actions. - To indicate imports or importing
2383
+ actions. Do not use: - For downloads or downloading actions. Use DownloadIcon instead. -
2384
+ For exports or exporting actions. Use DownloadIcon instead. - For actions associated with
2385
+ publishing. Use PublishIcon instead.
2386
+ refs:
2387
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/upload.svg
2388
+ rel: source
2389
+ - id: user
2390
+ term: UserIcon
2391
+ definition: To represent an individual person.
2392
+ aliases: [user, Person, Profile, Account]
2393
+ usage: >-
2394
+ Use when: - To represent a person, role or profile Do not use: - To represent multiple
2395
+ users, a group, or a team. Use UsersIcon instead. - To add a user. Use AddUserIcon
2396
+ instead.
2397
+ refs:
2398
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/user.svg
2399
+ rel: source
2400
+ - id: users
2401
+ term: UsersIcon
2402
+ definition: 'To represent multiple people, or group, or a team.'
2403
+ aliases: [users, People, Team, Group]
2404
+ usage: >-
2405
+ Use when: - To represent people, a group, or a team. Do not use: - To represent a single
2406
+ user. Use UserIcon instead. - To add a user. Use AddUserIcon instead.
2407
+ refs:
2408
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/users.svg
2409
+ rel: source
2410
+ - id: versions
2411
+ term: VersionsIcon
2412
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2413
+ aliases: [versions]
2414
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2415
+ refs:
2416
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/versions.svg
2417
+ rel: source
2418
+ - id: video
2419
+ term: VideoIcon
2420
+ definition: To represent a single video.
2421
+ aliases: [video]
2422
+ usage: >-
2423
+ Use when: - To represent a video - As a placeholder for an video before it's loaded Do not
2424
+ use: - To represent a video file. Use DocumentVideoIcon instead. - To represent playback.
2425
+ Use PlayIcon instead.
2426
+ refs:
2427
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/video.svg
2428
+ rel: source
2429
+ - id: warning-filled
2430
+ term: WarningFilledIcon
2431
+ definition: '<!-- TODO: describe WarningFilledIcon -->'
2432
+ aliases: [warning-filled]
2433
+ refs:
2434
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/warning-filled.svg
2435
+ rel: source
2436
+ - id: warning-outline
2437
+ term: WarningOutlineIcon
2438
+ definition: To represent a general warning within the application.
2439
+ aliases: [warning-outline, Caution, Alert, Warning]
2440
+ usage: >-
2441
+ Use when: - To represent issues that are neither critical nor blocking. - When an
2442
+ operation or process needs attention, but has not failed - To visually demarcate a warning
2443
+ message Do not use: - To represent issues that are either critical or blocking. Use
2444
+ ErrorOutlineIcon instead. - To represent issues related to user permissions. Use
2445
+ AccessDeniedIcon instead.
2446
+ refs:
2447
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/warning-outline.svg
2448
+ rel: source
2449
+ - id: wrench
2450
+ term: WrenchIcon
2451
+ definition: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
2452
+ aliases: [wrench, Tool, Maintenance, Fix]
2453
+ usage: 'Use when: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.'
2454
+ refs:
2455
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/wrench.svg
2456
+ rel: source
2457
+ - kind: guidelines
2458
+ for: all
2459
+ title: Accessibility
2460
+ tags: [accessibility]
2461
+ items:
2462
+ - id: icon-accessible-name
2463
+ level: must
2464
+ statement: >-
2465
+ Give every meaningful icon an accessible name. A meaningful icon is one that conveys
2466
+ information or triggers an action with no visible text label beside it. Put
2467
+ aria-label on the interactive element around it (IconButton, Button, PressArea), or
2468
+ pass aria-label to Icon when it stands alone.
2469
+ checkedBy: manual
2470
+ - id: icon-decorative-hidden
2471
+ level: must
2472
+ statement: >-
2473
+ Hide decorative icons from assistive technology. When an icon accompanies a visible
2474
+ text label that already names the action, the icon adds no information. Icon, and a
2475
+ component's icon prop such as Button's `iconStart`, hide the icon on their own unless
2476
+ it has an aria-label. A raw icon component from @sanity/icons rendered by itself does
2477
+ not: give it aria-hidden.
2478
+ checkedBy: manual
2479
+ - kind: guidelines
2480
+ for: all
2481
+ title: Usage
2482
+ items:
2483
+ - id: icon-with-label
2484
+ level: should
2485
+ statement: >-
2486
+ Pair icons with a visible label in unfamiliar or high-stakes contexts. An icon alone
2487
+ is faster to scan but demands recognition — use labels wherever the audience or
2488
+ context is uncertain.
2489
+ - id: icon-only-when-recognised
2490
+ level: must
2491
+ statement: >-
2492
+ Use icons within IconButton only for universally recognised actions (close, search, add)
2493
+ and in toolbars where space is constrained. Add a Tooltip for sighted users. The Tooltip
2494
+ does not name the control, so it doesn't replace the aria-label.
2495
+ refs:
2496
+ - to: shared-foundations#icon-only-control-needs-name
2497
+ rel: same-as
2498
+ - id: icon-size-in-ui
2499
+ level: should
2500
+ statement: >-
2501
+ Size an icon to the text beside it. Icon's `size` is a step, not a pixel value, and
2502
+ each step is built to sit beside the Text step of the same number: write
2503
+ `<Icon size={1}>` next to `<Text size={1}>`. Each step renders a little taller than
2504
+ the text it pairs with, and the default is 2. A raw icon component from
2505
+ @sanity/icons renders at 1em, the text's font size, which is smaller than Icon's
2506
+ matching step; use Icon when it should line up with Icon elsewhere.
2507
+ - id: icon-no-substitute
2508
+ level: must-not
2509
+ statement: >-
2510
+ Do not substitute emoji, third-party icon sets, or hand-crafted SVGs for icons
2511
+ from @sanity/icons. This set is the single source of truth for Sanity product
2512
+ iconography.
2513
+ checkedBy: manual