@tempoxyz/ds 3.6.20261201041125 → 3.7.20261201043207

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.
@@ -36,7 +36,7 @@ Each file opens with its contents. Find a section with `rg -n '^## ' <file>`, an
36
36
  - [product/components/layout.md](product/components/layout.md) (91 KB): AppShell, Container, Frame, Grid, Inline, Inset, Separator, Stack, Surface.
37
37
  - [product/components/data-display.md](product/components/data-display.md) (164 KB): Accordion, AgentLogo, Avatar, Badge, BarChart, Code, GetStartedVisual, HeroVisual, IconTile, Kbd, ListGroup, Snippet, SplitBar, SuccessHero, Table, TempoLogo, VerificationCode, Visual.
38
38
  - [product/components/blockchain.md](product/components/blockchain.md) (107 KB): AddressCard, Amount, AssetChip, BadgedLogo, Hex, Identicon, NetworkLogo, Qr, SecretValue, Token, TokenLogo.
39
- - [marketing.md](marketing.md) (309 KB): The Marketing system.
39
+ - [marketing.md](marketing.md) (314 KB): The Marketing system.
40
40
  - [arsenal.md](arsenal.md) (266 KB): The Arsenal brand system.
41
41
 
42
42
  ## Rules
@@ -38,7 +38,7 @@ Each section below is one page of the documentation at ds.tehq.dev.
38
38
  - [Hero](#hero): Opens a marketing, index or answer page: its title, a subtitle and its actions.
39
39
  - [Lead Capture](#lead-capture): Opens a report's page with its title, summary, key figures and download form.
40
40
  - [Logo Wall](#logo-wall): Shows the companies Tempo was designed with, as a wall of logos on About.
41
- - [Media](#media): Shows a customer story's video as a poster above its text that opens it.
41
+ - [Media](#media): A 4:3 picture, or a video's poster that opens the video.
42
42
  - [Nav](#nav): Leads from every page to the site's sections, in a bar fixed at the top.
43
43
  - [Partners Index](#partners-index): Lists the partners or assets a page covers, as cards.
44
44
  - [Quote Band](#quote-band): Sets one customer's words large on a full-bleed band over a photo.
@@ -409,16 +409,16 @@ Links each level above a page.
409
409
 
410
410
  ### Overview
411
411
 
412
- A trail of links up through each level above a page, ending on the page itself. On tempo.xyz, every partners page below the directory leads its sidebar with one.
412
+ A trail of links up through each level above a page, ending on the page itself.
413
413
 
414
414
  ### Examples
415
415
 
416
416
  #### Default
417
417
 
418
- Pass a `Breadcrumbs.Item` with its `href` for each level above, top down, and mark the page's own item `current`, as on a partner's profile.
418
+ Pass a `Breadcrumbs.Item` with its `href` for each level above, and mark the page's own item `current`.
419
419
 
420
420
  ```tsx
421
- /** Demonstrates the Marketing breadcrumb trail on a partner's profile, two levels down. @module */
421
+ /** Demonstrates the Marketing breadcrumb trail on a page two levels below an index. @module */
422
422
  import { Breadcrumbs } from '@tempoxyz/ds/marketing'
423
423
 
424
424
  export function Demo() {
@@ -434,36 +434,16 @@ export function Demo() {
434
434
 
435
435
  [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Breadcrumbs/Default.tsx)
436
436
 
437
- #### One Level
438
-
439
- A category one level down takes one link before the page.
440
-
441
- ```tsx
442
- /** Demonstrates the Marketing breadcrumb trail on a category one level down. @module */
443
- import { Breadcrumbs } from '@tempoxyz/ds/marketing'
444
-
445
- export function Demo() {
446
- return (
447
- <Breadcrumbs>
448
- <Breadcrumbs.Item href="/partners">Partners</Breadcrumbs.Item>
449
- <Breadcrumbs.Item current>Ramps & FX</Breadcrumbs.Item>
450
- </Breadcrumbs>
451
- )
452
- }
453
- ```
454
-
455
- [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Breadcrumbs/OneLevel.tsx)
456
-
457
437
  #### Other Parents
458
438
 
459
- A page under more than one parent shows the trail through the parent the visitor came from. The page passes that parent as the last link.
439
+ A page listed under three parents, shown through one of them.
460
440
 
461
441
  ```tsx
462
- /** Demonstrates the trail of a page under more than one parent, which names the parent the visitor came from. @module */
442
+ /** Demonstrates the trail of a page listed under more than one parent, through the parent the visitor came from. @module */
463
443
  import { Breadcrumbs } from '@tempoxyz/ds/marketing'
464
444
 
465
- // Coinbase is listed under Wallets & custody, Exchanges and Tokenized assets. The page passes the
466
- // parent its visitor came from, here Exchanges, as the last link.
445
+ // Coinbase is listed under Wallets & custody, Exchanges and Tokenized assets, and the visitor came
446
+ // from Exchanges.
467
447
  export function Demo() {
468
448
  return (
469
449
  <Breadcrumbs>
@@ -491,31 +471,122 @@ import { Breadcrumbs } from '@tempoxyz/ds/marketing'
491
471
 
492
472
  #### When to Use
493
473
 
494
- * Lead a page below an index, above its title, such as a partner under Partners.
474
+ * Lead every page below an index, since a marketing page has no side menu that leads back up.
495
475
 
496
476
  #### When Not to Use
497
477
 
498
- * Leave a top-level page without a trail, since nothing sits above it.
478
+ * Leave a top-level page without a trail.
499
479
  * Use [Link](/marketing/components/link) for each page related to this one.
500
- * Use a step indicator for progress through a flow, since a trail shows only where a page sits.
501
480
 
502
- #### Order Crumbs Top Down
481
+ #### Place the Trail Above the Title
482
+
483
+ Put the trail first, directly above the title it leads to, wherever that title sits.
484
+
485
+ **Do:** The trail leads into the title.
503
486
 
504
- Start at the section's index, such as Partners, and step one level closer with each item.
487
+ ```tsx
488
+ /**
489
+ * Do example for "Place the Trail Above the Title" on the Marketing Breadcrumbs page.
490
+ * The trail leads into the title.
491
+ * @module
492
+ */
493
+ import { Mini } from '../../../demos/Marketing/Breadcrumbs/Mini.js'
494
+
495
+ /** Renders the static preview, which the guideline card shows inert. */
496
+ export function Demo() {
497
+ return <Mini title="below" trail={['Partners', 'Wallets & custody', 'Privy']} />
498
+ }
499
+ ```
505
500
 
506
- #### List Every Parent
501
+ **Don't:** Put the trail below the title, where it reads as part of the content.
507
502
 
508
- If a page sits under more than one parent, pass the parent the visitor came from as the last link, so the trail leads back the way they arrived.
503
+ ```tsx
504
+ /**
505
+ * Don't example for "Place the Trail Above the Title" on the Marketing Breadcrumbs page.
506
+ * The trail sits under the title, where it reads as part of the content.
507
+ * @module
508
+ */
509
+ import { Mini } from '../../../demos/Marketing/Breadcrumbs/Mini.js'
510
+
511
+ /** Renders the static preview, which the guideline card shows inert. */
512
+ export function Demo() {
513
+ return <Mini title="above" trail={['Partners', 'Wallets & custody', 'Privy']} />
514
+ }
515
+ ```
516
+
517
+ #### Lead Back the Way They Came
518
+
519
+ If a page sits under more than one parent, pass the parent the visitor came from as the last link, or its first parent by default. Each parent is a real level above the page, so the trail still follows the hierarchy, not the pages visited on the way.
520
+
521
+ **Do:** One parent leads back to the index.
522
+
523
+ ```tsx
524
+ /**
525
+ * Do example for "Lead Back the Way They Came" on the Marketing Breadcrumbs page.
526
+ * One parent leads back to the index.
527
+ * @module
528
+ */
529
+ import { Mini } from '../../../demos/Marketing/Breadcrumbs/Mini.js'
530
+
531
+ /** Renders the static preview, which the guideline card shows inert. */
532
+ export function Demo() {
533
+ return <Mini trail={['Index', 'Category B', 'Item']} />
534
+ }
535
+ ```
536
+
537
+ **Don't:** Chain every parent, which reads as a deeper hierarchy than the page has.
538
+
539
+ ```tsx
540
+ /**
541
+ * Don't example for "Lead Back the Way They Came" on the Marketing Breadcrumbs page.
542
+ * Every parent in one trail reads as a deeper hierarchy.
543
+ * @module
544
+ */
545
+ import { Mini } from '../../../demos/Marketing/Breadcrumbs/Mini.js'
546
+
547
+ /** Renders the static preview, which the guideline card shows inert. */
548
+ export function Demo() {
549
+ return <Mini trail={['Index', 'Category A', 'Category B', 'Item']} />
550
+ }
551
+ ```
509
552
 
510
553
  ### Content
511
554
 
512
555
  #### Use Each Page's Title
513
556
 
514
- Label each item with its page's title, such as Ramps & FX, and the `current` item with the page's own title.
557
+ Label each item with its page's full title, such as Wallets & custody. A label of 32 characters or fewer stays on one line, and the trail wraps between items, never inside a short label.
515
558
 
516
- **Do:** Write Wallets & custody, as its page is titled.
559
+ **Do:** The label matches its page's title.
517
560
 
518
- **Don't:** Write Wallets, a crumb cut short of its page's title.
561
+ ```tsx
562
+ /**
563
+ * Do example for "Use Each Page's Title" on the Marketing Breadcrumbs page.
564
+ * The label matches its page's title.
565
+ * @module
566
+ */
567
+ import { Mini } from '../../../demos/Marketing/Breadcrumbs/Mini.js'
568
+
569
+ /** Renders the static preview, which the guideline card shows inert. */
570
+ export function Demo() {
571
+ return <Mini trail={['Partners', 'Wallets & custody']} />
572
+ }
573
+ ```
574
+
575
+ **Don't:** Cut a label short of its page's title.
576
+
577
+ ```tsx
578
+ /**
579
+ * Don't example for "Use Each Page's Title" on the Marketing Breadcrumbs page.
580
+ * The label is cut short of its page's title.
581
+ * @module
582
+ */
583
+ import { Mini } from '../../../demos/Marketing/Breadcrumbs/Mini.js'
584
+
585
+ /** Renders the static preview, which the guideline card shows inert. */
586
+ export function Demo() {
587
+ return <Mini trail={['Partners', 'Wallets']} />
588
+ }
589
+ ```
519
590
 
520
591
  ### Accessibility
521
592
 
@@ -527,15 +598,15 @@ Label each item with its page's title, such as Ramps & FX, and the `current` ite
527
598
 
528
599
  [Link](/marketing/components/link)
529
600
 
530
- Use for a link on to another page.
601
+ Use for a link to a related page.
531
602
 
532
- [Symbol Tile](/marketing/components/symbol-tile)
603
+ [States](/marketing/foundations/states)
533
604
 
534
- Use for the partner's logo below the trail on its profile.
605
+ Covers hover, press, and focus for every part.
535
606
 
536
607
  [Provider](/marketing/templates/provider)
537
608
 
538
- Covers the partners pages that lead with a trail.
609
+ Covers the directory template, whose pages below its index lead with a trail.
539
610
 
540
611
  ## Button
541
612
 
@@ -5530,6 +5601,8 @@ import { Faq } from '@tempoxyz/ds/marketing'
5530
5601
 
5531
5602
  export const fill = true
5532
5603
 
5604
+ export const width = 'desktop'
5605
+
5533
5606
  export function Demo() {
5534
5607
  return (
5535
5608
  <Faq>
@@ -6370,30 +6443,36 @@ Covers the section the wall renders, and its tones.
6370
6443
 
6371
6444
  ## Media
6372
6445
 
6373
- Shows a customer story's video as a poster above its text that opens it.
6446
+ A 4:3 picture, or a video's poster that opens the video.
6374
6447
 
6375
6448
  ### Overview
6376
6449
 
6377
- A customer story's media at the top of its text: a 4:3 image, cropped to fill. Set `video`, and the image becomes the video's poster, with a Play button that opens the video in a full-viewport dialog. A pointer opens it anywhere on the poster.
6450
+ A 4:3 picture, cropped to fill, with the Marketing corner: 16px, and 24px from 768px. Set `video`, and the picture becomes the video's poster, with a Play button that opens the video in a full-viewport dialog.
6378
6451
 
6379
6452
  ### Examples
6380
6453
 
6381
6454
  #### Image
6382
6455
 
6383
- Set `src` and `alt` for an image, as on most customer stories. Resize the preview to see the corner step up at 768px.
6456
+ Set `src` and `alt` for a picture.
6384
6457
 
6385
6458
  ```tsx
6386
- /** Demonstrates a customer story's 4:3 image in a Marketing Media frame. @module */
6387
- import { Media } from '@tempoxyz/ds/marketing'
6459
+ /** Demonstrates a 4:3 picture in a Marketing Media frame. @module */
6460
+ import { Media, style } from '@tempoxyz/ds/marketing'
6461
+ import photo from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-people-do.jpg'
6388
6462
 
6389
6463
  export const fill = true
6390
6464
 
6391
- // A 4:3 gradient that stands in for a customer story's photo.
6392
- const photo =
6393
- "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'%3E%3Cdefs%3E%3ClinearGradient id='g' x2='1' y2='1'%3E%3Cstop stop-color='%236b7f99'/%3E%3Cstop offset='1' stop-color='%23a3866a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='4' height='3' fill='url(%23g)'/%3E%3C/svg%3E"
6394
-
6395
6465
  export function Demo() {
6396
- return <Media alt="Felix Pago" src={photo} />
6466
+ return (
6467
+ <div {...styles.frame()}>
6468
+ <Media alt="Teal and amber light, blurred by motion" src={photo} />
6469
+ </div>
6470
+ )
6471
+ }
6472
+
6473
+ namespace styles {
6474
+ // A picture in the frame, not the frame itself.
6475
+ export const frame = style({ marginInline: 'auto', maxWidth: '480', width: 'full' })
6397
6476
  }
6398
6477
  ```
6399
6478
 
@@ -6401,21 +6480,32 @@ export function Demo() {
6401
6480
 
6402
6481
  #### Video
6403
6482
 
6404
- Add `video`, and Play opens it in a dialog that starts it with sound. This preview uses an empty video source to demonstrate the dialog, without a playable video asset.
6483
+ Add `video`, and Play opens it in a dialog that starts it with sound.
6405
6484
 
6406
6485
  ```tsx
6407
6486
  /** Demonstrates a video's poster in a Marketing Media frame, whose Play button opens the video in a dialog. @module */
6408
- import { Media } from '@tempoxyz/ds/marketing'
6487
+ import { Media, style } from '@tempoxyz/ds/marketing'
6488
+ import poster from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-refs-do.jpg'
6409
6489
 
6410
6490
  export const fill = true
6411
6491
 
6412
- // A 4:3 gradient that stands in for the video's poster.
6413
- const poster =
6414
- "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'%3E%3Cdefs%3E%3ClinearGradient id='g' x2='1' y2='1'%3E%3Cstop stop-color='%236b7f99'/%3E%3Cstop offset='1' stop-color='%23a3866a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='4' height='3' fill='url(%23g)'/%3E%3C/svg%3E"
6415
-
6416
6492
  export function Demo() {
6417
- // The empty source keeps the demo free of a video file, so the dialog opens on an empty player.
6418
- return <Media alt="DoorDash" src={poster} video="data:video/mp4;base64," />
6493
+ return (
6494
+ <div {...styles.frame()}>
6495
+ {/* The empty source keeps the demo free of a video file, so the dialog opens on an empty player. */}
6496
+ <Media
6497
+ alt="City lights at dusk, blurred by motion"
6498
+ name="Product tour"
6499
+ src={poster}
6500
+ video="data:video/mp4;base64,"
6501
+ />
6502
+ </div>
6503
+ )
6504
+ }
6505
+
6506
+ namespace styles {
6507
+ // A poster in the frame, not the frame itself.
6508
+ export const frame = style({ marginInline: 'auto', maxWidth: '480', width: 'full' })
6419
6509
  }
6420
6510
  ```
6421
6511
 
@@ -6426,61 +6516,97 @@ export function Demo() {
6426
6516
  ```tsx
6427
6517
  import { Media } from '@tempoxyz/ds/marketing'
6428
6518
 
6429
- <Media />
6519
+ <Media
6520
+ alt="Two people on a stage"
6521
+ captions="/keynote.vtt"
6522
+ name="Keynote"
6523
+ src="/keynote-poster.jpg"
6524
+ video="/keynote.mp4"
6525
+ />
6430
6526
  ```
6431
6527
 
6432
6528
  ### Guidelines
6433
6529
 
6434
6530
  #### When to Use
6435
6531
 
6436
- * Open a customer story's text with its video or image.
6532
+ * Open a section or story with a picture, or a video someone can play.
6437
6533
 
6438
6534
  #### When Not to Use
6439
6535
 
6440
- * Use [Article Body](/marketing/sections/article-body) for an image inside a story's text.
6441
- * Use [Card](/marketing/sections/card) for a story card's image, which the card draws itself.
6536
+ * Use [Article Body](/marketing/sections/article-body) for a picture inside an article's text.
6537
+ * Use [Card](/marketing/sections/card) for a card's picture, which the card crops itself.
6538
+
6539
+ #### Crop Pictures to 4:3
6540
+
6541
+ The frame crops to fill, so a picture of another ratio loses its edges.
6442
6542
 
6443
- #### Crop Posters to 4:3
6543
+ **Do:** Crop the picture to 4:3 yourself, so the whole scene shows.
6444
6544
 
6445
- Use the story's own art at 4:3. The frame crops to fill, so other ratios lose their edges.
6545
+ ```tsx
6546
+ <span style={{ display: 'block', inlineSize: 200 }}>
6547
+ <Media alt="A figure under the sun, whole" loading="eager" src={whole} />
6548
+ </span>
6549
+ ```
6550
+
6551
+ **Don't:** Pass a 16:9 picture, which loses the figure and the sun at its edges.
6552
+
6553
+ ```tsx
6554
+ <span style={{ display: 'grid', placeItems: 'center' }}>
6555
+ <img
6556
+ alt=""
6557
+ src={wide}
6558
+ style={{ borderRadius: 16, gridArea: '1 / 1', inlineSize: 267, opacity: 0.3 }}
6559
+ />
6560
+ <span style={{ display: 'block', gridArea: '1 / 1', inlineSize: 200 }}>
6561
+ <Media alt="A figure under the sun, both cut at the edges" loading="eager" src={wide} />
6562
+ </span>
6563
+ </span>
6564
+ ```
6446
6565
 
6447
6566
  #### Give Every Video a Poster
6448
6567
 
6449
- Pick a poster that shows who speaks. It stands in until the video opens.
6568
+ Pick a poster that shows what the video is about.
6569
+
6570
+ #### Caption Every Video with Speech
6571
+
6572
+ Set `captions` to the video's WebVTT file. The video shows the captions by default, and its controls can turn them off.
6450
6573
 
6451
6574
  #### Load Images Through Your Framework
6452
6575
 
6453
- Pass `render` for an optimized image component, such as a Next.js image with its width and height.
6576
+ Pass `render` for an optimized image component, such as a Next.js image with its width and height. Media's own image loads lazily, so set `loading="eager"` and `fetchPriority="high"` when it's the first image on the screen.
6454
6577
 
6455
6578
  ### Content
6456
6579
 
6457
- #### Name the Company as the Story Does
6580
+ #### Name What It Shows
6458
6581
 
6459
- Set `alt` to the company the story names, such as DoorDash. Play and the dialog take it as their name unless `name` sets another. Pass `messages` to translate the labels.
6582
+ Set `alt` to what the picture shows. Play reads `Play {name} video`, so set `name` when the alt text is longer than a short name, such as Keynote. Pass `messages` to translate the labels.
6460
6583
 
6461
6584
  ### Accessibility
6462
6585
 
6463
- The current `video` API does not accept caption tracks. For video with speech, use an accessible alternative player with captions until caption tracks are supported.
6464
-
6465
6586
  * **Image (img):** Without a video, an image whose alt text is `alt`.
6466
6587
  * **Play (button):** A button named Play, then the name, then video. A pointer opens it anywhere on the poster.
6467
6588
  * **Dialog (dialog):** A modal dialog that opens with focus on Close. The page behind it does not scroll.
6468
6589
  * **Close (Escape):** Escape or Close shuts the dialog and returns focus to Play.
6590
+ * **Reduced Motion (prefers-reduced-motion):** The dialog fades in and out, and the player keeps its size instead of scaling in.
6469
6591
 
6470
6592
  ### Related
6471
6593
 
6594
+ [Hero](/marketing/sections/hero)
6595
+
6596
+ Use for a page's opening, whose `media` can hold Media.
6597
+
6598
+ [Card](/marketing/sections/card)
6599
+
6600
+ Use for a linked card, whose `media` can hold a picture.
6601
+
6472
6602
  [Article Hero](/marketing/sections/article-hero)
6473
6603
 
6474
- Use for the story opening above it.
6604
+ Use for an article's opening, whose `media` can hold Media.
6475
6605
 
6476
6606
  [Button](/marketing/components/button)
6477
6607
 
6478
6608
  Covers Play and Close, in the `playback` and `carousel` layouts.
6479
6609
 
6480
- [Customer Story](/marketing/templates/customer-story)
6481
-
6482
- Covers the stories it opens, and their video fields.
6483
-
6484
6610
  ## Nav
6485
6611
 
6486
6612
  Leads from every page to the site's sections, in a bar fixed at the top.
@@ -7245,29 +7371,29 @@ Tells one feature through a large picture, with its steps, cards or tools.
7245
7371
 
7246
7372
  ### Overview
7247
7373
 
7248
- One feature told through a large picture. A showcase renders a [Section](/marketing/sections/section) named by its heading, over the art and its items. The art comes in as a slot, so a page keeps its own canvas or animation.
7374
+ A showcase renders a [Section](/marketing/sections/section) named by its heading, over the art and its items. The art comes in as a slot, so a page keeps its own canvas or animation. Every variant sets it on a grey plate with `xl` corners.
7249
7375
 
7250
- Each template names the forms it takes, and you pick one by the shape of the content.
7376
+ Set it on a `page`, `white` or `grey` section. Its items keep dark text, so it has no inverse tone.
7251
7377
 
7252
7378
  ### Examples
7253
7379
 
7254
- #### Default
7380
+ #### Split
7255
7381
 
7256
- Home's agentic payments: three tools in a column beside the art. Resize the preview to see the items move under the art below 1024px.
7382
+ Two tools in a column beside the art from 1024px, and under the art below 1024px.
7257
7383
 
7258
7384
  ```tsx
7259
- /** Demonstrates a Marketing showcase: two tools in a column beside the feature's art. @module */
7260
- import { Link, Showcase, style } from '@tempoxyz/ds/marketing'
7385
+ /** Demonstrates a split Marketing showcase: two tools in a column beside the feature's art. @module */
7386
+ import { Link, Showcase } from '@tempoxyz/ds/marketing'
7387
+ import { Art } from './Art.js'
7261
7388
 
7262
7389
  export const fill = true
7263
7390
 
7391
+ // Split sets the items beside the art from 1024px, so the example opens at Desktop.
7392
+ export const width = 'desktop'
7393
+
7264
7394
  export function Demo() {
7265
7395
  return (
7266
- <Showcase
7267
- art={<div {...styles.art()} />}
7268
- eyebrow="Agentic payments"
7269
- title="Payments that work for AI agents"
7270
- >
7396
+ <Showcase art={<Art />} eyebrow="Agentic payments" title="Payments that work for AI agents">
7271
7397
  <Showcase.Item
7272
7398
  action={
7273
7399
  <Link href="https://mpp.dev" icon="external" tone="secondary">
@@ -7291,26 +7417,79 @@ export function Demo() {
7291
7417
  </Showcase>
7292
7418
  )
7293
7419
  }
7420
+ ```
7294
7421
 
7295
- namespace styles {
7296
- // Stands in for the feature's art.
7297
- export const art = style({
7298
- aspectRatio: '16 / 9 !custom',
7299
- backgroundColor: '#EDEDED !custom',
7300
- borderRadius: 'xl',
7301
- })
7422
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Showcase/Default.tsx)
7423
+
7424
+ #### Stacked
7425
+
7426
+ Three steps in a row under the art from 768px, with a `description` and an `action` under the heading.
7427
+
7428
+ ```tsx
7429
+ /** Demonstrates a stacked Marketing showcase: three steps in a row under the art, with a description and an action. @module */
7430
+ import { Button, Showcase } from '@tempoxyz/ds/marketing'
7431
+ import { Art } from './Art.js'
7432
+
7433
+ export const fill = true
7434
+
7435
+ export function Demo() {
7436
+ return (
7437
+ <Showcase
7438
+ action={<Button.Link href="/contact">Talk with our team</Button.Link>}
7439
+ art={<Art />}
7440
+ description="Fund in one currency and pay out in another, in one flow."
7441
+ eyebrow="How it works"
7442
+ title="Payouts that settle in seconds"
7443
+ variant="stacked"
7444
+ >
7445
+ <Showcase.Item title="Fund">Send stablecoins or local currency to one account.</Showcase.Item>
7446
+ <Showcase.Item title="Convert">
7447
+ Swap into the payout currency at the quoted rate.
7448
+ </Showcase.Item>
7449
+ <Showcase.Item title="Pay out">Settle to each recipient's bank or wallet.</Showcase.Item>
7450
+ </Showcase>
7451
+ )
7302
7452
  }
7303
7453
  ```
7304
7454
 
7305
- [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Showcase/Default.tsx)
7455
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Showcase/Stacked.tsx)
7456
+
7457
+ #### Contained
7458
+
7459
+ One picture with its heading inside the plate, under the art, from 1024px.
7460
+
7461
+ ```tsx
7462
+ /** Demonstrates a contained Marketing showcase: one picture with its heading inside the plate. @module */
7463
+ import { Showcase } from '@tempoxyz/ds/marketing'
7464
+ import { Art } from './Art.js'
7465
+
7466
+ export const fill = true
7467
+
7468
+ // Contained plates the heading with the art from 1024px, so the example opens at Desktop.
7469
+ export const width = 'desktop'
7470
+
7471
+ export function Demo() {
7472
+ return (
7473
+ <Showcase
7474
+ art={<Art />}
7475
+ description="Local funding and payouts in one flow."
7476
+ eyebrow="In practice"
7477
+ title="One account for every corridor"
7478
+ variant="contained"
7479
+ />
7480
+ )
7481
+ }
7482
+ ```
7483
+
7484
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Showcase/Contained.tsx)
7306
7485
 
7307
7486
  ### Anatomy
7308
7487
 
7309
7488
  ```tsx
7310
7489
  import { Showcase } from '@tempoxyz/ds/marketing'
7311
7490
 
7312
- <Showcase>
7313
- <Showcase.Item />
7491
+ <Showcase art={<Art />} title="Payments that work for AI agents">
7492
+ <Showcase.Item title="MPP" />
7314
7493
  </Showcase>
7315
7494
  ```
7316
7495
 
@@ -7318,24 +7497,53 @@ import { Showcase } from '@tempoxyz/ds/marketing'
7318
7497
 
7319
7498
  #### When to Use
7320
7499
 
7321
- * Show how a product works, as stages, sides, or options, or as one mechanism whole.
7322
- * Show a solution in practice: its flow, its tools, or its use cases, told in pictures.
7500
+ * Tell one feature through a picture large enough to carry the section, with short items about it.
7323
7501
 
7324
7502
  #### When Not to Use
7325
7503
 
7326
7504
  * Use a [Card](/marketing/sections/card) feature set for benefits side by side.
7327
- * Use [Steps](/marketing/sections/steps) for a sequence the business goes through with the team.
7505
+ * Use [Steps](/marketing/sections/steps) for an ordered sequence of steps.
7328
7506
  * Use [Feature Accordion](/marketing/sections/feature-accordion) for capabilities told one at a time.
7329
7507
 
7330
- #### Set the Layout by the Content's Shape
7508
+ #### Set the Variant by the Content's Shape
7509
+
7510
+ Use `split` for two or three tools beside one picture, `stacked` for three or four steps in a row, and `contained` for one picture whose heading sits inside it.
7511
+
7512
+ **Do:** Set four steps in a row under the art with `stacked`.
7513
+
7514
+ ```tsx
7515
+ <ShowcaseSketch kind="stacked" />
7516
+ ```
7517
+
7518
+ **Don't:** Squeeze the same four steps into the column beside the art with `split`.
7331
7519
 
7332
- * **Split (split):** The default: items in a column beside the art from 1024px.
7333
- * **Stacked (stacked):** Items in a row under the art, such as three steps.
7334
- * **Contained (contained):** The heading inside the art's plate, under the art, from 1024px.
7520
+ ```tsx
7521
+ <ShowcaseSketch kind="split" />
7522
+ ```
7335
7523
 
7336
7524
  #### Give Each Item One Line & One Link
7337
7525
 
7338
- Pass each step, card, or tool as a `Showcase.Item` with one line, and its link as a [Link](/marketing/components/link) in `action`. A page with a pending picture isn't ready to ship.
7526
+ Pass each step, card or tool as a `Showcase.Item` with a one-sentence line, and its link as a [Link](/marketing/components/link) in `action`.
7527
+
7528
+ **Do:** Give an item one line and one link.
7529
+
7530
+ ```tsx
7531
+ <ShowcaseSketch kind="item" />
7532
+ ```
7533
+
7534
+ **Don't:** Give an item a paragraph and two links.
7535
+
7536
+ ```tsx
7537
+ <ShowcaseSketch kind="paragraph" />
7538
+ ```
7539
+
7540
+ ### Content
7541
+
7542
+ * **Eyebrow:** A few words that name the section, such as Agentic payments.
7543
+ * **Title:** One line that says what the feature does.
7544
+ * **Items:** Up to four.
7545
+ * **Item title:** One or two words, such as a product or step name.
7546
+ * **Item link:** Explore and the item's name, such as Explore MPP.
7339
7547
 
7340
7548
  ### Accessibility
7341
7549
 
@@ -7345,21 +7553,26 @@ Pass each step, card, or tool as a `Showcase.Item` with one line, and its link a
7345
7553
  #### Your Responsibilities
7346
7554
 
7347
7555
  * **Describe or Hide the Art:** Give meaningful art its text alternative, and hide decorative art from screen readers.
7556
+ * **Reduced Motion (prefers-reduced-motion):** The part holds still. Under reduced motion, stop moving art or hold its last frame.
7348
7557
 
7349
7558
  ### Related
7350
7559
 
7351
- [Product](/marketing/templates/product)
7352
-
7353
- Covers a product's showcases and the form each takes.
7354
-
7355
- [Solution](/marketing/templates/solution)
7560
+ [Section](/marketing/sections/section)
7356
7561
 
7357
- Covers the In practice showcase and its forms.
7562
+ Covers the section a showcase renders and its tones.
7358
7563
 
7359
7564
  [Section Heading](/marketing/sections/section-heading)
7360
7565
 
7361
7566
  Covers the heading, and the action under it.
7362
7567
 
7568
+ [Link](/marketing/components/link)
7569
+
7570
+ Covers each item's link in `action`.
7571
+
7572
+ [Steps](/marketing/sections/steps)
7573
+
7574
+ Covers an ordered sequence of steps, shown without a large picture.
7575
+
7363
7576
  ## Sources
7364
7577
 
7365
7578
  Lists every page and file a generated answer read, each as a link.