@aramiworks/design 0.0.0-stage → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/index.d.mts +2260 -0
- package/dist/index.d.ts +2260 -0
- package/dist/index.js +6931 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +6862 -0
- package/dist/index.mjs.map +1 -0
- package/manifest.json +1121 -0
- package/package.json +108 -4
package/manifest.json
ADDED
|
@@ -0,0 +1,1121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Generated by scripts/build-manifest.ts. Every public organism and template in @aramiworks/design. Apps build screens only from these (D8).",
|
|
3
|
+
"figmaFile": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A",
|
|
4
|
+
"themes": [
|
|
5
|
+
"coral",
|
|
6
|
+
"macaron"
|
|
7
|
+
],
|
|
8
|
+
"components": [
|
|
9
|
+
{
|
|
10
|
+
"name": "ActionBar",
|
|
11
|
+
"layer": "organism",
|
|
12
|
+
"description": "Bottom action bar with a filled primary button and an optional outlined secondary one of equal width, plus up to two outlined extraActions in an equal-width second row; each has loading, disabled and destructive states. Draws a top hairline and pads the bottom safe-area inset, or renders only the buttons when embedded.",
|
|
13
|
+
"useWhen": [
|
|
14
|
+
"A detail screen's sticky footer (pass embedded inside DetailTemplate's footer)",
|
|
15
|
+
"A screen needs one or two bottom actions, such as cancel and save or delete",
|
|
16
|
+
"A detail footer with one main action and up to two lesser ones under it (pass extraActions)"
|
|
17
|
+
],
|
|
18
|
+
"figmaNodeId": "82:229",
|
|
19
|
+
"storyId": "organisms-actionbar--default",
|
|
20
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=82-229"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "ActionCard",
|
|
24
|
+
"layer": "organism",
|
|
25
|
+
"description": "Pressable status card that opens a flow: a round icon tile, a title and muted summary, an optional small star rating, and a filled call-to-action pill or a chevron; the accent tone tints it with the primary color for a done or active state.",
|
|
26
|
+
"useWhen": [
|
|
27
|
+
"A detail screen offers one flow and summarizes its state, e.g. log an entry and show the last one (DetailTemplate children)",
|
|
28
|
+
"Nothing has been done yet and the card should invite the first action (cta)",
|
|
29
|
+
"The action has been done and the card should read as complete (tone accent, rating)"
|
|
30
|
+
],
|
|
31
|
+
"figmaNodeId": "128:3856",
|
|
32
|
+
"storyId": "organisms-actioncard--default",
|
|
33
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-3856"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "ActionToggle",
|
|
37
|
+
"layer": "organism",
|
|
38
|
+
"description": "Round icon button that toggles a state (outlined off, primary on) or, with the destructive tone and onPress, runs a single action.",
|
|
39
|
+
"useWhen": [
|
|
40
|
+
"On/off controls in a row, such as mute",
|
|
41
|
+
"A round end or close action next to toggles (tone destructive with onPress)"
|
|
42
|
+
],
|
|
43
|
+
"figmaNodeId": "37:47",
|
|
44
|
+
"storyId": "organisms-actiontoggle--off",
|
|
45
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=37-47"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "AlertDialog",
|
|
49
|
+
"layer": "organism",
|
|
50
|
+
"description": "Controlled confirm dialog over a dimmed scrim: title, optional description, an outlined cancel button and a filled confirm button (destructive or primary). While the app runs the action, confirmLoading shows a spinner in the confirm button, disables both buttons and blocks dismissal; error shows a destructive line above the buttons.",
|
|
51
|
+
"useWhen": [
|
|
52
|
+
"Asking the user to confirm an action before it runs, such as signing out",
|
|
53
|
+
"Confirming a destructive action (pass destructive)",
|
|
54
|
+
"The confirmed action is async and the dialog stays open until it finishes (confirmLoading), showing a failure in place (error)"
|
|
55
|
+
],
|
|
56
|
+
"figmaNodeId": "36:82",
|
|
57
|
+
"storyId": "organisms-alertdialog--default",
|
|
58
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=36-82"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "AmountInput",
|
|
62
|
+
"layer": "organism",
|
|
63
|
+
"description": "Numeric amount field with an optional label, a currency or unit before or after the number, a digits (or decimal) keyboard, an inline error, an optional muted read-back hint and optional preset chips that replace the amount. Parsing and digit grouping stay in the app.",
|
|
64
|
+
"useWhen": [
|
|
65
|
+
"A form asks for a money amount or another number with a unit",
|
|
66
|
+
"Common amounts are one tap away and the typed amount is read back in words (presets, hint)"
|
|
67
|
+
],
|
|
68
|
+
"figmaNodeId": "45:178",
|
|
69
|
+
"storyId": "organisms-amountinput--default",
|
|
70
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=45-178"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "AppBar",
|
|
74
|
+
"layer": "organism",
|
|
75
|
+
"description": "Top bar of a screen: optional back arrow, an optional primary accent icon, a bold title and one action shown as text or as an Ionicons icon, which can be disabled (dimmed, not pressable).",
|
|
76
|
+
"useWhen": [
|
|
77
|
+
"A screen needs a title at the top",
|
|
78
|
+
"A pushed screen needs a back arrow (pass onBack)",
|
|
79
|
+
"A tab header marked with its section's glyph (pass icon)",
|
|
80
|
+
"The screen links to one secondary place, such as Settings (pass action; add icon for an icon button)"
|
|
81
|
+
],
|
|
82
|
+
"figmaNodeId": "16:11",
|
|
83
|
+
"storyId": "organisms-appbar--default",
|
|
84
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=16-11"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "Banner",
|
|
88
|
+
"layer": "organism",
|
|
89
|
+
"description": "Full-width notice strip with an optional icon and a centered message, neutral (secondary) or destructive.",
|
|
90
|
+
"useWhen": [
|
|
91
|
+
"Showing that the device is offline (ChatTemplate's banner slot)",
|
|
92
|
+
"Showing an inline error above the composer, such as a failed send (destructive)"
|
|
93
|
+
],
|
|
94
|
+
"figmaNodeId": "34:47",
|
|
95
|
+
"storyId": "organisms-banner--default",
|
|
96
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=34-47"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "BarChartCard",
|
|
100
|
+
"layer": "organism",
|
|
101
|
+
"description": "Small bar chart on the card surface: a title, an optional muted caption and one primary bar per item with a muted label below, heights relative to max (default: the largest value). Bars share the width equally. Announced as one image listing every bar; shows a muted empty label when there are no bars.",
|
|
102
|
+
"useWhen": [
|
|
103
|
+
"Showing a short trend, such as daily totals over the last week",
|
|
104
|
+
"Comparing a handful of values side by side (up to about 12 bars)"
|
|
105
|
+
],
|
|
106
|
+
"figmaNodeId": "62:62",
|
|
107
|
+
"storyId": "organisms-barchartcard--default",
|
|
108
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=62-62"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "BottomSheet",
|
|
112
|
+
"layer": "organism",
|
|
113
|
+
"description": "Controlled modal sheet that slides up over a fading scrim: drag handle, title with an optional subtitle and header actions, and a scrolling content slot, resting at one or more snap heights (fractions of the window height); the backdrop, back button, Escape and a drag below the lowest height call onDismiss. presentation dialog centers it as a card on windows 768px and wider.",
|
|
114
|
+
"useWhen": [
|
|
115
|
+
"Filters, options or a short list shown over the current screen without navigating away",
|
|
116
|
+
"An OverlayTemplate's result list or a selected item's details that can expand from half to full height (snapPoints={[0.5, 0.9]})",
|
|
117
|
+
"A filter sheet with Reset and Done in its title row (actions)",
|
|
118
|
+
"A form sheet that should be a centered card on wide web (presentation dialog, subtitle)"
|
|
119
|
+
],
|
|
120
|
+
"slots": [
|
|
121
|
+
{
|
|
122
|
+
"name": "children",
|
|
123
|
+
"description": "Sheet content: design-system organisms such as ListSections, a FormSection or a FilterChipGroup. Scrolls inside the sheet."
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"figmaNodeId": "128:3806",
|
|
127
|
+
"storyId": "organisms-bottomsheet--default",
|
|
128
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-3806"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "BrandMark",
|
|
132
|
+
"layer": "organism",
|
|
133
|
+
"description": "Product wordmark with an optional tagline, centered. Above it either the app's logo artwork in a 64px box (logo slot) or an Ionicons glyph on a 64px primary rounded tile (icon).",
|
|
134
|
+
"useWhen": [
|
|
135
|
+
"A sign-in, welcome or splash screen shows the product name",
|
|
136
|
+
"A privacy cover or lock screen shows the app identity (pass icon or logo)"
|
|
137
|
+
],
|
|
138
|
+
"slots": [
|
|
139
|
+
{
|
|
140
|
+
"name": "logo",
|
|
141
|
+
"description": "The app's logo artwork only (its SVG component or image), sized to fill a 64px box; decorative."
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"figmaNodeId": "32:36",
|
|
145
|
+
"storyId": "organisms-brandmark--default",
|
|
146
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=32-36"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "Composer",
|
|
150
|
+
"layer": "organism",
|
|
151
|
+
"description": "Message input bar: multiline input, an optional accessory icon button and a Send icon button that stays disabled while the text is blank.",
|
|
152
|
+
"useWhen": [
|
|
153
|
+
"The bottom of a chat screen, in ChatTemplate's composer slot",
|
|
154
|
+
"Any screen where the user types and sends a short message"
|
|
155
|
+
],
|
|
156
|
+
"figmaNodeId": "34:33",
|
|
157
|
+
"storyId": "organisms-composer--default",
|
|
158
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=34-33"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "DateField",
|
|
162
|
+
"layer": "organism",
|
|
163
|
+
"description": "Read-only, pressable date field with an optional label, a calendar icon, the app-formatted date or a muted placeholder, and an inline error. The date picker itself stays in the app (D9): open it from onPress and pass the formatted result back as valueLabel. Optional shortcut buttons beside the field (shortcuts), wrapping under it on narrow screens, and an expanded state while the app shows a calendar under it.",
|
|
164
|
+
"useWhen": [
|
|
165
|
+
"A form asks for a date and the app opens its native date picker",
|
|
166
|
+
"Recent dates such as today and yesterday are one tap away (shortcuts)",
|
|
167
|
+
"The field toggles an inline MonthCalendar under it (expanded)"
|
|
168
|
+
],
|
|
169
|
+
"figmaNodeId": "45:161",
|
|
170
|
+
"storyId": "organisms-datefield--default",
|
|
171
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=45-161"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "DetailHeader",
|
|
175
|
+
"layer": "organism",
|
|
176
|
+
"description": "Title block of a detail screen or panel: a display-face title (30px, or 24px at size md), a muted subtitle, a read-only star rating with a caption, and an on/off icon toggle and optional close button at the end of the title row.",
|
|
177
|
+
"useWhen": [
|
|
178
|
+
"The top of an item's detail screen, under the hero (DetailTemplate children)",
|
|
179
|
+
"An item can be saved or followed from its detail with an icon toggle (action)",
|
|
180
|
+
"The item has a star rating to show with a short caption (rating)",
|
|
181
|
+
"A detail panel or card floating over a canvas needs a title and a close button (size md, onClose)"
|
|
182
|
+
],
|
|
183
|
+
"figmaNodeId": "128:3504",
|
|
184
|
+
"storyId": "organisms-detailheader--default",
|
|
185
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-3504"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "EmptyState",
|
|
189
|
+
"layer": "organism",
|
|
190
|
+
"description": "Empty state. `screen`: centered, with an optional large muted icon, a title, an optional description, SuggestionChips and primary and secondary calls to action. `inline`: a compact dashed card with muted text inside a section. `card`: a tinted card with an icon tile, title, description and small actions. `loading` swaps the icon for a spinner.",
|
|
191
|
+
"useWhen": [
|
|
192
|
+
"A chat has no messages yet (ChatTemplate's list slot)",
|
|
193
|
+
"Any list or screen with nothing to show",
|
|
194
|
+
"A first-run screen that explains the app and offers the first step (primaryAction, secondaryAction)",
|
|
195
|
+
"A section inside a screen has no rows yet (variant inline, in ListSection)",
|
|
196
|
+
"A first-run welcome inside a dashboard with a next step (variant card)",
|
|
197
|
+
"Something is being checked before the screen can say more, e.g. a link (loading)"
|
|
198
|
+
],
|
|
199
|
+
"figmaNodeId": "34:75",
|
|
200
|
+
"storyId": "organisms-emptystate--default",
|
|
201
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=34-75"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "EntryCard",
|
|
205
|
+
"layer": "organism",
|
|
206
|
+
"description": "One logged entry in a bordered card: a title line (e.g. a date) with a small star rating, an optional one-line muted subtitle (e.g. place · date), a two-line muted body, a strip of image thumbnails and small text actions; the text part can be pressable to edit the entry.",
|
|
207
|
+
"useWhen": [
|
|
208
|
+
"Listing entries a person logged, such as notes with a rating and images (BottomSheet or ListTemplate content)",
|
|
209
|
+
"An entry opens for editing on tap (onPress) and has a delete action (actions with tone destructive)",
|
|
210
|
+
"An entry's thumbnails open a full-screen ImageViewer (images, onImagePress)",
|
|
211
|
+
"An entry needs a meta line under its title, such as where and when it was logged (subtitle)"
|
|
212
|
+
],
|
|
213
|
+
"figmaNodeId": "128:4237",
|
|
214
|
+
"storyId": "organisms-entrycard--default",
|
|
215
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-4237"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "ErrorState",
|
|
219
|
+
"layer": "organism",
|
|
220
|
+
"description": "Compact centered error announced as an alert: destructive title, optional message, small code line, an outlined action and an optional text secondary action.",
|
|
221
|
+
"useWhen": [
|
|
222
|
+
"A feature on the screen failed and the user can read why or retry",
|
|
223
|
+
"Showing an engine or permission error code next to a friendly message",
|
|
224
|
+
"A screen failed to load and the user can retry or leave (action, secondaryAction)",
|
|
225
|
+
"Keeping an app's own end-to-end ids on the buttons (action.testID, secondaryAction.testID)"
|
|
226
|
+
],
|
|
227
|
+
"figmaNodeId": "37:57",
|
|
228
|
+
"storyId": "organisms-errorstate--default",
|
|
229
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=37-57"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "FilterChipGroup",
|
|
233
|
+
"layer": "organism",
|
|
234
|
+
"description": "Chips that wrap onto new lines or scroll in one row (layout scroll); selected chips fill with primary and may lead with an icon. Single select by default (radio group); `multiple` selects any number (checkboxes). addAction appends a ghost Add chip.",
|
|
235
|
+
"useWhen": [
|
|
236
|
+
"Choosing one of several options whose labels do not fit one row, such as a language",
|
|
237
|
+
"Filtering a list by several values at once (pass multiple, values and onChange)",
|
|
238
|
+
"Many short options in one row that scrolls sideways, such as categories (layout scroll)",
|
|
239
|
+
"Options the user can extend, such as a new category (addAction opens the app's add field)",
|
|
240
|
+
"A multi-select group and a single-select group sharing one scroll row, split by a divider (sections)",
|
|
241
|
+
"Chips as a form field with a visible label and an inline error (label, error)"
|
|
242
|
+
],
|
|
243
|
+
"figmaNodeId": "36:43",
|
|
244
|
+
"storyId": "organisms-filterchipgroup--default",
|
|
245
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=36-43"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "FloatingCard",
|
|
249
|
+
"layer": "organism",
|
|
250
|
+
"description": "Raised summary card floating over a canvas or media: optional thumbnail or a swipeable rounded image hero across the top (images), title, subtitle and meta line, a small star rating with a caption and a status pill (pressable to open), a full-width primary action and a close button; up to 420px wide.",
|
|
251
|
+
"useWhen": [
|
|
252
|
+
"An item on a canvas (e.g. a map marker) or a media item is selected and its summary should float over it (OverlayTemplate's card slot)",
|
|
253
|
+
"A preview should open the full detail screen on tap and offer one primary action",
|
|
254
|
+
"The selected item has a star rating or a status such as saved (rating, badge)",
|
|
255
|
+
"The selected item has several images to swipe through above its summary (images, onImagePress)"
|
|
256
|
+
],
|
|
257
|
+
"figmaNodeId": "75:3",
|
|
258
|
+
"storyId": "organisms-floatingcard--default",
|
|
259
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=75-3"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "FormSection",
|
|
263
|
+
"layer": "organism",
|
|
264
|
+
"description": "Text fields, an inline error, a full-width submit button with a loading state and an optional text link.",
|
|
265
|
+
"useWhen": [
|
|
266
|
+
"A short form with one primary action, such as sign in or sign up",
|
|
267
|
+
"A form needs a secondary text action under the button, such as a reset link"
|
|
268
|
+
],
|
|
269
|
+
"figmaNodeId": "32:64",
|
|
270
|
+
"storyId": "organisms-formsection--default",
|
|
271
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=32-64"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "ImageCarousel",
|
|
275
|
+
"layer": "organism",
|
|
276
|
+
"description": "Swipeable, paged row of full-width images (280px tall by default) with pressable page dots and a per-image credit line over the bottom-left corner; edge to edge or rounded, controlled through index or self-tracking. A null URI draws a placeholder surface for an image that is still loading.",
|
|
277
|
+
"useWhen": [
|
|
278
|
+
"The hero of a detail screen shows several images (DetailTemplate hero)",
|
|
279
|
+
"Images need an attribution line, e.g. the author of each (credits)",
|
|
280
|
+
"Pressing an image opens it full screen in an ImageViewer (onPress)",
|
|
281
|
+
"A smaller rounded carousel inside a card or panel (height, rounded)",
|
|
282
|
+
"Some image URLs resolve later, e.g. signed URLs: pass null for those until they arrive (no empty strings)"
|
|
283
|
+
],
|
|
284
|
+
"figmaNodeId": "128:4892",
|
|
285
|
+
"storyId": "organisms-imagecarousel--default",
|
|
286
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-4892"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "ImagePickerTile",
|
|
290
|
+
"layer": "organism",
|
|
291
|
+
"description": "Square image slot (sm 72px, md 96px). Empty: a dashed tile with a camera icon (and the add label on md) whose onPress asks the app to pick a image. Selected: the image, pressable via onPress, with an optional round remove button. loading shows a spinner and disables it. The image picker, cropping and uploads stay in the app (D9).",
|
|
292
|
+
"useWhen": [
|
|
293
|
+
"A form field for one image, such as a cover or profile picture",
|
|
294
|
+
"A grid of image slots the person fills one by one (put tiles in a row or wrap)"
|
|
295
|
+
],
|
|
296
|
+
"figmaNodeId": "69:85",
|
|
297
|
+
"storyId": "organisms-imagepickertile--empty",
|
|
298
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=69-85"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "ImageStrip",
|
|
302
|
+
"layer": "organism",
|
|
303
|
+
"description": "Horizontal, scrollable row of 72px image thumbnails. onPress reports the pressed image's index; past maxVisible the last image shown gets a '+N' overlay for the rest; onAdd appends an add tile (a ImagePickerTile) that asks the app to pick more; onRemove adds a remove button to each image's corner.",
|
|
304
|
+
"useWhen": [
|
|
305
|
+
"Showing the images attached to an entry, opening an ImageViewer at the pressed index",
|
|
306
|
+
"Editing an entry's images with an add tile at the end",
|
|
307
|
+
"Letting the user remove picked images before saving (onRemove)"
|
|
308
|
+
],
|
|
309
|
+
"figmaNodeId": "69:86",
|
|
310
|
+
"storyId": "organisms-imagestrip--default",
|
|
311
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=69-86"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "ImageViewer",
|
|
315
|
+
"layer": "organism",
|
|
316
|
+
"description": "Full-screen modal image viewer over a near-black scrim. Swipe between images (FlatList paging) or use the previous/next buttons; a 2 / 5 counter and a close button sit at the top and an optional caption at the bottom, inside the safe area. The app owns open and index (onIndexChange, onClose).",
|
|
317
|
+
"useWhen": [
|
|
318
|
+
"Opening a image from a ImageStrip or a grid at full size",
|
|
319
|
+
"Browsing all images of an entry with captions"
|
|
320
|
+
],
|
|
321
|
+
"figmaNodeId": "69:95",
|
|
322
|
+
"storyId": "organisms-imageviewer--default",
|
|
323
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=69-95"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "LabeledDivider",
|
|
327
|
+
"layer": "organism",
|
|
328
|
+
"description": "A horizontal rule with a centered label, neutral (border lines, muted text) or accent (primary lines and text).",
|
|
329
|
+
"useWhen": [
|
|
330
|
+
"Separating groups in a list, such as messages by date (neutral)",
|
|
331
|
+
"Marking where unread items start (accent)"
|
|
332
|
+
],
|
|
333
|
+
"figmaNodeId": "33:42",
|
|
334
|
+
"storyId": "organisms-labeleddivider--default",
|
|
335
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=33-42"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "Legend",
|
|
339
|
+
"layer": "organism",
|
|
340
|
+
"description": "Key that explains markers used elsewhere on the screen: an optional muted semibold title, then items (gold stars or a muted icon, and a muted label) in a row that wraps. An item with accessibilityLabel is read as one element.",
|
|
341
|
+
"useWhen": [
|
|
342
|
+
"Explaining what star tiers or icons are worth above a ranking or chart, e.g. points per tier",
|
|
343
|
+
"A compact key for icons used in a list's rows"
|
|
344
|
+
],
|
|
345
|
+
"figmaNodeId": "128:2048",
|
|
346
|
+
"storyId": "organisms-legend--default",
|
|
347
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-2048"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "ListRow",
|
|
351
|
+
"layer": "organism",
|
|
352
|
+
"description": "One list row, at least 44px tall: a label with trailing content (small muted status icons, a toned badge, read-only stars, a value with optional tone and caption, up to two small buttons with optional icons, or a switch), an emphasized total style, or a pressable row that navigates (chevron), opens a link (primary label) or does something destructive. Optional initials avatar and muted subtitle.",
|
|
353
|
+
"useWhen": [
|
|
354
|
+
"Showing a read-only setting such as an app version (pass value)",
|
|
355
|
+
"A row opens another screen (pass onPress)",
|
|
356
|
+
"A row opens a page such as a privacy policy (pass onPress and tone link)",
|
|
357
|
+
"A row deletes or signs out (pass onPress and tone destructive)",
|
|
358
|
+
"Listing people or items with an initials avatar and a second line (pass avatar and subtitle)",
|
|
359
|
+
"A transaction-style row with an amount and what it means under it (value, valueTone, valueCaption)",
|
|
360
|
+
"A row with a short status pill such as a countdown (badge)",
|
|
361
|
+
"A row with quick actions such as Done or Skip next to it (actions)",
|
|
362
|
+
"A setting that turns on or off (toggle)",
|
|
363
|
+
"A row that shows a star rating or status icons such as a saved marker (rating, indicators)",
|
|
364
|
+
"A total at the end of a breakdown (emphasis)",
|
|
365
|
+
"A row with a badge and two actions on a phone, where the title needs the room (actionsPlacement auto or below), a long subtitle capped at a few lines (subtitleLines) or a top-tier badge (badgeTone gold)",
|
|
366
|
+
"A row that is busy, e.g. while an export or delete runs (disabled)"
|
|
367
|
+
],
|
|
368
|
+
"figmaNodeId": "36:13",
|
|
369
|
+
"storyId": "organisms-listrow--value",
|
|
370
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=36-13"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "ListSection",
|
|
374
|
+
"layer": "organism",
|
|
375
|
+
"description": "Titled group in a list: a small muted heading with an optional tinted icon and count, an optional text action on the right, an optional muted description, the group's rows (plain, or in a bordered card divided by hairlines), an optional show-more button under the rows and an optional muted footnote.",
|
|
376
|
+
"useWhen": [
|
|
377
|
+
"A list groups its rows under headings, such as months or categories (ListTemplate or DetailTemplate content)",
|
|
378
|
+
"A preview of a longer list ends in a show-more action next to its heading",
|
|
379
|
+
"A dashboard section shows how many items it holds and a one-line explanation (count, description)",
|
|
380
|
+
"A dashboard preview with an icon heading and a show-more button under its rows (icon, moreAction)",
|
|
381
|
+
"A breakdown of values in a card, e.g. a balance with a total row (variant card)",
|
|
382
|
+
"Grouping rows, such as a balance card, that need no heading (omit title)"
|
|
383
|
+
],
|
|
384
|
+
"slots": [
|
|
385
|
+
{
|
|
386
|
+
"name": "children",
|
|
387
|
+
"description": "The section's rows: ListRow, EmptyState or SkeletonList."
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"figmaNodeId": "128:3002",
|
|
391
|
+
"storyId": "organisms-listsection--default",
|
|
392
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-3002"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "LiveCaption",
|
|
396
|
+
"layer": "organism",
|
|
397
|
+
"description": "Centered live transcript: the user's words in small muted text above the reply, which is clamped to six lines.",
|
|
398
|
+
"useWhen": [
|
|
399
|
+
"Showing speech-to-text as the user talks and the reply under it",
|
|
400
|
+
"Any caption pair of input and response on a voice or dictation screen"
|
|
401
|
+
],
|
|
402
|
+
"figmaNodeId": "37:63",
|
|
403
|
+
"storyId": "organisms-livecaption--input-and-response",
|
|
404
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=37-63"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "MessageBubble",
|
|
408
|
+
"layer": "organism",
|
|
409
|
+
"description": "One chat message: user messages right-aligned on primary, assistant messages left on secondary, with an optional meta line, a failed state with a retry line and a typing state.",
|
|
410
|
+
"useWhen": [
|
|
411
|
+
"Rendering each message of a chat thread",
|
|
412
|
+
"A reply is pending and has no text yet (pass typing)",
|
|
413
|
+
"A sent message failed and can be retried (pass failed and onRetry)"
|
|
414
|
+
],
|
|
415
|
+
"slots": [
|
|
416
|
+
{
|
|
417
|
+
"name": "children",
|
|
418
|
+
"description": "Message body. The app renders its own content here, such as markdown; pass text instead for plain text."
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"figmaNodeId": "33:33",
|
|
422
|
+
"storyId": "organisms-messagebubble--default",
|
|
423
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=33-33"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "MessageList",
|
|
427
|
+
"layer": "organism",
|
|
428
|
+
"description": "Inverted scrolling list for a chat thread: newest row at the bottom, rows rendered by the app, a spinner above the oldest row while older rows load, and an optional centered empty state.",
|
|
429
|
+
"useWhen": [
|
|
430
|
+
"The message stream of a chat screen, in ChatTemplate's list slot",
|
|
431
|
+
"Any bottom-anchored feed that loads older items as the user scrolls up"
|
|
432
|
+
],
|
|
433
|
+
"slots": [
|
|
434
|
+
{
|
|
435
|
+
"name": "renderItem",
|
|
436
|
+
"description": "Renders each row; return organisms such as MessageBubble or LabeledDivider."
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"name": "empty",
|
|
440
|
+
"description": "Shown centered in place of the list while data is empty, usually an EmptyState."
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"figmaNodeId": "34:120",
|
|
444
|
+
"storyId": "organisms-messagelist--default",
|
|
445
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=34-120"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "MeterCard",
|
|
449
|
+
"layer": "organism",
|
|
450
|
+
"description": "Card of quota or limit meters on the card surface: a title row with an optional icon and muted caption, then an optional secondary-filled message (e.g. why the numbers may be out of date; meters may then be empty), then one meter per item (label, percentage, rounded bar, optional muted caption). A meter at 90% or more turns destructive. Each meter is announced as a progress bar.",
|
|
451
|
+
"useWhen": [
|
|
452
|
+
"Showing how much of a quota, limit or plan is used, such as storage or rate limits",
|
|
453
|
+
"One card per account or provider, each with several meters (put cards in a column)"
|
|
454
|
+
],
|
|
455
|
+
"figmaNodeId": "62:3",
|
|
456
|
+
"storyId": "organisms-metercard--default",
|
|
457
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=62-3"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "MonthCalendar",
|
|
461
|
+
"layer": "organism",
|
|
462
|
+
"description": "Controlled month grid with previous and next buttons: selected dates fill with primary, today is ringed, dates carry up to three dots (primary, outline, muted, destructive) and days outside min/max are disabled. Months and dates are ISO strings; copy is localizable through props.",
|
|
463
|
+
"useWhen": [
|
|
464
|
+
"A screen shows records or events by day and lets the user pick a date",
|
|
465
|
+
"An inline date picker is wanted instead of the native picker",
|
|
466
|
+
"A Korean- or Japanese-style calendar with Sunday red and Saturday blue (weekendTones); titleTestID for checking the shown month"
|
|
467
|
+
],
|
|
468
|
+
"figmaNodeId": "141:4637",
|
|
469
|
+
"storyId": "organisms-monthcalendar--default",
|
|
470
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=141-4637"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "NavigationRail",
|
|
474
|
+
"layer": "organism",
|
|
475
|
+
"description": "Vertical navigation for wide layouts: icon and label items in an 80px column (tablist semantics, the selected item on a secondary pill with its icon in primary), an optional header and a footer action; pads the top and bottom safe-area insets.",
|
|
476
|
+
"useWhen": [
|
|
477
|
+
"An app's top-level sections on a tablet or web layout, where a TabBar would stretch across a wide screen",
|
|
478
|
+
"With SplitLayout: pass it as `rail` and the same items to a TabBar as `tabBar`; SplitLayout shows the rail on wide screens and the tab bar on narrow ones",
|
|
479
|
+
"Settings or sign out must stay reachable from every section (footerAction)"
|
|
480
|
+
],
|
|
481
|
+
"slots": [
|
|
482
|
+
{
|
|
483
|
+
"name": "header",
|
|
484
|
+
"description": "Top of the rail, above the items: the app's logo."
|
|
485
|
+
}
|
|
486
|
+
],
|
|
487
|
+
"figmaNodeId": "73:3",
|
|
488
|
+
"storyId": "organisms-navigationrail--default",
|
|
489
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=73-3"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "Orb",
|
|
493
|
+
"layer": "organism",
|
|
494
|
+
"description": "Animated pulsing orb whose speed, size and opacity show a voice session's state, with an optional status line under it.",
|
|
495
|
+
"useWhen": [
|
|
496
|
+
"The main control of a voice screen: tap to start, interrupt or retry",
|
|
497
|
+
"Showing whether the app is listening, thinking, speaking, muted or failed"
|
|
498
|
+
],
|
|
499
|
+
"figmaNodeId": "37:40",
|
|
500
|
+
"storyId": "organisms-orb--listening",
|
|
501
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=37-40"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "ProfileHeader",
|
|
505
|
+
"layer": "organism",
|
|
506
|
+
"description": "Profile block: a round avatar with initials from the name, the name, an optional subtitle such as an email, and an optional outlined action button.",
|
|
507
|
+
"useWhen": [
|
|
508
|
+
"The top of a settings or account screen shows who is signed in",
|
|
509
|
+
"The profile offers one action such as editing the name"
|
|
510
|
+
],
|
|
511
|
+
"figmaNodeId": "36:15",
|
|
512
|
+
"storyId": "organisms-profileheader--default",
|
|
513
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=36-15"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "ProgressBar",
|
|
517
|
+
"layer": "organism",
|
|
518
|
+
"description": "Labeled linear progress bar: the label and percentage (or a value label such as 3 / 10) over a rounded secondary track with a primary fill, and an optional muted caption. rating puts that many gold stars before the label, for per-tier bars. tone destructive turns the fill and value destructive. Announced as a progress bar named by the label.",
|
|
519
|
+
"useWhen": [
|
|
520
|
+
"Showing progress toward a goal or through steps inline, e.g. a profile that is 60% complete",
|
|
521
|
+
"Progress per star tier (pass rating)",
|
|
522
|
+
"A single quota or limit outside a card (several meters in a card: use MeterCard)",
|
|
523
|
+
"A bar that should read as a star tier or reward (tone gold)"
|
|
524
|
+
],
|
|
525
|
+
"figmaNodeId": "68:16",
|
|
526
|
+
"storyId": "organisms-progressbar--default",
|
|
527
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=68-16"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "ProgressRing",
|
|
531
|
+
"layer": "organism",
|
|
532
|
+
"description": "Circular progress ring drawn with Views: a secondary track with a primary (or destructive) arc from 12 o'clock, the percentage or a value label in the middle and a muted label under it. sm is 56px, md 88px. Announced as a progress bar named by the label.",
|
|
533
|
+
"useWhen": [
|
|
534
|
+
"The hero number of a stats or goal screen, e.g. share of a collection completed",
|
|
535
|
+
"Compact progress in a tile or header where a full-width bar does not fit"
|
|
536
|
+
],
|
|
537
|
+
"figmaNodeId": "69:26",
|
|
538
|
+
"storyId": "organisms-progressring--default",
|
|
539
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=69-26"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "RankedRow",
|
|
543
|
+
"layer": "organism",
|
|
544
|
+
"description": "Ranked row at least 56px tall: rank, avatar (image or initials), name with an optional badge (e.g. 'You'), muted subtitle and a semibold score on the right with an optional gold scoreIcon and a muted scoreCaption under it. medal draws ranks 1-3 on gold, silver and bronze discs. highlighted marks the current user's row with a card fill and a primary border. With onPress it is a button named by its visible text.",
|
|
545
|
+
"useWhen": [
|
|
546
|
+
"Rankings and top-N lists of people or items with a score",
|
|
547
|
+
"A podium look for the top three (pass medal to every row)",
|
|
548
|
+
"Pinning the current user's own position under a ranking (pass highlighted and badge)",
|
|
549
|
+
"Showing how many items reached each star tier under the name (tiers)"
|
|
550
|
+
],
|
|
551
|
+
"figmaNodeId": "70:22",
|
|
552
|
+
"storyId": "organisms-rankedrow--default",
|
|
553
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=70-22"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "RatingStars",
|
|
557
|
+
"layer": "organism",
|
|
558
|
+
"description": "Row of gold stars (default 5). Without onChange it is a read-only image named 'label: value/max' and shows half stars; with onChange it is a radio group named by label with one 44px radio per star (sm stars get a hit slop). sm 16px or md 28px stars.",
|
|
559
|
+
"useWhen": [
|
|
560
|
+
"Showing an item's rating in a list row, card or detail screen",
|
|
561
|
+
"Letting someone rate something in a form (pass onChange)"
|
|
562
|
+
],
|
|
563
|
+
"figmaNodeId": "69:71",
|
|
564
|
+
"storyId": "organisms-ratingstars--display",
|
|
565
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=69-71"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "ScrollToBottomFab",
|
|
569
|
+
"layer": "organism",
|
|
570
|
+
"description": "Round chevron button pinned to the bottom center of its parent that jumps a list to the newest item, with an optional unread count badge.",
|
|
571
|
+
"useWhen": [
|
|
572
|
+
"A long list, such as a chat thread, is scrolled away from its newest item",
|
|
573
|
+
"New items arrived while scrolled away (pass count)"
|
|
574
|
+
],
|
|
575
|
+
"figmaNodeId": "33:51",
|
|
576
|
+
"storyId": "organisms-scrolltobottomfab--default",
|
|
577
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=33-51"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "SearchBar",
|
|
581
|
+
"layer": "organism",
|
|
582
|
+
"description": "Controlled search input with a leading search icon, a clear button while it has text and an optional trailing filter icon button that fills with primary when active and can carry a count badge, and an optional card of suggestion rows under the input.",
|
|
583
|
+
"useWhen": [
|
|
584
|
+
"A list screen filters its rows by a typed query (ListTemplate's search slot)",
|
|
585
|
+
"A filter row is toggled from next to the search input (filterAction, active while shown or applied)",
|
|
586
|
+
"Showing how many filters are applied on the filter button (filterAction.count)",
|
|
587
|
+
"Listing matches under the input while typing, such as places on a map (suggestions)",
|
|
588
|
+
"A search over an app-owned engine such as a web map: suggestion rows still take clicks there"
|
|
589
|
+
],
|
|
590
|
+
"figmaNodeId": "44:75",
|
|
591
|
+
"storyId": "organisms-searchbar--default",
|
|
592
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=44-75"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"name": "SearchSelect",
|
|
596
|
+
"layer": "organism",
|
|
597
|
+
"description": "Select whose sheet has a search input: options filter by label as the user types, or the app filters them itself (onQueryChange, e.g. an async search) with a loading state. Optional create row for a query with no exact match, and an empty message.",
|
|
598
|
+
"useWhen": [
|
|
599
|
+
"A form picks one item from a long or server-backed list, such as a person or a place",
|
|
600
|
+
"The user may need to create the item inline when the search finds nothing"
|
|
601
|
+
],
|
|
602
|
+
"figmaNodeId": "82:56",
|
|
603
|
+
"storyId": "organisms-searchselect--default",
|
|
604
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=82-56"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "SectionedList",
|
|
608
|
+
"layer": "organism",
|
|
609
|
+
"description": "Virtualized list of sections with sticky muted headings (a section without a title makes a flat list), an optional header above the sections, an empty state and a loading-more spinner for pagination. It scrolls itself.",
|
|
610
|
+
"useWhen": [
|
|
611
|
+
"A long or paginated list grouped under headings such as months (inside ListTemplate with scroll={false})",
|
|
612
|
+
"A flat virtualized list of rows: one section without a title",
|
|
613
|
+
"A list with a totals card above it (header) and an empty state when nothing matches (empty)",
|
|
614
|
+
"Rows separated by hairlines (separators) and headings with end-to-end ids (section testID)"
|
|
615
|
+
],
|
|
616
|
+
"slots": [
|
|
617
|
+
{
|
|
618
|
+
"name": "renderItem",
|
|
619
|
+
"description": "Renders one row, usually a ListRow."
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "header",
|
|
623
|
+
"description": "Scrolls above the first section, e.g. a SummaryCard."
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "empty",
|
|
627
|
+
"description": "Shown while every section is empty, usually an EmptyState."
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
"figmaNodeId": "128:5693",
|
|
631
|
+
"storyId": "organisms-sectionedlist--default",
|
|
632
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-5693"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "SegmentedControl",
|
|
636
|
+
"layer": "organism",
|
|
637
|
+
"description": "2-4 mutually exclusive options in one outlined row; the selected option fills with primary. Radio-group semantics.",
|
|
638
|
+
"useWhen": [
|
|
639
|
+
"Choosing one of a few short options that fit on one line, such as Light / Dark / System"
|
|
640
|
+
],
|
|
641
|
+
"figmaNodeId": "36:30",
|
|
642
|
+
"storyId": "organisms-segmentedcontrol--default",
|
|
643
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=36-30"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "Select",
|
|
647
|
+
"layer": "organism",
|
|
648
|
+
"description": "Labelled field that opens a bottom sheet of options (label, optional description and icon) as radio rows; choosing one calls onChange and closes the sheet. Shows a placeholder, an inline error and a disabled state. variant chip is a compact pill trigger that fills with primary while a value other than defaultValue is chosen.",
|
|
649
|
+
"useWhen": [
|
|
650
|
+
"A form asks for one value from a short, known list, such as a category or relationship",
|
|
651
|
+
"The options need a description or an icon, or are too many for a FilterChipGroup",
|
|
652
|
+
"A row of compact dropdown filters above a list (variant chip, defaultValue for the unfiltered value)",
|
|
653
|
+
"A filter whose first option means everything, e.g. \"All\": mark it all so the chip keeps reading its placeholder"
|
|
654
|
+
],
|
|
655
|
+
"figmaNodeId": "81:24",
|
|
656
|
+
"storyId": "organisms-select--default",
|
|
657
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=81-24"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "SettingsSection",
|
|
661
|
+
"layer": "organism",
|
|
662
|
+
"description": "Settings card: an 18px heading (optional muted icon before it and muted description under it) over a column of settings organisms, on the card color with a border. tone destructive turns the border, icon and heading destructive.",
|
|
663
|
+
"useWhen": [
|
|
664
|
+
"Grouping related settings under a heading, such as Profile, Appearance or About",
|
|
665
|
+
"A danger zone with delete or reset rows (pass tone destructive)"
|
|
666
|
+
],
|
|
667
|
+
"slots": [
|
|
668
|
+
{
|
|
669
|
+
"name": "children",
|
|
670
|
+
"description": "Settings organisms only: ListRow, ProfileHeader, SegmentedControl, FilterChipGroup or FormSection."
|
|
671
|
+
}
|
|
672
|
+
],
|
|
673
|
+
"figmaNodeId": "128:3659",
|
|
674
|
+
"storyId": "organisms-settingssection--default",
|
|
675
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-3659"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "SkeletonList",
|
|
679
|
+
"layer": "organism",
|
|
680
|
+
"description": "Loading placeholder for a list, announced as Loading: the chat variant pulses bubble shapes alternating right and left; the list variant pulses list-row shapes (title, subtitle, trailing value) separated by hairlines; the ranked variant pulses ranked rows (rank, avatar, name, score); the detail variant pulses a detail screen (hero, title, meta line, stars, text lines).",
|
|
681
|
+
"useWhen": [
|
|
682
|
+
"A chat thread is loading for the first time (ChatTemplate's list slot, variant chat)",
|
|
683
|
+
"A list screen is loading its first page (ListTemplate content, variant list)",
|
|
684
|
+
"A ranking is loading (variant ranked)",
|
|
685
|
+
"A detail screen is loading (DetailTemplate content, variant detail)"
|
|
686
|
+
],
|
|
687
|
+
"figmaNodeId": "34:57",
|
|
688
|
+
"storyId": "organisms-skeletonlist--default",
|
|
689
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=34-57"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "Snackbar",
|
|
693
|
+
"layer": "organism",
|
|
694
|
+
"description": "Transient message at the bottom of the screen, capped at 420px, that hides after a few seconds; tones default, success and error. Wrap the app in SnackbarProvider and call useSnackbar().show({ message, tone }); the Snackbar component itself is the controlled form. Inside the provider it sits above a mounted TabBar (and its center action) automatically; placement bottom opts out.",
|
|
695
|
+
"useWhen": [
|
|
696
|
+
"Confirming that an action finished, such as a saved setting (tone success)",
|
|
697
|
+
"Reporting a failed action that needs no decision (tone error)",
|
|
698
|
+
"A screen with a TabBar: render the TabBar inside SnackbarProvider so snackbars clear it"
|
|
699
|
+
],
|
|
700
|
+
"slots": [
|
|
701
|
+
{
|
|
702
|
+
"name": "children",
|
|
703
|
+
"description": "SnackbarProvider only: the app root. Snackbars show over it at the bottom."
|
|
704
|
+
}
|
|
705
|
+
],
|
|
706
|
+
"figmaNodeId": "36:92",
|
|
707
|
+
"storyId": "organisms-snackbar--default",
|
|
708
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=36-92"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "SocialSignInButton",
|
|
712
|
+
"layer": "organism",
|
|
713
|
+
"description": "Full-width sign-in button for Apple (solid, inverted to the screen: black in light mode, white in dark) or Google (bordered neutral), with the provider's Ionicons logo, a default 'Continue with …' label and a loading state.",
|
|
714
|
+
"useWhen": [
|
|
715
|
+
"A sign-in screen offers Apple or Google sign-in (stack one button per provider)"
|
|
716
|
+
],
|
|
717
|
+
"figmaNodeId": "45:144",
|
|
718
|
+
"storyId": "organisms-socialsigninbutton--apple",
|
|
719
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=45-144"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "StatTile",
|
|
723
|
+
"layer": "organism",
|
|
724
|
+
"description": "Summary stat card: a muted label, a large value colored by tone (default, positive = primary, negative = destructive), an optional caption and icon; pressable when onPress is set. Tiles in a row share the width equally. progress adds an 88px progress ring left of the text and a 30px value, for a hero summary.",
|
|
725
|
+
"useWhen": [
|
|
726
|
+
"A dashboard or list header shows totals or counts",
|
|
727
|
+
"Several numbers sit side by side (put tiles in one row)",
|
|
728
|
+
"A number opens the list behind it (pass onPress)",
|
|
729
|
+
"The hero of a stats screen: a share completed next to the count (pass progress)",
|
|
730
|
+
"An end-to-end check reads the number (valueTestID)"
|
|
731
|
+
],
|
|
732
|
+
"figmaNodeId": "45:137",
|
|
733
|
+
"storyId": "organisms-stattile--default",
|
|
734
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=45-137"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "SuggestionChips",
|
|
738
|
+
"layer": "organism",
|
|
739
|
+
"description": "Fully rounded chips on secondary that wrap and center, or scroll in one row (layout scroll); a chip calls its own onPress, can be removed with a trailing close button (onRemove), or both.",
|
|
740
|
+
"useWhen": [
|
|
741
|
+
"Offering starter prompts on an empty chat (EmptyState's suggestions)",
|
|
742
|
+
"Any short list of quick replies or suggested actions",
|
|
743
|
+
"Showing active filters above a list, each removable (items with onRemove, layout scroll)"
|
|
744
|
+
],
|
|
745
|
+
"figmaNodeId": "34:34",
|
|
746
|
+
"storyId": "organisms-suggestionchips--default",
|
|
747
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=34-34"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "SummaryCard",
|
|
751
|
+
"layer": "organism",
|
|
752
|
+
"description": "Totals card on the secondary surface: a muted label over a large headline value with an optional caption on the right, then a divided row of up to three sub-stats (label and toned value).",
|
|
753
|
+
"useWhen": [
|
|
754
|
+
"Showing a total and its parts above a list, e.g. a net amount with incoming and outgoing sub-totals",
|
|
755
|
+
"A compact overview of up to three related numbers under one headline"
|
|
756
|
+
],
|
|
757
|
+
"figmaNodeId": "128:5066",
|
|
758
|
+
"storyId": "organisms-summarycard--default",
|
|
759
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-5066"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "TabBar",
|
|
763
|
+
"layer": "organism",
|
|
764
|
+
"description": "Bottom tab bar: icon and label tabs (tablist semantics, the selected tab's icon in primary) with an optional raised round primary center action; pads the bottom safe-area inset. Inside a SnackbarProvider it reports its height so snackbars sit above it.",
|
|
765
|
+
"useWhen": [
|
|
766
|
+
"An app's top-level sections switch from a bar at the bottom of the screen",
|
|
767
|
+
"As expo-router's custom tab bar: `<Tabs tabBar={({ state, navigation }) => <TabBar items={...} activeKey={state.routes[state.index].name} onSelect={(name) => navigation.navigate(name)} />}>`, with one item per `Tabs.Screen` keyed by route name",
|
|
768
|
+
"A primary create action must be one tap away from every tab (centerAction)"
|
|
769
|
+
],
|
|
770
|
+
"figmaNodeId": "44:53",
|
|
771
|
+
"storyId": "organisms-tabbar--default",
|
|
772
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=44-53"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "TabStrip",
|
|
776
|
+
"layer": "organism",
|
|
777
|
+
"description": "Row of 2-5 underlined tabs on a hairline border that switch the view below it. The selected tab has a semibold foreground label and a 2px primary underline; the others are muted. Each tab is at least 44px tall and grows from its label's width. Tab-list semantics (tablist, tab, selected).",
|
|
778
|
+
"useWhen": [
|
|
779
|
+
"Splitting one screen into a few sibling views, such as Stats, Saved, Entries and Settings",
|
|
780
|
+
"Not for picking a value (use SegmentedControl) or app-level navigation (use TabBar)"
|
|
781
|
+
],
|
|
782
|
+
"figmaNodeId": "128:1603",
|
|
783
|
+
"storyId": "organisms-tabstrip--default",
|
|
784
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-1603"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "TextField",
|
|
788
|
+
"layer": "organism",
|
|
789
|
+
"description": "One labelled text field outside a FormSection: a single 44px line or a multiline box that grows with its text, an inline error, an optional character limit and an optional small button after the input.",
|
|
790
|
+
"useWhen": [
|
|
791
|
+
"A text field on a FormTemplate screen whose save button sits in the template footer, such as a name or a note",
|
|
792
|
+
"A longer note or description (multiline, maxLength)",
|
|
793
|
+
"An inline add field next to a chip row, such as a new category name with an Add button (action)"
|
|
794
|
+
],
|
|
795
|
+
"figmaNodeId": "128:4963",
|
|
796
|
+
"storyId": "organisms-textfield--default",
|
|
797
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=128-4963"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "TypingIndicator",
|
|
801
|
+
"layer": "organism",
|
|
802
|
+
"description": "Three pulsing dots that show a reply is being written, announced as a progress indicator.",
|
|
803
|
+
"useWhen": [
|
|
804
|
+
"A reply is in progress outside a MessageBubble (inside one, pass typing instead)"
|
|
805
|
+
],
|
|
806
|
+
"figmaNodeId": "33:6",
|
|
807
|
+
"storyId": "organisms-typingindicator--default",
|
|
808
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=33-6"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "AppShell",
|
|
812
|
+
"layer": "template",
|
|
813
|
+
"description": "Screen frame: pads the top and bottom safe-area insets once (templates and bars inside skip them), themed background, content column capped at 720px and centered on wide screens. maxWidth phone caps it at 480px and frames it with side borders on a secondary background, for a mobile-first app on desktop web.",
|
|
814
|
+
"useWhen": [
|
|
815
|
+
"Every top-level screen, as the outermost component",
|
|
816
|
+
"A screen needs a fixed header above scrolling content",
|
|
817
|
+
"A mobile-first app shown on desktop web keeps a phone-width column (maxWidth phone)",
|
|
818
|
+
"With a root AppShell around a native stack, wrap each natively presented route (presentation modal, formSheet or pageSheet) in its own SafeAreaProvider, for example the Stack.Screen layout prop: iOS draws those screens outside the shell, and the nested provider makes the screen pad its own insets once"
|
|
819
|
+
],
|
|
820
|
+
"slots": [
|
|
821
|
+
{
|
|
822
|
+
"name": "header",
|
|
823
|
+
"description": "Fixed top area, usually an AppBar."
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "children",
|
|
827
|
+
"description": "Screen content; fills the remaining height."
|
|
828
|
+
}
|
|
829
|
+
],
|
|
830
|
+
"figmaNodeId": "145:562",
|
|
831
|
+
"storyId": "templates-appshell--default",
|
|
832
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=145-562"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "AuthTemplate",
|
|
836
|
+
"layer": "template",
|
|
837
|
+
"description": "Sign-in style screen: pads the top and bottom safe area (skipped inside an AppShell, which pads them), keyboard-avoiding, vertically centered column capped at 420px; footerLinks adds centered links under the form (a muted prompt then a semibold link, or a plain muted link).",
|
|
838
|
+
"useWhen": [
|
|
839
|
+
"Sign-in, sign-up and other single-form screens",
|
|
840
|
+
"Linking to sign-up or a policy under the form (pass footerLinks)",
|
|
841
|
+
"Standalone or inside an AppShell: the insets are padded once either way (safeAreaTop / safeAreaBottom turn them off)"
|
|
842
|
+
],
|
|
843
|
+
"slots": [
|
|
844
|
+
{
|
|
845
|
+
"name": "header",
|
|
846
|
+
"description": "Top of the column, usually a BrandMark."
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "children",
|
|
850
|
+
"description": "The form, usually a FormSection."
|
|
851
|
+
}
|
|
852
|
+
],
|
|
853
|
+
"figmaNodeId": "32:65",
|
|
854
|
+
"storyId": "templates-authtemplate--default",
|
|
855
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=32-65"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "ChatTemplate",
|
|
859
|
+
"layer": "template",
|
|
860
|
+
"description": "Chat screen frame: pads the top safe-area inset (skipped inside an AppShell; the Composer pads the bottom), keyboard-avoiding, column capped at 720px and centered, with header, list, overlay, banner and composer slots. keyboardAvoiding={false} hands the keyboard to an app-owned engine.",
|
|
861
|
+
"useWhen": [
|
|
862
|
+
"A conversation screen with a message stream and an input bar"
|
|
863
|
+
],
|
|
864
|
+
"slots": [
|
|
865
|
+
{
|
|
866
|
+
"name": "header",
|
|
867
|
+
"description": "Top bar, usually an AppBar."
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "list",
|
|
871
|
+
"description": "Fills the remaining height: a MessageList (with an EmptyState in its empty slot), or a SkeletonList while loading."
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "overlay",
|
|
875
|
+
"description": "Floats over the list, e.g. a ScrollToBottomFab."
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "banner",
|
|
879
|
+
"description": "Between the list and the composer, e.g. an offline or error Banner."
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "composer",
|
|
883
|
+
"description": "Bottom input, usually a Composer."
|
|
884
|
+
}
|
|
885
|
+
],
|
|
886
|
+
"figmaNodeId": "34:121",
|
|
887
|
+
"storyId": "templates-chattemplate--default",
|
|
888
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=34-121"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "DetailTemplate",
|
|
892
|
+
"layer": "template",
|
|
893
|
+
"description": "Detail screen frame: safe-area aware, a fixed header, a scrolling column (edge-to-edge hero, then sections) capped at 720px and centered, an optional sticky footer that pads the bottom inset (safeAreaBottom false leaves it to a TabBar), and an optional round back button floating over the hero.",
|
|
894
|
+
"useWhen": [
|
|
895
|
+
"A screen showing one record (a place, a person, an item) opened from a list",
|
|
896
|
+
"A detail screen with primary actions that must stay visible while scrolling (footer)",
|
|
897
|
+
"A detail screen led by full-bleed images, with no top bar and a back button floating over them (onBack, hero ImageCarousel)",
|
|
898
|
+
"A detail screen shown inside tabs, above a TabBar that pads the bottom inset (set safeAreaBottom={false})",
|
|
899
|
+
"A detail screen led by a non-image hero such as a ProfileHeader, padded like the sections (heroPadded)"
|
|
900
|
+
],
|
|
901
|
+
"slots": [
|
|
902
|
+
{
|
|
903
|
+
"name": "header",
|
|
904
|
+
"description": "Top bar, usually an AppBar with a back action."
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "hero",
|
|
908
|
+
"description": "Top of the scroll, e.g. an ImageCarousel (edge to edge) or a ProfileHeader (set heroPadded to pad it 16px like the sections)."
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "children",
|
|
912
|
+
"description": "Sections under the hero: a DetailHeader, ActionCards and ListSections."
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "footer",
|
|
916
|
+
"description": "Sticky bottom bar for the screen's actions, e.g. a FormSection submit or buttons."
|
|
917
|
+
}
|
|
918
|
+
],
|
|
919
|
+
"figmaNodeId": "44:152",
|
|
920
|
+
"storyId": "templates-detailtemplate--default",
|
|
921
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=44-152"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "FormTemplate",
|
|
925
|
+
"layer": "template",
|
|
926
|
+
"description": "Form screen, often shown as a modal: safe-area aware and keyboard-avoiding, a fixed header, a scrolling column of fields capped at 640px with 24px gaps, and an optional pinned footer (form error + full-width submit button with a loading state).",
|
|
927
|
+
"useWhen": [
|
|
928
|
+
"Create or edit screens with several fields and one save action",
|
|
929
|
+
"A modal form whose save button must stay reachable while scrolling (pass footer)"
|
|
930
|
+
],
|
|
931
|
+
"slots": [
|
|
932
|
+
{
|
|
933
|
+
"name": "header",
|
|
934
|
+
"description": "Fixed above the form, usually an AppBar with onBack or a close icon action."
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "children",
|
|
938
|
+
"description": "Field organisms such as AmountInput, DateField, FilterChipGroup or FormSection, in display order."
|
|
939
|
+
}
|
|
940
|
+
],
|
|
941
|
+
"figmaNodeId": "45:179",
|
|
942
|
+
"storyId": "templates-formtemplate--default",
|
|
943
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=45-179"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"name": "ListTemplate",
|
|
947
|
+
"layer": "template",
|
|
948
|
+
"description": "List screen frame: safe-area aware, a fixed header, optional search and filter rows, then list content in a column capped at 720px and centered; the content scrolls inside the template unless scroll is false; an optional footer row stays pinned at the bottom; onScroll reports the scroll offset with the viewport and content heights and scrollRef scrolls the content.",
|
|
949
|
+
"useWhen": [
|
|
950
|
+
"A screen whose main content is a searchable or filterable list of rows",
|
|
951
|
+
"A tab screen above a TabBar (set safeAreaBottom={false}; the TabBar pads the inset)",
|
|
952
|
+
"A long or paginated list: pass a virtualized list (such as SectionedList) as children with scroll={false}",
|
|
953
|
+
"Keeping the viewer's own row in view while it is scrolled away (footer)",
|
|
954
|
+
"Knowing when a row is scrolled out of view and scrolling back to it (onScroll + scrollRef), e.g. to show that row in footer only while it is hidden"
|
|
955
|
+
],
|
|
956
|
+
"slots": [
|
|
957
|
+
{
|
|
958
|
+
"name": "header",
|
|
959
|
+
"description": "Top bar, usually an AppBar."
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "search",
|
|
963
|
+
"description": "Fixed under the header, usually a SearchBar."
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "filters",
|
|
967
|
+
"description": "Fixed under the search, usually a FilterChipGroup."
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "children",
|
|
971
|
+
"description": "The list: ListSections, EmptyState or SkeletonList (scrolled by the template), or a virtualized list with scroll={false}."
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "footer",
|
|
975
|
+
"description": "Pinned under the content above a hairline, usually a ListRow or RankedRow."
|
|
976
|
+
}
|
|
977
|
+
],
|
|
978
|
+
"figmaNodeId": "44:93",
|
|
979
|
+
"storyId": "templates-listtemplate--default",
|
|
980
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=44-93"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "LockTemplate",
|
|
984
|
+
"layer": "template",
|
|
985
|
+
"description": "Full-screen cover that pads its own safe area (also in a Modal over an AppShell screen). App lock screen: title and subtitle, PIN dots, a numeric keypad with delete and an optional biometric key; errors turn the dots destructive, show a message and shake them. Without a PIN it shows only a biometric unlock button. The app verifies the PIN and runs the biometric prompt (D9).",
|
|
986
|
+
"useWhen": [
|
|
987
|
+
"The app locks behind a PIN or biometrics when opened or resumed",
|
|
988
|
+
"A sensitive action needs the user's PIN again"
|
|
989
|
+
],
|
|
990
|
+
"figmaNodeId": "82:319",
|
|
991
|
+
"storyId": "templates-locktemplate--default",
|
|
992
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=82-319"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "OverlayTemplate",
|
|
996
|
+
"layer": "template",
|
|
997
|
+
"description": "Full-screen canvas with floating overlays: app-owned content edge to edge, a search bar and round action buttons (data) floating at the top, a card floating at the bottom or a larger panel docked at the bottom left, and an optional bottom sheet; overlays pad the safe area and let touches through to the canvas around them.",
|
|
998
|
+
"useWhen": [
|
|
999
|
+
"A screen built around an interactive full-bleed surface (a map, a camera preview, a canvas) with search, actions and a selected-item summary",
|
|
1000
|
+
"Such a screen as a tab above a TabBar (set safeAreaBottom={false}; the TabBar pads the inset)",
|
|
1001
|
+
"The detail pane of a SplitLayout on wide screens",
|
|
1002
|
+
"A selected item's full detail floating over the canvas on a wide screen (panel)",
|
|
1003
|
+
"Such a screen under an AppBar that already sits below the status bar (set safeAreaTop={false})"
|
|
1004
|
+
],
|
|
1005
|
+
"slots": [
|
|
1006
|
+
{
|
|
1007
|
+
"name": "canvas",
|
|
1008
|
+
"description": "The app-owned full-bleed engine (a map, a camera preview, a drawing surface), filling the screen and keeping its own gestures (D9)."
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "search",
|
|
1012
|
+
"description": "Floats at the top under the status bar, usually a SearchBar."
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "card",
|
|
1016
|
+
"description": "Floats at the bottom, usually a FloatingCard for the selected item."
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"name": "panel",
|
|
1020
|
+
"description": "Docked at the bottom left, up to 400px wide, scrolling when taller than the space: an item's full detail (DetailHeader, ImageCarousel, ActionCard). Used instead of card."
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "sheet",
|
|
1024
|
+
"description": "A BottomSheet for results or filters."
|
|
1025
|
+
}
|
|
1026
|
+
],
|
|
1027
|
+
"figmaNodeId": "79:33",
|
|
1028
|
+
"storyId": "templates-overlaytemplate--default",
|
|
1029
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=79-33"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "SettingsTemplate",
|
|
1033
|
+
"layer": "template",
|
|
1034
|
+
"description": "Settings screen frame: safe-area aware, a fixed header, then a scrolling column of sections capped at 640px with 20px gaps.",
|
|
1035
|
+
"useWhen": [
|
|
1036
|
+
"Settings, account and other screens made of grouped settings"
|
|
1037
|
+
],
|
|
1038
|
+
"slots": [
|
|
1039
|
+
{
|
|
1040
|
+
"name": "header",
|
|
1041
|
+
"description": "Fixed above the scroll, usually an AppBar with onBack."
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "children",
|
|
1045
|
+
"description": "SettingsSection cards, in display order."
|
|
1046
|
+
}
|
|
1047
|
+
],
|
|
1048
|
+
"figmaNodeId": "36:94",
|
|
1049
|
+
"storyId": "templates-settingstemplate--default",
|
|
1050
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=36-94"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "SplitLayout",
|
|
1054
|
+
"layer": "template",
|
|
1055
|
+
"description": "Master-detail frame: on wide screens (768px and up by default) an optional NavigationRail, a fixed-width list pane and a detail pane side by side; on narrow screens one pane at a time above an optional TabBar. `useSplitLayout()` returns `{ wide }` so the app can navigate on narrow screens instead of selecting.",
|
|
1056
|
+
"useWhen": [
|
|
1057
|
+
"A list whose selected item shows next to it on a tablet or web, and on its own screen on a phone",
|
|
1058
|
+
"An app's root layout that switches between a TabBar on phones and a NavigationRail on wide screens",
|
|
1059
|
+
"A list next to a full-bleed canvas on wide screens (detail = OverlayTemplate)"
|
|
1060
|
+
],
|
|
1061
|
+
"slots": [
|
|
1062
|
+
{
|
|
1063
|
+
"name": "list",
|
|
1064
|
+
"description": "The list or sidebar pane: ListSections, a SearchBar and a list, or a ListTemplate."
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "detail",
|
|
1068
|
+
"description": "The selected item's pane, e.g. a DetailTemplate or a OverlayTemplate."
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "emptyDetail",
|
|
1072
|
+
"description": "Wide screens, while nothing is selected: usually an EmptyState."
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "rail",
|
|
1076
|
+
"description": "Wide screens only: a NavigationRail."
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "tabBar",
|
|
1080
|
+
"description": "Narrow screens only: a TabBar."
|
|
1081
|
+
}
|
|
1082
|
+
],
|
|
1083
|
+
"figmaNodeId": "76:3",
|
|
1084
|
+
"storyId": "templates-splitlayout--default",
|
|
1085
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=76-3"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "VoiceTemplate",
|
|
1089
|
+
"layer": "template",
|
|
1090
|
+
"description": "Voice screen: safe-area aware column capped at 640px with the orb, error and caption centered and a row of controls at the bottom.",
|
|
1091
|
+
"useWhen": [
|
|
1092
|
+
"Full-screen voice or audio session screens"
|
|
1093
|
+
],
|
|
1094
|
+
"slots": [
|
|
1095
|
+
{
|
|
1096
|
+
"name": "header",
|
|
1097
|
+
"description": "Top bar, usually an AppBar."
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"name": "orb",
|
|
1101
|
+
"description": "The centerpiece, usually an Orb."
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"name": "error",
|
|
1105
|
+
"description": "Under the orb, usually an ErrorState."
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "caption",
|
|
1109
|
+
"description": "Under the orb and error, usually a LiveCaption."
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"name": "controls",
|
|
1113
|
+
"description": "Bottom row, usually ActionToggles."
|
|
1114
|
+
}
|
|
1115
|
+
],
|
|
1116
|
+
"figmaNodeId": "37:64",
|
|
1117
|
+
"storyId": "templates-voicetemplate--default",
|
|
1118
|
+
"figmaUrl": "https://www.figma.com/design/k0qh1vW73xp2JmZpaIYY6A?node-id=37-64"
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
}
|