Skip to content

The Open Standard for Generative UI

Home page: product artwork, rebuilt compatibility diagram, shader stages (#1206)

Parikshit Deshmukh8d33839a85ac
diff --git a/docs/app/(home)/cloud/CloudCodeBlock.module.css b/docs/app/(home)/cloud/CloudCodeBlock.module.css
index f0570a63f..506725d05 100644
--- a/docs/app/(home)/cloud/CloudCodeBlock.module.css
+++ b/docs/app/(home)/cloud/CloudCodeBlock.module.css
@@ -47,7 +47,20 @@
}
@media (max-width: 767px) {
+ /* Opt-in, off by default. A host that sets this renders the panel at its
+ desktop measure and scales the whole box down: zoom shrinks the layout box
+ too, so a percentage width resolves in the panel's own scaled space and the
+ panel keeps the proportions it has on a wide screen instead of clipping
+ lines at phone width. */
+ .panel {
+ zoom: var(--cloud-code-mobile-zoom, 1);
+ }
+
.code {
+ /* Opt-in, off by default: a host that zooms the panel down can also pull the
+ code's own padding in, which the zoom would otherwise leave looking
+ generous relative to the shrunken type. */
+ padding-block: var(--cloud-code-mobile-padding-block, 48px);
scrollbar-width: none;
}
diff --git a/docs/app/(home)/cloud/CloudIntegrationSection.module.css b/docs/app/(home)/cloud/CloudIntegrationSection.module.css
index 6fc659e93..08e49f84a 100644
--- a/docs/app/(home)/cloud/CloudIntegrationSection.module.css
+++ b/docs/app/(home)/cloud/CloudIntegrationSection.module.css
@@ -319,10 +319,28 @@
width: calc(100% - 32px);
}
+ /* A host that sets this to `contents` drops .content as a box, so its two
+ children join .inner's column and the orders below can put the code between
+ them. Left as `flex` the orders are inert: .intro and .stepper are ordered
+ inside .content in the sequence they already appear in, and .codeColumn is
+ the second of .inner's two items either way. */
.content {
+ display: var(--cloud-setup-content-display, flex);
gap: 32px;
}
+ .intro {
+ order: 1;
+ }
+
+ .codeColumn {
+ order: 2;
+ }
+
+ .stepper {
+ order: 3;
+ }
+
.stepper[data-interactive="true"][data-step-count="2"] {
height: 248px;
}
diff --git a/docs/app/(home)/cloud/observability/CloudCtaSection.module.css b/docs/app/(home)/cloud/observability/CloudCtaSection.module.css
index 978971598..a6d0425ff 100644
--- a/docs/app/(home)/cloud/observability/CloudCtaSection.module.css
+++ b/docs/app/(home)/cloud/observability/CloudCtaSection.module.css
@@ -1,52 +1,57 @@
+/* No surface of its own: the CTA sits straight on the page. The FAQ band below
+ brings its own top gap, so this only tops that up rather than stating the
+ full measure again. */
.section {
width: 100%;
- padding: var(--observability-section-gap, 160px) var(--home-section-padding-inline) 0;
- background: var(--openui-foreground);
+ padding: var(--observability-section-gap, 160px) var(--home-section-padding-inline)
+ calc(var(--observability-section-gap, 160px) / 2);
}
+/* One centred column, read top to bottom: the ask, the field that answers it,
+ then the terms. A two-column split put the title and the field on opposite
+ sides of 1200px, with the eye crossing the page between reading and acting. */
.inner {
display: flex;
+ flex-direction: column;
align-items: center;
- justify-content: space-between;
- gap: 48px;
+ gap: 32px;
width: 100%;
max-width: 1200px;
margin-inline: auto;
+ text-align: center;
}
.copy {
- flex: 1 1 auto;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
min-width: 0;
}
-.note {
- margin: 0.75rem 0 0;
- font-size: 1.0625rem;
- line-height: 1.5;
- color: var(--openui-text-neutral-secondary);
-}
-
-.pricingLink {
- color: var(--openui-text-neutral-primary);
- text-decoration: none;
- border-bottom: 1px solid currentColor;
- padding-bottom: 1px;
-}
+/* The offer line above the title. inline-flex rather than a run of text, so the
+ mark sits on the line's centre instead of its baseline; the gap replaces the
+ space flex layout drops between the children.
-.pricingLink:hover {
- opacity: 0.7;
-}
-
-.accessNote {
- margin: 0;
- color: var(--openui-text-neutral-secondary);
+ Green is the same #049156 the trace diagram's pass marks and the hero's own
+ offer line use. Centred by the column, so it needs no alignment of its own. */
+.offer {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ margin: 0 0 12px;
+ color: #049156;
font-size: 0.875rem;
+ font-weight: 600;
line-height: 1.5;
}
-.accessNote strong {
- color: var(--openui-text-neutral-primary);
- font-weight: 600;
+[data-theme="dark"] .offer {
+ /* The solid reads as near-black on the dark ground, so the line lifts. */
+ color: #3ecf8e;
+}
+
+.offerIcon {
+ flex: none;
}
.title {
@@ -66,45 +71,13 @@
display: flex;
flex: 0 0 auto;
flex-direction: column;
- align-items: flex-start;
- gap: 12px;
-}
-
-.formTitle {
- margin: 0;
- color: var(--openui-text-neutral-primary);
- font-family: var(--home-font-display);
- font-size: var(--home-heading-size);
- font-weight: var(--home-heading-weight);
- line-height: var(--home-heading-leading);
- letter-spacing: var(--home-heading-tracking);
-}
-
-.separator {
- width: 100%;
- max-width: 1200px;
- height: 1px;
- margin: var(--observability-section-gap, 160px) auto 0;
- background: var(--home-hairline);
-}
-
-@media (max-width: 1023px) {
- .inner {
- flex-direction: column;
- align-items: flex-start;
- gap: 32px;
- }
+ align-items: center;
+ /* The only gap in here, between the field and the link below it. */
+ gap: 20px;
}
@media (max-width: 767px) {
- .inner {
- align-items: center;
- text-align: center;
- }
-
.actions {
- flex-direction: column;
- align-items: center;
width: 100%;
max-width: 320px;
}
diff --git a/docs/app/(home)/cloud/observability/CloudCtaSection.tsx b/docs/app/(home)/cloud/observability/CloudCtaSection.tsx
index 6c17f1185..ad5b9c435 100644
--- a/docs/app/(home)/cloud/observability/CloudCtaSection.tsx
+++ b/docs/app/(home)/cloud/observability/CloudCtaSection.tsx
@@ -1,3 +1,6 @@
+/* ssr entry: this section is a server component. */
+import { Button } from "@/components/button";
+import { Gift } from "@phosphor-icons/react/dist/ssr";
import styles from "./CloudCtaSection.module.css";
import { EarlyAccessForm } from "./EarlyAccessForm";
@@ -6,25 +9,24 @@ export function CloudCtaSection() {
<section className={styles.section} aria-labelledby="cloud-cta-title">
<div className={styles.inner}>
<div className={styles.copy}>
+ {/* Above the title rather than under the field: the offer is the
+ reason to read the line below it, not a footnote to the form. */}
+ <p className={styles.offer}>
+ <Gift aria-hidden="true" className={styles.offerIcon} size={15} weight="bold" />
+ Free during early access.
+ </p>
<h2 id="cloud-cta-title" className={styles.title}>
See your agent through your users’ eyes
</h2>
- <p className={styles.note}>See what works, what’s missing, and what to build next.</p>
</div>
{/* The same capture as the hero, so the page opens and closes on the
one action. */}
<div className={styles.actions}>
- <h3 className={styles.formTitle}>Join waitlist</h3>
<EarlyAccessForm />
- <p className={styles.accessNote}>
- <strong>Free during early access.</strong>{" "}
- <a className={styles.pricingLink} href="/pricing">
- View pricing
- </a>
- </p>
+ {/* The same tertiary button the trust section uses for its own link. */}
+ <Button href="/pricing" text="View pricing" variant="tertiary" />
</div>
</div>
- <div className={styles.separator} aria-hidden="true" />
</section>
);
}
diff --git a/docs/app/(home)/cloud/observability/FaqSection.tsx b/docs/app/(home)/cloud/observability/FaqSection.tsx
index 16e74cce1..fc39d35bc 100644
--- a/docs/app/(home)/cloud/observability/FaqSection.tsx
+++ b/docs/app/(home)/cloud/observability/FaqSection.tsx
@@ -54,7 +54,9 @@ export function FaqSection() {
firstOpen
contact={
<>
- Have another question? Join our{" "}
+ Have another question?
+ <br />
+ Join our{" "}
<a
className={styles.noteLink}
href="https://discord.com/invite/Pbv5PsqUSv"
diff --git a/docs/app/(home)/cloud/observability/FeaturesSection.module.css b/docs/app/(home)/cloud/observability/FeaturesSection.module.css
index 54f23b8b3..6146f6bf7 100644
--- a/docs/app/(home)/cloud/observability/FeaturesSection.module.css
+++ b/docs/app/(home)/cloud/observability/FeaturesSection.module.css
@@ -34,20 +34,46 @@
width: 100%;
}
-/* Shrinks below the 1200px design width instead of overflowing; the gap above
- is the floor, space-between distributes anything left over. */
-.featureImage {
+/* The stage: shader behind, artwork on top. Shrinks below the 1200px design
+ width instead of overflowing; the gap above is the floor, space-between
+ distributes anything left over.
+
+ The stroke is the shader's own base colour, so the edge is the same shade as
+ the fill inside it. Keep in step with TONES in FadedDitherCanvas.tsx. */
+.shot {
+ --shot-stroke: #f8f8f8;
+
+ position: relative;
flex: 0 1 720px;
align-self: center;
min-width: 0;
- width: auto;
- height: auto;
aspect-ratio: 720 / 400;
+ overflow: hidden;
+ border: 1px solid var(--shot-stroke);
border-radius: 24px;
}
+[data-theme="dark"] .shot {
+ --shot-stroke: #0e0e0e;
+}
+
+.shotShader {
+ position: absolute;
+ z-index: 0;
+ inset: 0;
+}
+
+.shotShader > * {
+ width: 100%;
+ height: 100%;
+}
+
.featureImage {
+ position: relative;
+ z-index: 1;
display: block;
+ width: 100%;
+ height: 100%;
object-fit: cover;
}
@@ -140,10 +166,9 @@
gap: 32px;
}
- .featureImage {
+ .shot {
flex: 0 0 auto;
width: 100%;
- height: auto;
aspect-ratio: 720 / 400;
}
@@ -167,26 +192,40 @@
width: calc(100% - 32px);
}
- .featureImage {
- order: -1;
- aspect-ratio: 4 / 3;
+ /* One gap governs both sides of the shot, so heading-to-image and
+ image-to-description stay equal by construction. */
+ .card {
+ gap: 20px;
+ }
+
+ /* The artwork's own ratio, the same as desktop. A 4/3 stage cut roughly a
+ quarter of the width off every 1.8 screenshot, straight through the UI, and
+ the per-image object-position offsets below it were chasing that crop
+ rather than removing it. */
+ .shot {
+ aspect-ratio: 720 / 400;
border-radius: 12px;
- object-fit: cover;
}
- .featureImageTriage {
- /* The review drawer is the triage story; keep it readable rather than
- shrinking the entire 1440px console into a phone-width slot. */
- object-position: 72% center;
+ /* Name the feature, show it, then explain it. display:contents drops .content
+ as a box so its two halves join the card's column and the shot can be
+ ordered between them. The orders are absolute rather than relative, so
+ every card reads the same way whichever side its art takes on desktop. */
+ .content {
+ display: contents;
}
- .featureImageEvals {
- /* Keeps the selected case and its run history in the crop. */
- object-position: 58% center;
+ .headingGroup {
+ order: 1;
}
- .content {
- gap: 20px;
+ .shot,
+ .shotPlaceholder {
+ order: 2;
+ }
+
+ .bodyGroup {
+ order: 3;
}
}
diff --git a/docs/app/(home)/cloud/observability/FeaturesSection.tsx b/docs/app/(home)/cloud/observability/FeaturesSection.tsx
index 8f456ad3d..0ad4253e7 100644
--- a/docs/app/(home)/cloud/observability/FeaturesSection.tsx
+++ b/docs/app/(home)/cloud/observability/FeaturesSection.tsx
@@ -1,5 +1,6 @@
import Image from "next/image";
import type { ReactNode } from "react";
+import { FadedDither } from "../../components/FadedDither/FadedDither";
import { SectionHeader } from "../../components/SectionHeader/SectionHeader";
import styles from "./FeaturesSection.module.css";
@@ -54,7 +55,12 @@ function FeatureShot({ shot, alt }: { shot?: string; alt: string }) {
const imageHeight = shot === "session-replay" ? 1804 : 1600;
return (
- <>
+ /* Shader behind, artwork on top, the same three-layer stage the home page's
+ product bands use. The shots carry a transparent margin, so the texture
+ reads around them. band="light" because these cards sit straight on the
+ page, which is white on a light theme and black on a dark one. */
+ <div className={styles.shot}>
+ <FadedDither band="light" className={styles.shotShader} />
<Image
className={`${styles.featureImage} ${styles.featureImageLight} ${focalClass}`.trim()}
src={`/openui-observability/${shot}-light.webp`}
@@ -76,7 +82,7 @@ function FeatureShot({ shot, alt }: { shot?: string; alt: string }) {
unoptimized
sizes="(max-width: 767px) calc(100vw - 32px), 720px"
/>
- </>
+ </div>
);
}
@@ -90,20 +96,21 @@ type Feature = {
};
/* One loop, in order: see it, find the ones worth seeing, mark what is wrong,
- stop it recurring. Read as four steps rather than four capabilities, so each
- one hands to the next and the last leaves the product entirely.
+ stop it recurring, then decide what to build next. Read as steps rather than
+ capabilities, so each one hands to the next.
- Timeline folded into step one — following the journey is part of seeing what
- the user saw, not a separate screen. Insights folded into step two as a single
- clause: the demand signal comes from the same view you triage in, and giving
- it its own step would break the loop. */
+ Timeline is folded into step one, since following the journey is part of
+ seeing what the user saw rather than a separate screen. Insights used to be
+ folded into Triage on the same reasoning, but the two answer different
+ questions: Triage is which session to open, Insights is what recurs across
+ all of them, so it closes the loop instead of sitting inside step two. */
const FEATURES: Feature[] = [
{
title: "Session replay",
shot: "session-replay",
headline: (
<>
- See every
+ Understand every
<br />
user session
</>
@@ -115,9 +122,9 @@ const FEATURES: Feature[] = [
shot: "triage-figma",
headline: (
<>
- Find sessions
+ Discover sessions
<br />
- worth opening
+ worth investigating
</>
),
description:
@@ -147,6 +154,18 @@ const FEATURES: Feature[] = [
),
description: "Turn production failures into evals that catch regressions before release.",
},
+ {
+ title: "Insights",
+ shot: "insights",
+ headline: (
+ <>
+ Discover what to
+ <br />
+ build next
+ </>
+ ),
+ description: "Aggregate demand across every session to see which needs recur and how often.",
+ },
];
export function FeaturesSection() {
@@ -156,7 +175,7 @@ export function FeaturesSection() {
<SectionHeader
titleId="observability-features"
title="Product analytics for AI agents"
- subtitle="not just traces"
+ subtitle="that goes beyond traces"
caption={
<>
Connect each response to what users saw, <br className={styles.captionBreak} />
diff --git a/docs/app/(home)/cloud/observability/TraceGapDiagram.module.css b/docs/app/(home)/cloud/observability/TraceGapDiagram.module.css
index 35055d220..a5b8cb39e 100644
--- a/docs/app/(home)/cloud/observability/TraceGapDiagram.module.css
+++ b/docs/app/(home)/cloud/observability/TraceGapDiagram.module.css
@@ -1,348 +1,212 @@
+/* One card split down the middle, rather than two cards with a gap between
+ them: the two sides are halves of a single argument, and a shared edge says
+ so where two separate cards said they were separate things. Plain text
+ inside, since the contrast between the halves is the whole diagram. */
.diagram {
- --trace-surface: color-mix(in srgb, var(--openui-text-neutral-primary) 4%, transparent);
- --trace-surface-strong: color-mix(in srgb, var(--openui-text-neutral-primary) 6%, transparent);
- --trace-border: color-mix(in srgb, var(--openui-text-neutral-primary) 10%, transparent);
+ /* Light: a white card lifted off the page by an edge and a shadow. Dark
+ inverts to a tint of the ground with neither, since a shadow on black shows
+ nothing and an edge there only fences the card in. */
+ --trace-surface: var(--openui-foreground);
+ --trace-stroke: rgba(10, 10, 10, 0.08);
+ --trace-shadow: var(--home-shadow-card);
+ /* The split between the halves. Lighter than the row rules inside each half:
+ it separates two columns that already read as separate, so it does not need
+ to announce itself. */
+ --trace-divider: color-mix(in srgb, var(--openui-text-neutral-primary) 5%, transparent);
- margin: 0;
- color: var(--openui-text-neutral-primary);
- font-family: var(--home-font-text);
- font-size: var(--home-body-size);
- line-height: var(--home-body-leading);
-}
-
-.conversation {
display: grid;
- grid-template-columns: repeat(3, minmax(0, 1fr));
- gap: 40px;
- margin: 0;
- padding: 0;
- list-style: none;
-}
-
-.message {
- position: relative;
- display: flex;
- align-items: center;
- gap: 12px;
- min-width: 0;
-}
-
-.avatar {
- display: flex;
- flex-shrink: 0;
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
+ align-items: stretch;
+ /* The halves square off against the rounded corners, so the card clips them. */
overflow: hidden;
- align-items: center;
- justify-content: center;
- width: 40px;
- height: 40px;
- border-radius: 50%;
- border: 1px solid var(--trace-border);
- background: var(--trace-surface);
-}
-
-.avatar img {
- object-fit: cover;
-}
-
-.agentAvatar {
- border: 1px solid var(--openui-border-default);
- background: var(--home-surface-ink);
-}
-
-.bubble {
- flex: 1;
- min-width: 0;
- min-height: 56px;
- box-sizing: border-box;
margin: 0;
- padding: 14px 18px;
- border: 1px solid var(--trace-border);
- border-radius: 16px;
+ border: 1px solid var(--trace-stroke);
+ border-radius: 20px;
background: var(--trace-surface);
+ box-shadow: var(--trace-shadow);
+ color: var(--openui-text-neutral-primary);
+ font-family: var(--home-font-text);
}
-.bubble strong {
- font-weight: 600;
-}
-
-.agentBubble {
- background: var(--trace-surface-strong);
-}
-
-.arrow {
- position: absolute;
- top: 50%;
- right: -35px;
- color: var(--openui-text-neutral-secondary);
- transform: translateY(-50%);
-}
-
-/* The same response is read two ways: technical completion on the left,
- the unresolved user outcome on the right. The status badges make the
- contradiction legible before the viewer reads any row copy. */
-.comparison {
- display: grid;
- grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
- align-items: stretch;
- gap: 12px;
- width: 100%;
- margin-top: 56px;
+[data-theme="dark"] .diagram {
+ --trace-surface: rgba(255, 255, 255, 0.04);
+ --trace-stroke: transparent;
+ --trace-shadow: none;
}
-.panel {
- position: relative;
+.half {
display: flex;
min-width: 0;
flex-direction: column;
- gap: 24px;
- padding: 24px 24px 28px;
- border: 1px solid var(--trace-border);
- border-radius: 20px;
- background: var(--trace-surface);
-}
-
-.outcomePanel {
- border-color: var(--trace-border);
- background: #fff;
+ /* Even on all four sides. The last row carries its own 14px below the text,
+ so the bottom reads a little deeper than the top, which suits a block that
+ ends on a list. */
+ padding: 32px;
}
-:global(.dark) .outcomePanel,
-:global([data-theme="dark"]) .outcomePanel {
- background: var(--trace-surface);
+/* The split. Declared on the second half rather than as a track of its own, so
+ it cannot fall out of step with the grid. */
+.half + .half {
+ border-left: 1px solid var(--trace-divider);
}
-.panelHeader {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 20px;
- min-height: 64px;
-}
-
-.panelHeader > div {
- min-width: 0;
-}
-
-.panelLabel {
- display: block;
- margin-bottom: 8px;
+/* Inherits the diagram's text face rather than setting mono of its own, so the
+ label reads as the same voice as the lines under it. */
+.eyebrow {
+ margin: 0 0 1rem;
color: var(--openui-text-neutral-secondary);
- font-family: var(--home-font-mono);
font-size: var(--home-label-size);
font-weight: var(--home-label-weight);
line-height: 1;
- letter-spacing: 0.04em;
- text-transform: uppercase;
}
-.panelHeader h3 {
- max-width: 18ch;
- margin: 0;
+.heading {
+ /* Enough that the rule below reads as the top of the list rather than an
+ underline on the gloss line, and the eyebrow above reads as a label on the
+ half rather than a third line of the title. */
+ margin: 0 0 1.75rem;
font-family: var(--home-font-display);
- font-size: var(--home-heading-size);
- font-weight: var(--home-heading-weight);
+ /* Set locally rather than from --home-heading-*, which is 22px/500 here and
+ drops to 16px/400 on a phone. This heading is the diagram's own title, not
+ a card heading inside a list of them, so it carries the larger size at the
+ display face's usual weight. */
+ font-size: clamp(1.125rem, 2.2vw, 1.625rem);
+ font-weight: 500;
line-height: var(--home-heading-leading);
letter-spacing: var(--home-heading-tracking);
- text-wrap: balance;
-}
-
-.resultBadge {
- display: inline-flex;
- flex: none;
- align-items: center;
- min-height: 28px;
- padding: 5px 10px;
- border-radius: 999px;
- color: #fff;
- font-family: var(--home-font-text);
- font-size: var(--home-label-size);
- font-weight: 500;
- line-height: 1;
- white-space: nowrap;
}
-.passedBadge {
- background: #049156;
-}
-
-.failedBadge {
- background: #b91c1c;
+/* The heading's second line, set like the page's own title/subtitle pair: same
+ size and weight, dropped to the secondary colour. */
+.headingGloss {
+ display: block;
+ color: var(--openui-text-neutral-secondary);
}
-.checklist {
+/* Equal rows over whatever height the taller half settles at, so a line in one
+ stays level with the line it answers in the other. The halves are grid items
+ on a stretch-aligned row, so they share that height already. */
+.list {
display: grid;
- grid-template-rows: repeat(3, minmax(min-content, 1fr));
+ grid-template-rows: repeat(4, minmax(min-content, 1fr));
flex: 1;
- gap: 0;
margin: 0;
padding: 0;
list-style: none;
}
-.checklist li {
+.list li {
display: flex;
align-items: center;
- gap: 16px;
+ gap: 12px;
min-width: 0;
padding-block: 14px;
- border-top: 1px solid var(--home-hairline);
-}
-
-.checkCopy {
- flex: 1;
- min-width: 0;
-}
-
-.checkCopy > span {
- display: block;
- margin-bottom: 3px;
- font-family: var(--home-font-display);
- font-weight: var(--home-heading-weight);
-}
-
-.checkCopy p {
- margin: 0;
- color: var(--openui-text-neutral-secondary);
-}
-
-.statusIcon {
- flex-shrink: 0;
- width: 24px;
- height: 24px;
-}
-
-.failure {
- color: var(--openui-text-danger-primary);
- border-color: color-mix(in srgb, #b91c1c 20%, transparent);
- background: color-mix(in srgb, #b91c1c 6%, var(--trace-surface));
-}
-
-.notEqual {
- position: relative;
- display: flex;
+ /* A gradient rather than a border, so the rule can fade out at both ends.
+ Painted at the top of the row, 1px tall, full width. */
+ background-image: linear-gradient(
+ to right,
+ transparent,
+ var(--home-hairline) 8%,
+ var(--home-hairline) 92%,
+ transparent
+ );
+ background-repeat: no-repeat;
+ background-position: top;
+ background-size: 100% 1px;
+ /* The same tokens the section lead uses (gateway/sections.module.css .lead),
+ so the rows read at the size of the paragraph that introduces them and move
+ with it if that scale is ever retuned. */
+ font-size: var(--home-lead-size);
+ line-height: var(--home-lead-leading);
+}
+
+/* Both lists are set identically. The marks carry the contrast, so weighting
+ one side as well would say the same thing twice. */
+.mark {
+ display: inline-flex;
+ flex: none;
align-items: center;
justify-content: center;
- color: var(--openui-text-neutral-primary);
-}
-
-.notEqual::before,
-.notEqual::after {
- position: absolute;
- left: 50%;
- width: 1px;
- height: calc(50% - 34px);
- background: var(--home-hairline);
- content: "";
-}
-
-.notEqual::before {
- top: 0;
+ width: 22px;
+ height: 22px;
+ /* One shape for both sides; only the colour separates them. */
+ border-radius: 7px;
+ color: #fff;
}
-.notEqual::after {
- bottom: 0;
+.markPass {
+ background: #049156;
}
-.notEqual svg {
- position: relative;
- z-index: 1;
- box-sizing: content-box;
- padding: 12px;
- border: 1px solid var(--trace-border);
- border-radius: 50%;
- background: var(--openui-background);
+.markFail {
+ background: #b91c1c;
}
@media (max-width: 1023px) {
- .conversation {
- gap: 32px;
- }
-
- .bubble {
- padding: 12px 16px;
- }
-
- .arrow {
- right: -27px;
- }
-
- .comparison {
- grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
- gap: 10px;
- }
-
- .panel {
- padding: 24px 20px 28px;
- }
-
- .panelHeader {
- flex-direction: column;
- gap: 12px;
+ .half {
+ padding: 28px 24px;
}
}
@media (max-width: 767px) {
- .conversation {
+ /* Stacked: two halves of wrapping phrases side by side on a phone leaves each
+ line three or four words deep. The pairing gives way to legibility here,
+ which is why each half keeps a heading that stands on its own. */
+ .diagram {
grid-template-columns: minmax(0, 1fr);
- gap: 32px;
}
- .arrow {
- top: auto;
- right: auto;
- bottom: -27px;
- left: calc(50% - 10px);
- transform: rotate(90deg);
+ /* The split turns with the layout. */
+ .half + .half {
+ border-top: 1px solid var(--trace-divider);
+ border-left: none;
}
- .comparison {
- grid-template-columns: minmax(0, 1fr);
- gap: 16px;
- margin-top: 48px;
- }
-
- .panel {
- gap: 24px;
- padding: 20px;
+ /* Stacked, the card runs to ~830px on a phone, which is more than a screen.
+ The height is in the padding rather than the type: each row is 24px of text
+ inside 32px of padding, so tightening the spacing buys far more than
+ shrinking the words would, and costs nothing in legibility. */
+ .half {
+ padding: 16px;
}
- .panelHeader {
- min-height: 0;
+ .eyebrow {
+ margin-bottom: 10px;
}
- .notEqual {
- height: 52px;
+ .heading {
+ margin-bottom: 16px;
+ font-size: 1.0625rem;
}
- .notEqual::before,
- .notEqual::after {
- top: 50%;
- width: calc(50% - 34px);
- height: 1px;
- }
-
- .notEqual::before {
- right: auto;
- left: 0;
- }
-
- .notEqual::after {
- right: 0;
- left: auto;
+ .list {
+ display: flex;
+ flex-direction: column;
}
- .notEqual svg {
- width: 24px;
- height: 24px;
- padding: 10px;
+ .list li {
+ align-items: flex-start;
+ padding-block: 10px;
+ /* A step under --home-lead-size, which is 1rem here. The rows are short
+ statements rather than running prose, so they take the smaller measure
+ without becoming harder to scan. */
+ font-size: 0.9375rem;
}
- .checklist {
- display: flex;
- flex-direction: column;
+ /* Smaller tiles to match the tighter rows. Wrapping lines also push the mark
+ off the first one once it is centred, so it sits on the first line's
+ optical centre instead. */
+ .mark {
+ width: 18px;
+ height: 18px;
+ margin-top: 2px;
+ border-radius: 6px;
}
- .checklist li {
- padding-block: 16px;
+ /* The glyph's size prop is set once in the component, so the breakpoint
+ resizes the rendered SVG rather than the prop. */
+ .mark svg {
+ width: 11px;
+ height: 11px;
}
}
diff --git a/docs/app/(home)/cloud/observability/TraceGapDiagram.tsx b/docs/app/(home)/cloud/observability/TraceGapDiagram.tsx
index d382770cb..77bf4c3c5 100644
--- a/docs/app/(home)/cloud/observability/TraceGapDiagram.tsx
+++ b/docs/app/(home)/cloud/observability/TraceGapDiagram.tsx
@@ -1,120 +1,64 @@
-import { ArrowRight, EqualNot } from "lucide-react";
-import Image from "next/image";
-import agentLogo from "./assets/trace-agent.svg";
-import failedStatus from "./assets/trace-fail.svg";
-import passedStatus from "./assets/trace-pass.svg";
-import userAvatar from "./assets/trace-user.png";
+/* ssr entry: this stays a server component, so the icons cannot come from the
+ main entry, which ships client code. */
+import { Check, X } from "@phosphor-icons/react/dist/ssr";
import styles from "./TraceGapDiagram.module.css";
-const TRACE_STEPS = [
- { title: "Tool calls succeeded", description: "Every call completed" },
- { title: "The model responded", description: "No generation errors" },
- { title: "The request completed", description: "Response returned 200" },
-];
+/* Kept as pairs rather than two independent lists: each line sits opposite the
+ one it answers, and the cards give their rows equal heights so the pairing
+ survives the split. Editing one side means editing its partner.
-const BLIND_SPOTS = [
- {
- title: "Did the user get what they needed?",
- description: "The trace looks successful even when the answer is useless",
- },
- {
- title: "What did the user actually experience?",
- description: "It records the response, not the UI they saw or how they used it",
- },
- {
- title: "What should we build next?",
- description: "Errors and latency don’t show what users tried to do but couldn’t",
- },
+ The broadest pair, what the agent did against what the user experienced, is
+ not in here: it sits in the two headings as their second line, where it
+ states the contrast the rest of the rows then work through. */
+const ROWS = [
+ { trace: "The request succeeded", outcome: "Did the user get what they needed?" },
+ { trace: "No errors occurred", outcome: "Did the experience actually work?" },
+ { trace: "The model and tools worked", outcome: "Why did the user retry or leave?" },
+ { trace: "The system behaved as expected", outcome: "What needs to improve for the user?" },
];
-function StatusMark({ failed = false }: { failed?: boolean }) {
- return (
- <Image
- src={failed ? failedStatus : passedStatus}
- className={styles.statusIcon}
- width={24}
- height={24}
- alt={failed ? "Not captured" : "Passed"}
- />
- );
-}
-
export function TraceGapDiagram() {
return (
<figure
className={styles.diagram}
- aria-label="A successful trace does not mean a successful outcome"
+ aria-label="What traces record compared with what users experience"
>
- <ol className={styles.conversation} aria-label="A conversation with an unmet user goal">
- <li className={styles.message} aria-label="User query">
- <div className={styles.avatar} aria-hidden="true">
- <Image src={userAvatar} width={40} height={40} alt="" />
- </div>
- <p className={styles.bubble}>
- Compare revenue by <strong>region.</strong>
- </p>
- <ArrowRight className={styles.arrow} size={20} strokeWidth={1.5} aria-hidden="true" />
- </li>
- <li className={styles.message} aria-label="Agent response">
- <div className={`${styles.avatar} ${styles.agentAvatar}`}>
- <Image src={agentLogo} width={24} height={24} alt="OpenUI" />
- </div>
- <p className={`${styles.bubble} ${styles.agentBubble}`}>Revenue is up 17% this month.</p>
- <ArrowRight className={styles.arrow} size={20} strokeWidth={1.5} aria-hidden="true" />
- </li>
- <li className={styles.message} aria-label="User follow-up">
- <div className={styles.avatar} aria-hidden="true">
- <Image src={userAvatar} width={40} height={40} alt="" />
- </div>
- <p className={`${styles.bubble} ${styles.failure}`}>
- But which <strong>region</strong> is driving it?
- </p>
- </li>
- </ol>
- <div className={styles.comparison} aria-label="Technical success compared with user failure">
- <div className={`${styles.panel} ${styles.tracePanel}`}>
- <div className={styles.panelHeader}>
- <div>
- <span className={styles.panelLabel}>Execution</span>
- <h3>Tracing says everything worked</h3>
- </div>
- <span className={`${styles.resultBadge} ${styles.passedBadge}`}>All checks passed</span>
- </div>
- <ol className={styles.checklist} aria-label="Passed trace checks">
- {TRACE_STEPS.map((step) => (
- <li key={step.title}>
- <div className={styles.checkCopy}>
- <span>{step.title}</span>
- <p>{step.description}</p>
- </div>
- <StatusMark />
- </li>
- ))}
- </ol>
- </div>
- <div className={styles.notEqual} role="img" aria-label="does not mean">
- <EqualNot size={36} strokeWidth={1.5} aria-hidden="true" />
- </div>
- <div className={`${styles.panel} ${styles.outcomePanel}`}>
- <div className={styles.panelHeader}>
- <div>
- <span className={styles.panelLabel}>User outcome</span>
- <h3>But tracing can’t tell you…</h3>
- </div>
- <span className={`${styles.resultBadge} ${styles.failedBadge}`}>Not captured</span>
- </div>
- <ul className={styles.checklist} aria-label="User outcomes not captured by trace status">
- {BLIND_SPOTS.map((point) => (
- <li key={point.title}>
- <div className={styles.checkCopy}>
- <span>{point.title}</span>
- <p>{point.description}</p>
- </div>
- <StatusMark failed />
- </li>
- ))}
- </ul>
- </div>
+ <div className={styles.half}>
+ <p className={styles.eyebrow}>Execution : Successful</p>
+ <h3 className={styles.heading}>
+ Traces can tell you
+ <span className={styles.headingGloss}>What the agent did</span>
+ </h3>
+ <ul className={styles.list}>
+ {ROWS.map(({ trace }) => (
+ <li key={trace}>
+ {/* The heading already says which side of the argument this is, so
+ the mark repeats it for the eye only. */}
+ <span aria-hidden="true" className={`${styles.mark} ${styles.markPass}`}>
+ <Check size={13} weight="bold" />
+ </span>
+ {trace}
+ </li>
+ ))}
+ </ul>
+ </div>
+
+ <div className={styles.half}>
+ <p className={styles.eyebrow}>Outcome : Failed</p>
+ <h3 className={styles.heading}>
+ But traces can’t tell you
+ <span className={styles.headingGloss}>What the user experienced</span>
+ </h3>
+ <ul className={styles.list}>
+ {ROWS.map(({ outcome }) => (
+ <li key={outcome}>
+ <span aria-hidden="true" className={`${styles.mark} ${styles.markFail}`}>
+ <X size={13} weight="bold" />
+ </span>
+ {outcome}
+ </li>
+ ))}
+ </ul>
</div>
</figure>
);
diff --git a/docs/app/(home)/cloud/observability/page.module.css b/docs/app/(home)/cloud/observability/page.module.css
index dbcaa7c9e..45e477785 100644
--- a/docs/app/(home)/cloud/observability/page.module.css
+++ b/docs/app/(home)/cloud/observability/page.module.css
@@ -75,6 +75,32 @@
color: rgba(255, 255, 255, 0.55);
}
+/* A second line under the subtitle. Green, because it is the one line here that
+ is an offer rather than a description, and #049156 is the green already on
+ this page in the trace diagram's pass marks. */
+/* A block, so it takes its own line and inherits the lockup's text-align: the
+ desktop hero sets it left, the mobile one centre. The flex box lives on the
+ inner span, which is inline-level and so gets positioned by that alignment.
+ One element doing both would pin the line to the left at every width. */
+.subtitleTerms {
+ display: block;
+ margin-top: 12px;
+ /* No size of its own: it reads at the subtitle's measure, as a second line of
+ the same block rather than a footnote to it. */
+ color: #049156;
+}
+
+.subtitleTermsInner {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+}
+
+[data-theme="dark"] .subtitleTerms {
+ /* The solid reads as near-black on the dark ground, so the line lifts. */
+ color: #3ecf8e;
+}
+
.subtitle {
display: block;
flex: 0 0 400px;
@@ -98,6 +124,8 @@
}
.heroImage {
+ position: relative;
+ z-index: 1;
display: block;
width: 100%;
height: auto;
@@ -109,16 +137,37 @@
--observability-section-gap: 160px;
}
+/* Grey, like the trust section that follows it: the two read as one band of
+ practical detail after the feature flow. */
.integrationSection {
width: 100%;
padding-block: var(--observability-section-gap);
- /* Setup stays on the same surface as the feature flow and owns equal space
- above and below its content. */
- background: var(--openui-foreground);
+ background: var(--openui-background);
+ /* The snippet is nine lines and measures 343px with the code block's own
+ padding. The component defaults to 420px, which left ~80px of empty panel
+ below the last line. The phone override below still wins at that width. */
+ --cloud-code-min-height: 344px;
}
+/* Scoped to this page. EnterpriseSection is shared with /cloud and
+ /cloud/gateway, which keep its own 160px and its own grey.
+
+ The class is doubled to lift it to (0,2,0). Its own .section rule sets both
+ of these at (0,1,0), and which of two equally specific rules wins comes down
+ to the order the two CSS modules happen to load in, which is not something
+ to rely on. */
+.trustSection.trustSection {
+ padding-block: clamp(4rem, 7vw, 6rem);
+ /* Sits on the page rather than in a band: the grey now belongs to the setup
+ block below, which is the one thing on the page that is a detour. */
+ background: transparent;
+}
+
+/* Less below than above: the footer follows, and the shared gap on both sides
+ left the page ending on a long empty stretch. */
.faqBand {
- padding: var(--observability-section-gap) var(--home-section-padding-inline);
+ padding: var(--observability-section-gap) var(--home-section-padding-inline)
+ calc(var(--observability-section-gap) / 2);
}
.faqBand > section {
@@ -139,7 +188,18 @@
@media (max-width: 767px) {
.integrationSection {
- --cloud-code-min-height: 240px;
+ /* Keeps the panel's desktop measure and scales the whole thing down, so the
+ snippet reads at the same proportions rather than losing its right-hand
+ half to the clip. The desktop --cloud-code-min-height above rides along
+ in the same scaled space, which is what holds the ratio. */
+ --cloud-code-mobile-zoom: 0.54;
+ --cloud-code-mobile-padding-block: 28px;
+ /* Content-sized, so the panel hugs the snippet. Left at the desktop 344px
+ the shorter padding above would be matched by 40px of empty panel below,
+ which is the one thing equal padding cannot survive. */
+ --cloud-code-min-height: 0;
+ /* The steps explain the snippet, so they follow it here. */
+ --cloud-setup-content-display: contents;
}
.integrationSection > div {
@@ -276,25 +336,62 @@
opacity: 0.6;
}
-/* The hero art dissolves into the page at its lower edge instead of stopping on
- a straight line. Masked rather than overlaid with a gradient, so it works on
- either theme without matching a background colour. */
-.heroImage {
+/* The hero sits on a stage now, so it ends on its own edge rather than
+ dissolving into the page. The stroke is the shader's base colour, so the edge
+ matches the fill inside it. Keep in step with TONES in FadedDitherCanvas.tsx
+ and with .shot in FeaturesSection.module.css. */
+.heroStage {
+ --hero-stroke: #f8f8f8;
+
+ position: relative;
+ width: 100%;
+ overflow: hidden;
+ border: 1px solid var(--hero-stroke);
+ border-radius: 24px;
+}
+
+[data-theme="dark"] .heroStage {
+ --hero-stroke: #0e0e0e;
+}
+
+/* The mobile hero keeps the old treatment: no stage behind it, so it dissolves
+ into the page at its lower edge rather than ending on a straight line.
+ Masked rather than overlaid with a gradient, so it works on either theme
+ without having to match a background colour. */
+.heroImageMobile {
-webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
+.heroShader {
+ position: absolute;
+ z-index: 0;
+ inset: 0;
+}
+
+.heroShader > * {
+ width: 100%;
+ height: 100%;
+}
+
/* Keep the action persistent: the waitlist should never depend on a hover state
to explain what the arrow does. */
.emailSubmit {
flex: none;
display: inline-flex;
align-items: center;
- justify-content: center;
+ /* Not centred: min-width leaves a few pixels of slack that centring splits
+ between the two ends, which pushed the badge ~13px off the right edge while
+ the padding said 8. Pinning each end to its own padding makes the space
+ around the badge match the 8px above and below it. */
+ justify-content: space-between;
min-width: 10.25rem;
height: 3rem;
gap: 10px;
- padding: 0 8px 0 20px;
+ /* 7, not 8: the badge is centred in the 46px the 1px borders leave, so it
+ already sits 7px inside the padding box and 8px inside the button. Matching
+ that on the right is what puts the same 8px on all three sides. */
+ padding: 0 7px 0 20px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 9999px;
background: #0a0a0a;
diff --git a/docs/app/(home)/cloud/observability/page.tsx b/docs/app/(home)/cloud/observability/page.tsx
index 5ac0c3f27..76a18ef42 100644
--- a/docs/app/(home)/cloud/observability/page.tsx
+++ b/docs/app/(home)/cloud/observability/page.tsx
@@ -1,6 +1,9 @@
+/* ssr entry: this page is a server component. */
+import { Gift } from "@phosphor-icons/react/dist/ssr";
import type { Metadata } from "next";
import Image from "next/image";
import { ExternalTextLink } from "../../components/ExternalTextLink/ExternalTextLink";
+import { FadedDither } from "../../components/FadedDither/FadedDither";
import styles from "../../page.module.css";
import type { GridFeature } from "../../sections/FeatureGridSection/FeatureGridSection";
import { Footer } from "../../sections/Footer/Footer";
@@ -83,6 +86,12 @@ export default function ObservabilityPage() {
subtitle={
<span className={cloudStyles.subtitle}>
See what users saw and did, where your agent fell short, and what to build next.
+ <span className={cloudStyles.subtitleTerms}>
+ <span className={cloudStyles.subtitleTermsInner}>
+ <Gift aria-hidden="true" size={20} weight="bold" />
+ Free during early access
+ </span>
+ </span>
</span>
}
smallSubtitle
@@ -94,7 +103,10 @@ export default function ObservabilityPage() {
showGitHubBanner={false}
showTagline={false}
desktopPreviewSlot={
- <>
+ /* Shader behind, artwork on top, the same stage the feature shots
+ use. band="light" because the hero sits straight on the page. */
+ <div className={cloudStyles.heroStage}>
+ <FadedDither band="light" className={cloudStyles.heroShader} />
<Image
className={`${cloudStyles.heroImage} ${cloudStyles.heroImageLight}`}
src="/openui-observability/hero-light.webp"
@@ -114,12 +126,14 @@ export default function ObservabilityPage() {
unoptimized
priority
/>
- </>
+ </div>
}
mobilePreviewSlot={
+ /* No stage on a phone: no shader, no fill, no rounded corners. The
+ art just dissolves into the page at its lower edge. */
<>
<Image
- className={`${cloudStyles.heroImage} ${cloudStyles.heroImageLight}`}
+ className={`${cloudStyles.heroImage} ${cloudStyles.heroImageMobile} ${cloudStyles.heroImageLight}`}
src="/openui-observability/hero-mobile-light.webp"
alt="OpenUI Observability insights preview"
width={924}
@@ -128,7 +142,7 @@ export default function ObservabilityPage() {
priority
/>
<Image
- className={`${cloudStyles.heroImage} ${cloudStyles.heroImageDark}`}
+ className={`${cloudStyles.heroImage} ${cloudStyles.heroImageMobile} ${cloudStyles.heroImageDark}`}
src="/openui-observability/hero-mobile-dark.webp"
alt=""
aria-hidden="true"
@@ -141,12 +155,14 @@ export default function ObservabilityPage() {
}
/>
- {/* Problem, then the features that answer it, then what it costs to adopt
- and what it costs you in data — the Gateway page's spine. */}
+ {/* Problem, then the features that answer it, then the data question the
+ features raise, and only then what it costs to adopt. */}
<WhySection />
<FeaturesSection />
- <IntegrateSection />
+ {/* Directly under Insights: the feature flow ends on what the product
+ learns from a session, which is the point a reader starts wondering
+ where that data goes. */}
<EnterpriseSection
titleId="observability-trust"
title="Secure, compliant, and under your control"
@@ -154,10 +170,15 @@ export default function ObservabilityPage() {
features={TRUST_ITEMS}
/>
+ <IntegrateSection />
+
+ {/* Straight after the trust block rather than below the FAQ: the ask
+ lands while the reader is still on the reasons to say yes. */}
+ <CloudCtaSection />
+
<div className={cloudStyles.faqBand}>
<FaqSection />
</div>
- <CloudCtaSection />
</div>
<Footer />
</div>
diff --git a/docs/app/(home)/components/FadedDither/FadedDither.tsx b/docs/app/(home)/components/FadedDither/FadedDither.tsx
new file mode 100644
index 000000000..d07178daa
--- /dev/null
+++ b/docs/app/(home)/components/FadedDither/FadedDither.tsx
@@ -0,0 +1,73 @@
+"use client";
+
+import dynamic from "next/dynamic";
+import { type CSSProperties, useEffect, useState } from "react";
+
+/* WebGPU only exists in the browser, so the canvas is loaded on the client and
+ never rendered on the server. Use this rather than FadedDitherCanvas. */
+const FadedDitherCanvas = dynamic(
+ () => import("./FadedDitherCanvas").then((m) => m.FadedDitherCanvas),
+ { ssr: false },
+);
+
+/* The same breakpoint the stages use. The wave follows the viewport, not the
+ canvas: a stage can be half a wide page and still wants the page's wave, so
+ that every shader on a given screen reads as the same material. */
+const COMPACT_QUERY = "(max-width: 767px)";
+
+/* The page theme, watched rather than read once: the site can change it after
+ mount, and this component has to follow. */
+function usePageTheme() {
+ const [theme, setTheme] = useState<"light" | "dark">("light");
+
+ useEffect(() => {
+ const root = document.documentElement;
+ const read = () => {
+ setTheme(root.getAttribute("data-theme") === "dark" ? "dark" : "light");
+ };
+
+ read();
+ const watch = new MutationObserver(read);
+ watch.observe(root, { attributes: true, attributeFilter: ["data-theme"] });
+ return () => watch.disconnect();
+ }, []);
+
+ return theme;
+}
+
+export function FadedDither({
+ band = "light",
+ className,
+ style,
+}: {
+ /* The band's own tone, not the picture's. A light band is white on a light
+ page and black on a dark one; a dark band is the other way round, because
+ it inverts. Either way the shader has to match the ground it lands on. */
+ band?: "light" | "dark";
+ className?: string;
+ style?: CSSProperties;
+}) {
+ const theme = usePageTheme();
+ const [compact, setCompact] = useState(false);
+
+ useEffect(() => {
+ const query = window.matchMedia(COMPACT_QUERY);
+ const read = () => setCompact(query.matches);
+
+ read();
+ query.addEventListener("change", read);
+ return () => query.removeEventListener("change", read);
+ }, []);
+
+ const onLightGround = (band === "light") === (theme === "light");
+ const tone = onLightGround ? "light" : "dark";
+
+ /* The wrapper carries the positioning and puts the resolved tone and width
+ mode in the DOM, where they can be read without going through React
+ internals, which double-buffer and will hand back a stale tree. */
+ return (
+ <div className={className} data-compact={compact || undefined} data-tone={tone} style={style}>
+ <FadedDitherCanvas compact={compact} tone={tone} />
+ </div>
+ );
+}
diff --git a/docs/app/(home)/components/FadedDither/FadedDitherCanvas.tsx b/docs/app/(home)/components/FadedDither/FadedDitherCanvas.tsx
new file mode 100644
index 000000000..0c34be150
--- /dev/null
+++ b/docs/app/(home)/components/FadedDither/FadedDitherCanvas.tsx
@@ -0,0 +1,71 @@
+"use client";
+
+import type { CSSProperties } from "react";
+import { Dither, Shader, SineWave, SolidColor } from "shaders/react";
+
+/* The "Faded Dither" preset from shaders.com, in two tones.
+ *
+ * Only the two output colours change between them. Dither paints colorB where
+ * the wave's luminance clears the threshold and leaves the rest transparent, so
+ * the SolidColor underneath shows through: the tone is that pair. Both keep the
+ * same 18-step gap between base and stipple, so the texture reads equally
+ * strongly either way, and both bases sit 14 steps from the ground behind them,
+ * so neither fill is louder than the other.
+ *
+ * The dark base is neutral rather than the preset's #121217, whose blue channel
+ * runs 5 above the others and shows as a cast.
+ *
+ * <Shader> renders a <canvas> with no size of its own, so it needs one from the
+ * caller, usually inset:0 inside a positioned parent. It is WebGPU, so it must
+ * not render on the server. Import it through FadedDither, which handles both
+ * that and choosing the tone.
+ */
+/* The stages outline themselves in whichever base applies, through
+ --ps-stage-stroke in ProductSection.module.css and the equivalent in
+ CloudSection.module.css. Change a base here and change it there too. */
+/* Desktop keeps the preset's wave. A phone shows so little of it that the same
+ values read as one flat swell filling the stage, so phone-width screens get
+ more cycles and a thinner line, not fewer and fatter. */
+const WAVE = {
+ wide: { frequency: 0.5, thickness: 0.4 },
+ compact: { frequency: 1.8, thickness: 0.16 },
+} as const;
+
+const TONES = {
+ dark: { base: "#0e0e0e", stipple: "#202020" },
+ light: { base: "#f8f8f8", stipple: "#e6e6e6" },
+} as const;
+
+export function FadedDitherCanvas({
+ tone = "dark",
+ compact = false,
+ className,
+ style,
+}: {
+ tone?: keyof typeof TONES;
+ /* Set when the viewport is phone width. */
+ compact?: boolean;
+ className?: string;
+ style?: CSSProperties;
+}) {
+ const { base, stipple } = TONES[tone];
+ const wave = WAVE[compact ? "compact" : "wide"];
+
+ return (
+ <Shader className={className} style={style}>
+ <SolidColor color={base} />
+ <Dither colorB={stipple} pattern="bayer8" threshold={0.41}>
+ <SineWave
+ angle={24}
+ frequency={wave.frequency}
+ position={{ x: 0.69, y: 0.7 }}
+ softness={0.7}
+ /* The preset ships 0.4. Three times that, still well under the
+ component's -5..5 range. */
+ speed={1.2}
+ thickness={wave.thickness}
+ />
+ </Dither>
+ </Shader>
+ );
+}
diff --git a/docs/app/(home)/components/StackChip/StackChip.module.css b/docs/app/(home)/components/StackChip/StackChip.module.css
index 3367ed5f6..6183e2cbf 100644
--- a/docs/app/(home)/components/StackChip/StackChip.module.css
+++ b/docs/app/(home)/components/StackChip/StackChip.module.css
@@ -61,6 +61,13 @@
background: var(--openui-text-black);
}
+/* On a dark page a black badge is the same colour as the ground behind it, so
+ the circle disappears and the mark floats. The rim gives it its edge back.
+ Light pages need nothing: the black circle is its own edge there. */
+[data-theme="dark"] .badgeBlack {
+ border: 1px solid rgb(255 255 255 / 0.22);
+}
+
.badgeAnthropic {
background: #d4a574;
}
@@ -90,7 +97,35 @@
}
.badgeDaisyUi {
- background: #f472b6;
+ background: #1ad1a5;
+}
+
+.badgeConvex {
+ background: #ee342f;
+}
+
+.badgeCloudflare {
+ background: #f38020;
+}
+
+.badgeMui {
+ background: #007fff;
+}
+
+.badgeAntDesign {
+ background: #0170fe;
+}
+
+.badgeChakra {
+ background: #319795;
+}
+
+.badgeMantine {
+ background: #339af0;
+}
+
+.badgeNuxt {
+ background: #00dc82;
}
.badgeBaseUi {
@@ -113,6 +148,12 @@
object-fit: contain;
}
+/* The local DeepSeek mark carries no fill of its own, so it paints black.
+ Invert it to white, which is what reads on the blue badge. */
+.badgeImage[src*="deepseek"] {
+ filter: invert(1);
+}
+
/* The xAI mark is a small wordmark; shrink + invert it to read on the dark badge. */
.badgeImage[src*="xai"] {
width: 12px;
@@ -152,8 +193,12 @@
color: var(--openui-text-neutral-primary);
}
-/* Logo-only variant for diagrams; regular chips keep their existing sizing. */
+/* Logo-only variant for diagrams; regular chips keep their existing sizing.
+ Block-level, unlike the inline-flex chip: an inline box is aligned on the
+ line's baseline, and a badge holding text rather than an image gets a
+ different baseline, so it sat a couple of pixels lower than its neighbours. */
.chipIconOnly {
+ display: flex;
width: var(--stack-logo-size, 44px);
height: var(--stack-logo-size, 44px);
padding: 0;
@@ -166,21 +211,37 @@
height: var(--stack-logo-size, 44px);
}
+/* The glyph tracks the badge so callers can resize the whole logo with one var. */
.chipIconOnly .badgeImage,
.chipIconOnly .iconSvg,
.chipIconOnly .mascotSvg {
- width: 24px;
- height: 24px;
+ width: var(--stack-logo-glyph, 24px);
+ height: var(--stack-logo-glyph, 24px);
+}
+
+/* Shiro is line art rather than a solid mark, so at the shared size it reads
+ smaller than the rest. Only the glyph grows; the badge is unchanged. */
+.chipIconOnly .mascotSvg {
+ width: calc(var(--stack-logo-glyph, 24px) * 1.45);
+ height: calc(var(--stack-logo-glyph, 24px) * 1.45);
+}
+
+/* Same for the OpenAI rosette: fine, open line work that reads small next to
+ the solid marks around it. Scoped to the icon-only variant, so the regular
+ chips elsewhere keep their sizing. */
+.chipIconOnly .badgeImage[src*="openai"] {
+ width: calc(var(--stack-logo-glyph, 24px) * 1.25);
+ height: calc(var(--stack-logo-glyph, 24px) * 1.25);
}
.chipIconOnly .badgeImage[src*="xai"] {
- width: 20px;
- height: 20px;
+ width: calc(var(--stack-logo-glyph, 24px) * 0.8);
+ height: calc(var(--stack-logo-glyph, 24px) * 0.8);
}
.chipIconOnly .badgeText,
.chipIconOnly .moreIcon {
- font-size: 20px;
+ font-size: calc(var(--stack-logo-glyph, 24px) * 0.82);
}
.chipIconOnly .badgeBlack .badgeText {
diff --git a/docs/app/(home)/components/StaticTweetCard/StaticTweetCard.module.css b/docs/app/(home)/components/StaticTweetCard/StaticTweetCard.module.css
index 6f096fbb2..15989d85d 100644
--- a/docs/app/(home)/components/StaticTweetCard/StaticTweetCard.module.css
+++ b/docs/app/(home)/components/StaticTweetCard/StaticTweetCard.module.css
@@ -5,7 +5,12 @@
border: 1px solid var(--home-hairline);
border-radius: 12px;
background: var(--openui-foreground);
- box-shadow: var(--home-shadow-card);
+ /* Local override of --home-shadow-card: wider and much softer than the shared
+ card shadow, so the wall reads as floating cards rather than outlined ones.
+ Kept here because three other sections still want the tighter shared one. */
+ box-shadow:
+ 0 2px 6px rgba(22, 34, 51, 0.03),
+ 0 10px 28px rgba(22, 34, 51, 0.045);
color: var(--openui-text-neutral-primary);
font-family: var(--home-font-text);
text-decoration: none;
diff --git a/docs/app/(home)/components/TweetWall/TweetWall.module.css b/docs/app/(home)/components/TweetWall/TweetWall.module.css
index 904b37808..e53078bb2 100644
--- a/docs/app/(home)/components/TweetWall/TweetWall.module.css
+++ b/docs/app/(home)/components/TweetWall/TweetWall.module.css
@@ -33,6 +33,13 @@
flex: 1 1 0;
min-width: 0;
height: 100%;
+ /* The column clips vertically so the marquee can run, and CSS will not allow
+ overflow-x: visible alongside overflow-y: hidden. So widen the clip box
+ instead: the padding gives card shadows room at the column edges, and the
+ matching negative margin keeps the layout footprint and the 12px gap
+ exactly as they were. Box-sizing is border-box, so the cards stay 335px. */
+ padding-inline: 16px;
+ margin-inline: -16px;
overflow: hidden;
}
@@ -77,16 +84,25 @@
gap: 0.5rem;
}
+ /* 230px of card plus the 16px of shadow bleed either side. The column sizes
+ its border box, so basing this on the card alone left only 198px of content
+ box and the slot below overhung the clip by 16px, cutting every card's
+ right edge off. */
.column {
- flex: 0 0 230px;
+ flex: 0 0 262px;
}
/* Render the card at 320px then scale the whole box down with zoom (shrinks the
layout box too, so columns stay tight and the loop has no gaps). 320 * 0.72 ≈ 230.
The wide base width lets tweet text breathe so cards aren't squeezed/too tall,
- while the 0.72 scale keeps the cards compact. */
+ while the 0.72 scale keeps the cards compact.
+
+ The width is a percentage rather than a flat 320px because under zoom a
+ percentage resolves in the slot's own scaled space: 100% of the column's
+ 230px content box lays the card out at ~320px and paints it at 230, so it
+ tracks the column instead of overhanging it. */
.slot {
- width: 320px;
+ width: 100%;
zoom: 0.72;
margin-bottom: 0.625rem;
}
diff --git a/docs/app/(home)/page.module.css b/docs/app/(home)/page.module.css
index 754acae83..38f275634 100644
--- a/docs/app/(home)/page.module.css
+++ b/docs/app/(home)/page.module.css
@@ -1,4 +1,14 @@
+/* The design system's light --openui-foreground is rgb(253,253,253), two levels
+ off white. Sections that paint pure #fff sit on it and the step reads as a
+ faint frame around them, so this page takes the token to white instead.
+
+ Scoped to this element on purpose. The token is declared in the react-ui
+ package and read in 167 places across the site, and .homeTheme covers all
+ thirteen marketing routes; setting it here keeps the change to the home page
+ while everything below still goes through the token rather than a literal. */
.page {
+ --openui-foreground: #fff;
+
position: relative;
min-height: 100vh;
width: 100%;
@@ -85,12 +95,24 @@
padding-block: 4rem;
}
+ /* The feature grid states the Lang band's own capabilities, so it should read
+ as part of that band. The shell's gap is the measure between unrelated
+ sections, which is too much here; this pulls the grid back up under it. */
+ .langBand {
+ margin-bottom: -3.75rem;
+ }
+
.faqBand {
padding-inline: 1.25rem;
}
}
/* Keep the main page field solid in both themes. */
+/* Dark mode keeps the package's own value, so only the light one is pinned. */
+[data-theme="dark"] .page {
+ --openui-foreground: oklch(0.205 0 0 / 1);
+}
+
[data-theme="dark"] .page,
[data-theme="dark"] .heroShell {
background: #000;
diff --git a/docs/app/(home)/page.tsx b/docs/app/(home)/page.tsx
index 42692c45a..f8859f3dc 100644
--- a/docs/app/(home)/page.tsx
+++ b/docs/app/(home)/page.tsx
@@ -1,14 +1,13 @@
import type { Metadata } from "next";
import { AGENT_SETUP_PROMPT, AgentPicker } from "./components/AgentPicker/AgentPicker";
import styles from "./page.module.css";
-import { CloudBanner } from "./sections/CloudBanner/CloudBanner";
+import { BANNER_END_ANCHOR_ID, CloudBanner } from "./sections/CloudBanner/CloudBanner";
import { CloudSection } from "./sections/CloudSection/CloudSection";
import { FaqSection } from "./sections/FaqSection/FaqSection";
import { FeatureGridSection } from "./sections/FeatureGridSection/FeatureGridSection";
import { Footer } from "./sections/Footer/Footer";
import { HeroSection } from "./sections/HeroSection/HeroSection";
import { LogoStrip } from "./sections/LogoStrip/LogoStrip";
-import { OpenSourceIllustration } from "./sections/ProductIllustrations/ProductIllustrations";
import { ProductSection } from "./sections/ProductSection/ProductSection";
import { LANG_PRODUCT } from "./sections/ProductSection/products";
import { ShiroPeek } from "./sections/ShiroPeek/ShiroPeek";
@@ -43,7 +42,7 @@ export default function HomePage() {
<div className={styles.contentSection}>
<div className={styles.contentShell}>
<div className={styles.langBand}>
- <ProductSection {...LANG_PRODUCT} art={<OpenSourceIllustration />} fullBleedArt />
+ <ProductSection {...LANG_PRODUCT} />
</div>
{/* The benchmark header and the compatibility band, without the feature
grid that used to sit between them. */}
@@ -51,14 +50,19 @@ export default function HomePage() {
follows it, so the page proves the point before saying what it
works with. The grid runs on its own six features — Live data and
Cross-platform are only stated here. */}
- <FeatureGridSection gridFirst showHeaderSeparator={false} showBottomSeparator={false} />
+ <FeatureGridSection
+ gridFirst
+ showHeaderSeparator={false}
+ showCompatSeparator={false}
+ showBottomSeparator={false}
+ />
<div className={styles.cloudGroup}>
<ShiroPeek />
<CloudSection />
</div>
<TweetWallSection />
- <div className={styles.faqBand}>
+ <div className={styles.faqBand} id={BANNER_END_ANCHOR_ID}>
<FaqSection />
</div>
</div>
diff --git a/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx b/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx
index 37950aa24..f1e79dcf0 100644
--- a/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx
+++ b/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx
@@ -5,15 +5,23 @@ import Link from "next/link";
import { useEffect, useState } from "react";
import styles from "./CloudBanner.module.css";
+/* The home page tags its FAQ wrapper with this so the banner knows where to
+ stop. Anything without that id simply keeps the banner to the end. */
+export const BANNER_END_ANCHOR_ID = "faq-band";
+
export function CloudBanner() {
const [shouldShow, setShouldShow] = useState(false);
const [mounted, setMounted] = useState(false);
const [open, setOpen] = useState(false);
- // Appear as soon as the hero is scrolled past, and stay for the rest of the page.
+ // Appear once the hero is scrolled past, then retire when the FAQ arrives:
+ // by that point the page is answering questions, not pitching.
useEffect(() => {
const update = () => {
- setShouldShow(window.scrollY > window.innerHeight * 0.6);
+ const pastHero = window.scrollY > window.innerHeight * 0.6;
+ const end = document.getElementById(BANNER_END_ANCHOR_ID);
+ const reachedEnd = end ? end.getBoundingClientRect().top <= window.innerHeight : false;
+ setShouldShow(pastHero && !reachedEnd);
};
update();
window.addEventListener("scroll", update, { passive: true });
diff --git a/docs/app/(home)/sections/CloudSection/CloudSection.module.css b/docs/app/(home)/sections/CloudSection/CloudSection.module.css
index 2b3d2394c..30a62424f 100644
--- a/docs/app/(home)/sections/CloudSection/CloudSection.module.css
+++ b/docs/app/(home)/sections/CloudSection/CloudSection.module.css
@@ -32,6 +32,19 @@
flex-direction: column;
gap: clamp(7rem, 14vw, 13rem);
}
+/* Full width of the band, with equal air above and below. Half the gap the
+ observability band used to set as its own top margin, on each side, so the
+ rhythm between the two is unchanged and the rule sits centred in it. */
+.bandSeparator {
+ height: 1px;
+ margin-block: clamp(4rem, 7.5vw, 5.375rem);
+ background: rgba(255, 255, 255, 0.12);
+}
+
+[data-theme="dark"] .bandSeparator {
+ background: rgba(10, 10, 10, 0.1);
+}
+
.contact {
display: flex;
flex-direction: column;
@@ -39,7 +52,7 @@
gap: 1.5rem;
/* On top of the section's own padding, so this block sits clear of both the
band's top edge and the product bands beneath it. */
- margin-top: clamp(1.5rem, 3vw, 3rem);
+ margin-top: clamp(0.25rem, 0.75vw, 0.75rem);
margin-bottom: clamp(6rem, 12vw, 11rem);
text-align: center;
}
@@ -69,7 +82,7 @@
dark text. The section title + subtitle come from the shared SectionHeader
component (tone="dark"); they are re-colored in SectionHeader.module.css. */
[data-theme="dark"] .section {
- background: #fdfdfd;
+ background: #fff;
color: #0a0a0a;
}
[data-theme="dark"] .contactCta {
@@ -80,22 +93,24 @@
--bevel-badge-bg: #0a0a0a;
--bevel-badge-fg: #fff;
}
+/* Same shape as a ProductSection band: copy across the top, then a stage the
+ full width of the section. Its stage used to be a column beside the copy,
+ which made it roughly half the width of the reliability band's. */
.observabilityBand {
- display: grid;
- grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
- align-items: stretch;
- gap: clamp(2.5rem, 5vw, 3.75rem);
- margin-top: clamp(8rem, 15vw, 10.75rem);
+ display: flex;
+ flex-direction: column;
+ gap: clamp(0.75rem, 2vw, 1.75rem);
scroll-margin-top: 112px;
}
+/* The same split ProductSection's .lockup uses, so the two bands' headers sit
+ on the same grid. */
.observabilityCopy {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- gap: 3rem;
+ display: grid;
+ grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
+ align-items: start;
+ gap: clamp(1.5rem, 4vw, 4rem);
min-width: 0;
- min-height: 20rem;
}
.observabilityLead {
@@ -157,15 +172,34 @@
align-items: flex-end;
justify-content: center;
overflow: hidden;
+ position: relative;
+ width: 100%;
min-width: 0;
min-height: 0;
- aspect-ratio: 583 / 365;
- border: 0;
+ /* The reliability band's stage ratio, and the artwork's own. */
+ aspect-ratio: 1120 / 440;
+ /* The shader's dark base: this band is black here, so its shader is the dark
+ tone. Mirrors TONES in FadedDitherCanvas.tsx. */
+ border: 1px solid #0e0e0e;
border-radius: 24px;
background: transparent;
}
+/* Fills the stage behind the artwork, clipped to the stage's rounded corners. */
+.observabilityShader {
+ position: absolute;
+ z-index: 0;
+ inset: 0;
+}
+
+.observabilityShader > * {
+ width: 100%;
+ height: 100%;
+}
+
.observabilityImage {
+ position: relative;
+ z-index: 1;
display: block;
width: 100%;
height: 100%;
@@ -173,6 +207,16 @@
object-position: center top;
}
+/* The breakpoint switches these wrappers; the tone rules below pick which
+ image inside the visible one shows. */
+.observabilityWide {
+ display: contents;
+}
+
+.observabilityCompact {
+ display: none;
+}
+
.observabilityImageLight {
display: none;
}
@@ -182,6 +226,8 @@
}
[data-theme="dark"] .observabilityStage {
+ /* The band inverts to white here, so the shader switches to its light base. */
+ border-color: #f8f8f8;
background: transparent;
}
@@ -198,35 +244,69 @@
}
@media (max-width: 1023px) {
+ .bandSeparator {
+ margin-block: 3.5rem;
+ }
+
.observabilityBand {
- grid-template-columns: minmax(0, 1fr);
gap: 2.5rem;
- margin-top: 7rem;
}
.observabilityCopy {
+ grid-template-columns: minmax(0, 1fr);
gap: 2rem;
- min-height: 0;
- }
-
- .observabilityStage {
- min-height: 0;
- aspect-ratio: 583 / 365;
}
}
@media (max-width: 767px) {
+ /* The band's own two product lockups already name Cloud, so on a phone this
+ heading is a third title in a row before any content. The section keeps
+ aria-labelledby pointing at it: a display:none element referenced that way
+ still supplies the accessible name. */
+ .contact {
+ display: none;
+ }
+
+ .bandSeparator {
+ margin-block: 2.75rem;
+ /* Faded towards both ends, so it reads as a divider rather than a rule
+ butting into the gutters. */
+ -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
+ mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
+ }
+
.observabilityBand {
gap: 2rem;
- margin-top: 5.5rem;
+ }
+
+ /* Same order swap as ProductSection: the copy grid dissolves so the
+ description can follow the stage instead of preceding it. */
+ .observabilityCopy {
+ display: contents;
+ }
+
+ .observabilityLead {
+ margin-bottom: 0.5rem;
+ order: 1;
+ }
+
+ .observabilityWide {
+ display: none;
+ }
+
+ .observabilityCompact {
+ display: contents;
}
.observabilityStage {
- aspect-ratio: 4 / 3;
+ /* The phone artwork's own ratio. */
+ aspect-ratio: 1440 / 1200;
border-radius: 18px;
+ order: 2;
}
- .observabilityImage {
- object-position: 51% top;
+ .observabilityDescription {
+ max-width: none;
+ order: 3;
}
}
diff --git a/docs/app/(home)/sections/CloudSection/CloudSection.tsx b/docs/app/(home)/sections/CloudSection/CloudSection.tsx
index 0f3502fa4..32d6746e1 100644
--- a/docs/app/(home)/sections/CloudSection/CloudSection.tsx
+++ b/docs/app/(home)/sections/CloudSection/CloudSection.tsx
@@ -2,6 +2,7 @@
import { ArrowRight } from "@phosphor-icons/react/dist/ssr";
import Image from "next/image";
import { BevelButton } from "../../components/Button/BevelButton";
+import { FadedDither } from "../../components/FadedDither/FadedDither";
import { SectionHeader } from "../../components/SectionHeader/SectionHeader";
import { ProductLabel, ProductSection } from "../ProductSection/ProductSection";
import { GATEWAY_PRODUCT } from "../ProductSection/products";
@@ -33,6 +34,10 @@ export function CloudSection() {
<ProductSection {...GATEWAY_PRODUCT} />
</div>
+ {/* Divides the two bands. It carries the whole gap between them, so the
+ band below no longer sets a top margin of its own. */}
+ <div aria-hidden="true" className={styles.bandSeparator} />
+
<div id="openui-observability-card" className={styles.observabilityBand}>
<div className={styles.observabilityCopy}>
<div className={styles.observabilityLead}>
@@ -50,7 +55,7 @@ export function CloudSection() {
className={styles.observabilityCta}
variant="primary"
href="/cloud/observability"
- label="Join waitlist"
+ label="Get Early Access"
badge={<ArrowRight size={16} weight="bold" />}
/>
</div>
@@ -64,28 +69,61 @@ export function CloudSection() {
role="img"
aria-label="OpenUI Observability session replay showing the exact generated interface and user interactions"
>
- <Image
- className={`${styles.observabilityImage} ${styles.observabilityImageLight}`}
- src="/openui-observability/session-replay-light.webp"
- alt=""
- aria-hidden="true"
- width={2880}
- height={1804}
- quality={95}
- unoptimized
- sizes="(max-width: 1023px) calc(100vw - 80px), 520px"
- />
- <Image
- className={`${styles.observabilityImage} ${styles.observabilityImageDark}`}
- src="/openui-observability/session-replay-dark.webp"
- alt=""
- aria-hidden="true"
- width={2880}
- height={1804}
- quality={95}
- unoptimized
- sizes="(max-width: 1023px) calc(100vw - 80px), 520px"
- />
+ {/* The Cloud band is dark, so the shader follows it: black ground in
+ light theme, white when the band inverts. */}
+ <FadedDither band="dark" className={styles.observabilityShader} />
+ {/* Light and dark refer to the picture's own tone. The band is black
+ in light theme and inverts to white in dark theme, so the rules
+ in the stylesheet pick the one that suits the ground.
+
+ Two pairs, each in a wrapper the breakpoint switches off. The
+ phone artwork is its own drawing at 1440x1200 rather than the
+ wide one cropped, and the wrapper is display:contents when
+ shown, so the theme rules still reach the images. */}
+ <span className={styles.observabilityWide}>
+ <Image
+ className={`${styles.observabilityImage} ${styles.observabilityImageLight}`}
+ src="/homepage/observability-light.webp"
+ alt=""
+ aria-hidden="true"
+ width={2240}
+ height={880}
+ quality={95}
+ sizes="(max-width: 1023px) calc(100vw - 80px), 1120px"
+ />
+ <Image
+ className={`${styles.observabilityImage} ${styles.observabilityImageDark}`}
+ src="/homepage/observability-dark.webp"
+ alt=""
+ aria-hidden="true"
+ width={2240}
+ height={880}
+ quality={95}
+ sizes="(max-width: 1023px) calc(100vw - 80px), 1120px"
+ />
+ </span>
+ <span className={styles.observabilityCompact}>
+ <Image
+ className={`${styles.observabilityImage} ${styles.observabilityImageLight}`}
+ src="/homepage/observability-mobile-light.webp"
+ alt=""
+ aria-hidden="true"
+ width={1440}
+ height={1200}
+ quality={95}
+ sizes="calc(100vw - 40px)"
+ />
+ <Image
+ className={`${styles.observabilityImage} ${styles.observabilityImageDark}`}
+ src="/homepage/observability-mobile-dark.webp"
+ alt=""
+ aria-hidden="true"
+ width={1440}
+ height={1200}
+ quality={95}
+ sizes="calc(100vw - 40px)"
+ />
+ </span>
</div>
</div>
</div>
diff --git a/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.module.css b/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.module.css
index 0ead964ec..ea8483261 100644
--- a/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.module.css
+++ b/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.module.css
@@ -1,476 +1,218 @@
+/* The bands are wider than the diagram, so it clips them and fades both ends
+ rather than showing a hard edge. */
.diagram {
- --stack-logo-size: 40px;
+ --cell: 3.5rem;
+ --centre: calc(var(--cell) * 4);
+ --line: rgb(0 0 0 / 0.08);
+ /* --openui-text-neutral-primary is pinned near-black in both themes on this
+ page, so it cannot drive dark mode. The diagram carries its own text colour
+ and re-points it below, as StackDiagramSection does. */
+ --text: var(--openui-text-neutral-primary);
+ /* Sides only: no y-offset, and the spread is exactly minus half the blur so
+ the shadow's vertical extent is the column's own height. */
+ --centre-shadow: -10px 0 18px -9px rgb(10 10 10 / 0.1), 10px 0 18px -9px rgb(10 10 10 / 0.1);
+
position: relative;
- /* The source artwork is a 1280px frame. Letting it grow beyond that frame
- stretched the curves and pushed the outer marks into the viewport edges. */
- width: min(100vw, 80rem);
- height: clamp(480px, 47.8125vw, 612px);
+ width: 100%;
+ max-width: 56rem;
+ margin-inline: auto;
overflow: hidden;
- color: var(--openui-text-neutral-primary);
+ -webkit-mask-image: linear-gradient(
+ to right,
+ transparent 0,
+ #000 14%,
+ #000 86%,
+ transparent 100%
+ );
+ mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}
-.network {
- position: absolute;
- inset: 0;
- display: block;
- width: 100%;
- height: 100%;
- /* End each rail beneath the center of its outermost logo so no stroke is
- visible beyond the final circle. */
- clip-path: inset(0 24px);
- pointer-events: none;
+[data-theme="dark"] .diagram {
+ --line: rgb(255 255 255 / 0.1);
+ --text: rgb(255 255 255 / 0.94);
+ --centre-shadow: -10px 0 18px -9px rgb(0 0 0 / 0.45), 10px 0 18px -9px rgb(0 0 0 / 0.45);
}
-.mobileNetwork {
- display: none;
+/* Cells carry their right and bottom edge, so the rows stack into a lattice
+ with only the top edge left to draw here. */
+.rows {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ border-top: 1px solid var(--line);
}
-.rails path {
- fill: none;
- stroke: color-mix(in srgb, var(--openui-text-neutral-primary) 16%, transparent);
- stroke-width: 1px;
+.row {
+ display: flex;
+ height: var(--cell);
}
-.pulses path {
- fill: none;
- stroke: #0040ff;
- stroke-width: 1.4px;
- stroke-linecap: round;
- stroke-dasharray: 0.014 0.986;
- filter: drop-shadow(0 0 1.5px rgb(0 64 255 / 0.42));
- animation: connectorPulse 6.2s linear infinite;
- animation-delay: var(--pulse-delay, 0s);
+/* ---- Drifting bands ---- */
+/* One either side of the centre, each clipping its own track. */
+.rail {
+ position: relative;
+ flex: 1 1 0;
+ min-width: 0;
+ overflow: hidden;
}
-@keyframes connectorPulse {
- from {
- stroke-dashoffset: 1;
- }
+/* The bands flow inward: the left one travels left to right, the right one
+ right to left. Every row runs the same pair with no delay, so cell edges stay
+ aligned down the diagram and the rows read as one grid. The pass is rendered
+ twice, so travelling exactly half of it and restarting is seamless. */
+.track {
+ display: flex;
+ width: max-content;
+ height: 100%;
+ animation: bandDrift 60s linear infinite;
+}
- to {
- stroke-dashoffset: 0;
- }
+.trackInFromLeft {
+ animation-direction: reverse;
}
-@keyframes mobileLogoCycle {
- 0%,
- 38% {
- opacity: 1;
- transform: scale(1);
- }
+.trackInFromRight {
+ animation-direction: normal;
+}
- 44%,
- 94% {
- opacity: 0;
- transform: scale(0.84);
+@keyframes bandDrift {
+ from {
+ transform: translateX(0);
}
- 100% {
- opacity: 1;
- transform: scale(1);
+ to {
+ transform: translateX(-50%);
}
}
-@keyframes mobileLogoSingleCycle {
- 0%,
- 18% {
- opacity: 1;
- transform: scale(1);
- }
+/* Held back, so the centre column's logo is the one that reads. */
+.square {
+ --stack-logo-size: 26px;
+ --stack-logo-glyph: 14px;
- 22%,
- 97% {
- opacity: 0;
- transform: scale(0.84);
- }
+ display: grid;
+ opacity: 0.5;
+ flex: none;
+ place-items: center;
+ width: var(--cell);
+ border-right: 1px solid var(--line);
+ border-bottom: 1px solid var(--line);
+}
- 100% {
- opacity: 1;
- transform: scale(1);
- }
+/* ---- Centre column ---- */
+/* The space the centre column sits over. Empty: it only holds the bands apart
+ so nothing drifts underneath the column. */
+.centreGap {
+ flex: none;
+ width: var(--centre);
}
-.card {
+/* One element over all four rows, so its shadow falls on the bands either side
+ and never on itself. Centred by the auto margins rather than a transform. */
+.centre {
+ --stack-logo-size: 24px;
+ --stack-logo-glyph: 14px;
+
position: absolute;
- z-index: 3;
- top: 50%;
- left: 50%;
+ z-index: 1;
+ inset-block: 0;
+ inset-inline: 0;
display: flex;
- align-items: center;
- justify-content: center;
- padding: 8px;
- transform: translate(-50%, -50%);
- border: 1px solid rgb(255 255 255 / 0.52);
- border-radius: 20px;
- background: rgb(255 255 255 / 0.3);
- box-shadow:
- inset 0 1px 0 rgb(255 255 255 / 0.72),
- 0 8px 24px rgb(10 10 10 / 0.05);
- -webkit-backdrop-filter: blur(12px) saturate(118%);
- backdrop-filter: blur(12px) saturate(118%);
+ flex-direction: column;
+ width: var(--centre);
+ margin-inline: auto;
+ border-inline: 1px solid var(--line);
+ box-shadow: var(--centre-shadow);
}
-.cardInner {
- position: relative;
+/* One per layer, the same height as a band row so the two line up. */
+.centreRow {
display: flex;
align-items: center;
- justify-content: center;
- padding: 11px 19px;
- border: 1px solid rgb(0 0 0 / 0.08);
- border-radius: 16px;
- background: #f7f7f8;
- box-shadow:
- inset 0 2px 1px rgb(255 255 255),
- inset 0 -3px 6px rgb(0 0 0 / 0.04);
+ gap: 0.625rem;
+ height: var(--cell);
+ padding-inline: 0.875rem;
+ border-bottom: 1px solid var(--line);
}
-[data-theme="dark"] .card {
- border-color: rgb(255 255 255 / 0.1);
- background: rgb(24 24 24 / 0.46);
- box-shadow:
- inset 0 1px 0 rgb(255 255 255 / 0.1),
- 0 10px 28px rgb(0 0 0 / 0.18);
-}
-
-[data-theme="dark"] .cardInner {
- border-color: rgb(255 255 255 / 0.11);
- background: #181818;
- box-shadow:
- inset 0 2px 1px rgb(255 255 255 / 0.08),
- inset 0 -3px 6px rgb(0 0 0 / 0.28);
-}
-
-.cardInner h2 {
- margin: 0;
- scroll-margin-top: 300px;
- font-family: var(--home-font-mono, "Geist Mono", monospace);
- font-size: 1rem;
- font-weight: 500;
- line-height: 1.7875;
- letter-spacing: -0.2px;
- text-transform: uppercase;
- white-space: nowrap;
+/* The logos are stacked on top of each other and faded between, so the cell
+ never reflows as they cycle. */
+.centreIcon {
+ position: relative;
+ flex: none;
+ width: 24px;
+ height: 24px;
}
-.branch {
+/* Cross-fade only. Scaling the incoming logo up made it read as smaller and
+ lower than the other rows' for the length of the transition. */
+.centreSlot {
position: absolute;
- z-index: 2;
inset: 0;
- pointer-events: none;
+ opacity: 0;
+ transition: opacity 260ms ease;
}
-.category {
- position: absolute;
- /* Each label sits directly over its connector, masking the rail beneath it. */
- top: 27.124%;
- left: 32.93%;
- transform: translate(-50%, -50%);
- margin: 0;
- padding: 8px 14px;
- border: 1px solid var(--openui-border-default);
- border-radius: var(--openui-radius-full);
- background: var(--openui-foreground);
- font-family: var(--home-font-text);
+.centreSlot[data-active] {
+ opacity: 1;
+}
+
+.centreText {
+ font-family: var(--home-font-mono, "Geist Mono", monospace);
font-size: 0.9375rem;
font-weight: 500;
- line-height: 1.4;
+ line-height: 1.6;
+ letter-spacing: -0.2px;
white-space: nowrap;
+ color: var(--text);
}
-.branch[data-side="right"] .category {
- top: 27.124%;
- left: 67.7%;
-}
-
-.branch[data-row="bottom"] .category {
- top: 72.876%;
- left: 31.8%;
-}
-
-.branch[data-side="right"][data-row="bottom"] .category {
- top: 72.876%;
- left: 68.5%;
-}
-
-.logos {
+/* Names every logo for screen readers, which only ever see the titles. */
+.readerOnly {
position: absolute;
- /* 166 / 612 is the exact top-rail center in the SVG viewBox. */
- top: 27.124%;
- left: 24px;
- display: flex;
- width: 274px;
- align-items: center;
- justify-content: space-between;
- margin: 0;
- padding: 0;
- transform: translateY(-50%);
- list-style: none;
- pointer-events: auto;
-}
-
-.branch[data-side="right"] .logos {
- right: 24px;
- left: auto;
-}
-
-.branch[data-row="bottom"] .logos {
- /* 446 / 612 is the exact bottom-rail center in the SVG viewBox. */
- top: 72.876%;
-}
-
-.logos li {
- position: relative;
- display: flex;
- flex: 0 0 auto;
- align-items: center;
- justify-content: center;
- border-radius: var(--openui-radius-full);
- background: var(--openui-foreground);
-}
-
-:global(.dark) .logos li,
-:global([data-theme="dark"]) .logos li {
- background: var(--openui-text-white);
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ clip-path: inset(50%);
+ white-space: nowrap;
}
-@media (hover: hover) and (pointer: fine) {
- .logos li::after {
- position: absolute;
- z-index: 6;
- bottom: calc(100% + 8px);
- left: 50%;
- padding: 5px 8px;
- transform: translate(-50%, 3px);
- border: 1px solid var(--openui-border-default);
- border-radius: 6px;
- background: var(--openui-text-neutral-primary);
- box-shadow: 0 6px 18px rgb(0 0 0 / 0.1);
- color: var(--openui-foreground);
- content: attr(data-tooltip);
- font-family: var(--home-font-text);
- font-size: 0.6875rem;
- font-weight: 500;
- line-height: 1.25;
- opacity: 0;
- pointer-events: none;
- transition:
- opacity 120ms ease,
- transform 120ms ease;
- white-space: nowrap;
- }
-
- .logos li:hover::after,
- .logos li:focus-visible::after {
- transform: translate(-50%, 0);
- opacity: 1;
- }
-
- .branch[data-side="left"] .logos li:first-child::after {
- left: 0;
- transform: translate(0, 3px);
- }
-
- .branch[data-side="left"] .logos li:first-child:hover::after,
- .branch[data-side="left"] .logos li:first-child:focus-visible::after {
- transform: translate(0, 0);
- }
-
- .branch[data-side="right"] .logos li:last-child::after {
- right: 0;
- left: auto;
- transform: translate(0, 3px);
+@media (prefers-reduced-motion: reduce) {
+ .track {
+ animation: none;
}
- .branch[data-side="right"] .logos li:last-child:hover::after,
- .branch[data-side="right"] .logos li:last-child:focus-visible::after {
- transform: translate(0, 0);
+ .centreSlot {
+ transition: none;
}
}
@media (max-width: 767px) {
.diagram {
- --stack-logo-size: 28px;
- left: auto;
- width: 100%;
- height: 420px;
- transform: none;
- }
-
- .network {
- clip-path: inset(0 8px);
- }
-
- .desktopNetwork {
- display: none;
- }
-
- .mobileNetwork {
- display: block;
- }
-
- .card {
- padding: 6px;
- border-radius: 17px;
- }
-
- .cardInner {
- padding: 9px 14px;
- border-radius: 13px;
- }
-
- .cardInner h2 {
- scroll-margin-top: 140px;
- font-size: 0.75rem;
- line-height: 1.6;
- letter-spacing: -0.1px;
- }
-
- .category {
- max-width: 7.5rem;
- padding: 6px 9px;
- overflow: hidden;
- font-size: 0.72rem;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- .branch[data-side="left"] .category {
- left: 37%;
- }
-
- .branch[data-side="right"] .category {
- left: 63%;
- }
-
- .branch[data-side="left"][data-row="top"] .category,
- .branch[data-side="left"][data-row="top"] .logos {
- top: 22.619%;
- }
-
- .branch[data-side="right"][data-row="top"] .category,
- .branch[data-side="right"][data-row="top"] .logos {
- top: 34.524%;
- }
-
- .branch[data-side="left"][data-row="bottom"] .category,
- .branch[data-side="left"][data-row="bottom"] .logos {
- top: 65.476%;
- }
-
- .branch[data-side="left"][data-row="bottom"] .category {
- left: 37%;
- }
-
- .branch[data-side="right"][data-row="bottom"] .category,
- .branch[data-side="right"][data-row="bottom"] .logos {
- top: 77.381%;
- }
-
- .branch[data-side="right"][data-row="bottom"] .category {
- left: 63%;
- }
-
- .logos {
- width: 64px;
- height: var(--stack-logo-size);
+ --cell: 2.75rem;
}
- .branch[data-side="left"] .logos {
- right: auto;
- left: 8px;
+ .square {
+ --stack-logo-size: 22px;
+ --stack-logo-glyph: 12px;
}
- .branch[data-side="right"] .logos {
- right: 8px;
- left: auto;
+ .centre {
+ --stack-logo-size: 20px;
+ --stack-logo-glyph: 12px;
}
- .logos li {
- position: absolute;
- top: 0;
- opacity: 0;
- animation: mobileLogoCycle 8s ease-in-out infinite;
- animation-delay: var(--mobile-cycle-offset, 0s);
+ .centreRow {
+ gap: 0.5rem;
+ padding-inline: 0.625rem;
}
- .logos li:nth-child(odd) {
- left: 0;
+ .centreIcon {
+ width: 20px;
+ height: 20px;
}
- .logos li:nth-child(even) {
- left: 36px;
- }
-
- .logos li:nth-child(n + 3) {
- animation-delay: calc(var(--mobile-cycle-offset, 0s) - 4s);
- }
-
- .branch[data-row="bottom"] {
- --mobile-cycle-offset: -1s;
- }
-
- .branch[data-side="right"][data-row="top"] {
- --mobile-cycle-offset: -2s;
- }
-
- .branch[data-side="right"][data-row="bottom"] {
- --mobile-cycle-offset: -3s;
- }
-}
-
-@media (max-width: 380px) {
- .cardInner h2 {
- font-size: 0.68rem;
- letter-spacing: 0.015em;
- }
-
- .category {
- max-width: 6.75rem;
- font-size: 0.68rem;
- }
-}
-
-@media (max-width: 359px) {
- .logos {
- width: var(--stack-logo-size);
- }
-
- .logos li,
- .logos li:nth-child(even) {
- left: 0;
- animation-name: mobileLogoSingleCycle;
- }
-
- .logos li:nth-child(2) {
- animation-delay: calc(var(--mobile-cycle-offset, 0s) - 2s);
- }
-
- .logos li:nth-child(3) {
- animation-delay: calc(var(--mobile-cycle-offset, 0s) - 4s);
- }
-
- .logos li:nth-child(4) {
- animation-delay: calc(var(--mobile-cycle-offset, 0s) - 6s);
- }
-}
-
-@media (prefers-reduced-motion: reduce) {
- .pulses path {
- animation: none;
- stroke-dashoffset: 0.45;
- }
-
- .logos li {
- animation: none;
- }
-
- @media (max-width: 767px) {
- .logos li:nth-child(-n + 2) {
- opacity: 1;
- }
-
- .logos li:nth-child(n + 3) {
- display: none;
- }
+ .centreText {
+ font-size: 0.8125rem;
}
}
diff --git a/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.tsx b/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.tsx
index 29fce8603..a313ae566 100644
--- a/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.tsx
+++ b/docs/app/(home)/sections/CompatibilitySection/CompatibilityDiagram.tsx
@@ -1,106 +1,36 @@
-import { useId, type CSSProperties } from "react";
-import { StackChip, type StackChipItem } from "../../components/StackChip/StackChip";
+import type { StackChipItem } from "../../components/StackChip/StackChip";
import styles from "./CompatibilityDiagram.module.css";
+import { StackCentreColumn } from "./StackCentreColumn";
+import { StackLayerRow } from "./StackLayerRow";
type StackGroup = { label: string; items: StackChipItem[] };
-const CONNECTORS = [
- "M640 306H528C477 306 446 279 446 235C446 195 418 166 376 166H0",
- "M640 306H528C477 306 446 333 446 377C446 417 418 446 376 446H0",
- "M640 306H752C803 306 834 279 834 235C834 195 862 166 904 166H1280",
- "M640 306H752C803 306 834 333 834 377C834 417 862 446 904 446H1280",
-];
-
-// Mobile uses four staggered rails rather than forcing both sides onto the
-// same two rows. This keeps the category chips and rotating logos legible in
-// the narrow composition while retaining the same center-in / center-out flow.
-const MOBILE_CONNECTORS = [
- "M180 210H156C142 210 136 198 136 180C136 132 122 95 94 95H0",
- "M180 210H156C142 210 136 222 136 240C136 260 122 275 94 275H0",
- "M180 210H204C218 210 224 198 224 180C224 160 238 145 266 145H360",
- "M180 210H204C218 210 224 222 224 240C224 288 238 325 266 325H360",
-];
-
+/* Four rows of square cells, one per layer, their bands drifting inward in step
+ * so the rows read as one grid rather than four strips. The centre of the grid
+ * is a single column, drawn over all four rows, naming each layer.
+ */
export function CompatibilityDiagram({ groups }: { groups: StackGroup[] }) {
- const id = useId();
-
return (
<div className={styles.diagram}>
- <svg
- className={`${styles.network} ${styles.desktopNetwork}`}
- viewBox="0 0 1280 612"
- preserveAspectRatio="none"
- aria-hidden="true"
- >
- <g className={styles.rails}>
- {CONNECTORS.map((path) => (
- <path key={path} d={path} vectorEffect="non-scaling-stroke" />
- ))}
- </g>
- <g className={styles.pulses}>
- {CONNECTORS.map((path, index) => (
- <path
- key={path}
- d={path}
- pathLength="1"
- vectorEffect="non-scaling-stroke"
- style={{ "--pulse-delay": `${index * -1.4}s` } as CSSProperties}
- />
- ))}
- </g>
- </svg>
-
- <svg
- className={`${styles.network} ${styles.mobileNetwork}`}
- viewBox="0 0 360 420"
- preserveAspectRatio="none"
- aria-hidden="true"
- >
- <g className={styles.rails}>
- {MOBILE_CONNECTORS.map((path) => (
- <path key={path} d={path} vectorEffect="non-scaling-stroke" />
- ))}
- </g>
- <g className={styles.pulses}>
- {MOBILE_CONNECTORS.map((path, index) => (
- <path
- key={path}
- d={path}
- pathLength="1"
- vectorEffect="non-scaling-stroke"
- style={{ "--pulse-delay": `${index * -1.4}s` } as CSSProperties}
- />
- ))}
- </g>
- </svg>
-
- <div className={styles.card}>
- <div className={styles.cardInner}>
- <h2 id="favorite-stack-title">Works with any stack</h2>
- </div>
+ <div className={styles.rows}>
+ {groups.map((group, index) => (
+ <StackLayerRow items={group.items} key={group.label} rowIndex={index} />
+ ))}
+ <StackCentreColumn layers={groups} />
</div>
- {groups.map((group, index) => (
- <div
- key={group.label}
- className={styles.branch}
- data-side={index < 2 ? "left" : "right"}
- data-row={index % 2 === 0 ? "top" : "bottom"}
- role="group"
- aria-labelledby={`${id}-${index}`}
- >
- <h3 id={`${id}-${index}`} className={styles.category}>
- {group.label}
- </h3>
- <ul className={styles.logos}>
- {group.items.slice(0, 4).map((item) => (
- <li key={item.name} data-tooltip={item.name} tabIndex={0}>
- <StackChip item={{ ...item, isBlurred: false }} iconOnly />
- </li>
- ))}
- </ul>
- </div>
- ))}
+ <div className={styles.readerOnly}>
+ {groups.map((group) => (
+ <section key={group.label}>
+ <h3>{group.label}</h3>
+ <ul>
+ {group.items.map((item) => (
+ <li key={item.name}>{item.name}</li>
+ ))}
+ </ul>
+ </section>
+ ))}
+ </div>
</div>
);
}
diff --git a/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.module.css b/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.module.css
index ee905c213..7edace86f 100644
--- a/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.module.css
+++ b/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.module.css
@@ -16,10 +16,21 @@
align-items: center;
}
+/* The heading sits under the diagram, reading on from it, so the gap goes
+ above it. */
.header {
- display: flex;
- justify-content: center;
- width: 100%;
+ max-width: 46rem;
+ margin: clamp(2.5rem, 5vw, 4rem) auto clamp(1rem, 2vw, 1.5rem);
+ text-align: center;
+}
+
+/* The caption, and the only <p> SectionHeader renders here since this header
+ passes no subtitle. Narrower than the heading above it, and balanced so the
+ two lines come out close to even. */
+.header p {
+ max-width: 32rem;
+ margin-inline: auto;
+ text-wrap: balance;
}
.title {
diff --git a/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.tsx b/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.tsx
index b36ee0ce8..c3636bb6c 100644
--- a/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.tsx
+++ b/docs/app/(home)/sections/CompatibilitySection/CompatibilitySection.tsx
@@ -1,6 +1,6 @@
"use client";
-import svgPaths from "@/imports/svg-urruvoh2be";
+import { SectionHeader } from "../../components/SectionHeader/SectionHeader";
import { stackChipStyles, type StackChipItem } from "../../components/StackChip/StackChip";
import { CompatibilityDiagram } from "./CompatibilityDiagram";
import styles from "./CompatibilitySection.module.css";
@@ -10,11 +10,19 @@ interface StackRow {
items: StackChipItem[];
}
-/* Keep the four existing compatibility groups and their supported integrations
- together; every branch uses this same source at every screen size. */
+/* The four compatibility groups, ordered the way the stack is drawn top to
+ bottom: the model at the top, then the service that calls it, the library it
+ renders with, and the client the user touches at the base. The diagram draws
+ one StackLayerRow per group, in this order, and runs that group's own logos
+ past it.
+
+ Every entry needs a real mark. Anything with no logo to be found is left out
+ rather than stood in for by a related company's. */
const STACK_ROWS: StackRow[] = [
{
- label: "LLM",
+ /* OpenAI, xAI and DeepSeek are local files: Simple Icons carries no OpenAI
+ mark, and its "x" is the social network, not xAI. */
+ label: "LLMs",
items: [
{
name: "OpenAI",
@@ -38,11 +46,11 @@ const STACK_ROWS: StackRow[] = [
badgeClassName: `${stackChipStyles.badgeWhite} ${stackChipStyles.badgeWithBorder}`,
},
{
- name: "Mistral",
+ name: "DeepSeek",
iconKind: "image",
- slug: "mistralai",
+ localSrc: "/brand-icons/deepseek.svg",
iconColor: "ffffff",
- badgeClassName: stackChipStyles.badgeMistral,
+ badgeClassName: stackChipStyles.badgeDeepSeek,
},
{
name: "xAI",
@@ -52,23 +60,25 @@ const STACK_ROWS: StackRow[] = [
badgeClassName: stackChipStyles.badgeBlack,
},
{
- name: "DeepSeek",
+ name: "Mistral",
iconKind: "image",
- localSrc: "/brand-icons/deepseek.svg",
+ slug: "mistralai",
iconColor: "ffffff",
- badgeClassName: stackChipStyles.badgeDeepSeek,
+ badgeClassName: stackChipStyles.badgeMistral,
},
],
},
{
+ /* Llama, LlamaIndex and Mastra are absent: no logo could be found for any of
+ them, and a row is better short than wrong. */
label: "Backend",
items: [
{
- name: "Cursor",
+ name: "Vercel AI SDK",
iconKind: "image",
- localSrc: "/brand-icons/cursor.svg",
- iconColor: "000000",
- badgeClassName: `${stackChipStyles.badgeWhite} ${stackChipStyles.badgeWithBorder}`,
+ slug: "vercel",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeBlack,
},
{
name: "LangChain",
@@ -78,116 +88,138 @@ const STACK_ROWS: StackRow[] = [
badgeClassName: stackChipStyles.badgeLangChain,
},
{
- name: "CrewAI",
+ name: "LangGraph",
iconKind: "image",
- slug: "crewai",
+ slug: "langgraph",
iconColor: "ffffff",
- badgeClassName: stackChipStyles.badgeCrewAi,
+ badgeClassName: stackChipStyles.badgeLangChain,
},
{
- name: "OpenAI Agents SDK",
+ name: "Convex",
iconKind: "image",
- localSrc: "/brand-icons/openai.svg",
- iconColor: "000000",
- badgeClassName: `${stackChipStyles.badgeWhite} ${stackChipStyles.badgeWithBorder}`,
+ slug: "convex",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeConvex,
},
{
- name: "Anthropic Agents SDK",
+ name: "Cloudflare",
iconKind: "image",
- slug: "anthropic",
+ slug: "cloudflare",
iconColor: "ffffff",
- badgeClassName: stackChipStyles.badgeAnthropic,
+ badgeClassName: stackChipStyles.badgeCloudflare,
},
],
},
{
- /* Where it renders. Every entry is a package we publish (react-lang,
- vue-lang, svelte-lang, react-email) or a listed integration — no Flutter
- and no direct native, which A2UI has and we do not. */
- label: "Client",
+ label: "UI library",
items: [
{
- name: "React",
- iconKind: "image",
- slug: "react",
- iconColor: "000000",
- badgeClassName: `${stackChipStyles.badgeWhite} ${stackChipStyles.badgeWithBorder}`,
+ name: "OpenUI Design system",
+ iconKind: "mascot",
+ badgeClassName: stackChipStyles.badgeOpenUi,
},
{
- name: "Vue",
+ name: "shadcn/ui",
iconKind: "image",
- slug: "vuedotjs",
+ slug: "shadcnui",
iconColor: "ffffff",
badgeClassName: stackChipStyles.badgeBlack,
},
{
- name: "Svelte",
+ name: "Material UI",
iconKind: "image",
- slug: "svelte",
+ slug: "mui",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeMui,
+ },
+ {
+ name: "Ant Design",
+ iconKind: "image",
+ slug: "antdesign",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeAntDesign,
+ },
+ {
+ name: "Radix UI",
+ iconKind: "image",
+ slug: "radixui",
iconColor: "ffffff",
badgeClassName: stackChipStyles.badgeBlack,
},
{
- name: "React Native",
+ name: "Chakra UI",
iconKind: "image",
- slug: "react",
- iconColor: "000000",
- badgeClassName: `${stackChipStyles.badgeWhite} ${stackChipStyles.badgeWithBorder}`,
+ slug: "chakraui",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeChakra,
},
{
- name: "Lynx",
+ name: "Mantine",
iconKind: "image",
- localSrc: "/integration-logos/lynx.svg",
+ slug: "mantine",
iconColor: "ffffff",
- badgeClassName: `${stackChipStyles.badgeWhite} ${stackChipStyles.badgeWithBorder}`,
+ badgeClassName: stackChipStyles.badgeMantine,
},
{
- name: "Email",
- iconKind: "text",
- iconText: "@",
- badgeClassName: stackChipStyles.badgeBlack,
+ name: "daisyUI",
+ iconKind: "image",
+ slug: "daisyui",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeDaisyUi,
},
],
},
{
- label: "Design library",
+ label: "Clients",
items: [
{
- name: "OpenUI Design system",
- iconKind: "mascot",
- badgeClassName: stackChipStyles.badgeOpenUi,
+ name: "React",
+ iconKind: "image",
+ slug: "react",
+ iconColor: "000000",
+ badgeClassName: `${stackChipStyles.badgeWhite} ${stackChipStyles.badgeWithBorder}`,
},
{
- name: "ShadCN",
- iconKind: "vector",
+ name: "Next.js",
+ iconKind: "image",
+ slug: "nextdotjs",
+ iconColor: "ffffff",
badgeClassName: stackChipStyles.badgeBlack,
- iconViewBox: "0 0 24 24",
- iconPath: svgPaths.p46a4800,
- iconFill: "white",
- clipId: "clip_shadcn",
- clipSize: "24",
- },
- {
- name: "Material Design system",
- iconKind: "vector",
- badgeClassName: stackChipStyles.badgeMaterial,
- iconViewBox: "0 0 30 30",
- iconPath: svgPaths.p3a7bdd80,
- iconFill: "white",
- clipId: "clip_material",
- clipSize: "30",
- },
- {
- name: "DaisyUI",
- iconKind: "text",
- iconText: "D",
- badgeClassName: stackChipStyles.badgeDaisyUi,
},
{
- name: "Base UI",
- iconKind: "text",
- iconText: "B",
- badgeClassName: stackChipStyles.badgeBaseUi,
+ name: "Vue",
+ iconKind: "image",
+ slug: "vuedotjs",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeBlack,
+ },
+ {
+ name: "Svelte",
+ iconKind: "image",
+ slug: "svelte",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeBlack,
+ },
+ {
+ name: "Angular",
+ iconKind: "image",
+ slug: "angular",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeBlack,
+ },
+ {
+ name: "Nuxt",
+ iconKind: "image",
+ slug: "nuxt",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeNuxt,
+ },
+ {
+ name: "Remix",
+ iconKind: "image",
+ slug: "remix",
+ iconColor: "ffffff",
+ badgeClassName: stackChipStyles.badgeBlack,
},
],
},
@@ -204,6 +236,19 @@ export function CompatibilitySection({ embedded = false }: { embedded?: boolean
<div className={styles.stack}>
<CompatibilityDiagram groups={STACK_ROWS} />
</div>
+ {/* Sits under the diagram, reading as its caption. Same treatment as the
+ benchmark header above this band, so the two read as peers, and
+ titleId keeps the section's aria-labelledby valid. */}
+ <div className={styles.header}>
+ {/* The diagram is images and a hidden list, so the caption is what
+ puts this band's claim into crawlable body text. One clause per
+ row above it, in the same order. */}
+ <SectionHeader
+ caption="Generative UI that renders in any client framework, uses any component library, and runs on any agent backend or model."
+ title="...and works with your stack."
+ titleId="favorite-stack-title"
+ />
+ </div>
</div>
</section>
);
diff --git a/docs/app/(home)/sections/CompatibilitySection/StackCentreColumn.tsx b/docs/app/(home)/sections/CompatibilitySection/StackCentreColumn.tsx
new file mode 100644
index 000000000..cfa95091c
--- /dev/null
+++ b/docs/app/(home)/sections/CompatibilitySection/StackCentreColumn.tsx
@@ -0,0 +1,78 @@
+"use client";
+
+import { useEffect, useState } from "react";
+import { StackChip, type StackChipItem } from "../../components/StackChip/StackChip";
+import styles from "./CompatibilityDiagram.module.css";
+
+/* The whole centre of the diagram as one element: every layer's logo and title,
+ * stacked, sitting over the drifting bands and lining up with their rows.
+ *
+ * One element rather than one per row, so the shadow it casts onto the bands is
+ * a single shadow around a single box. Four stacked boxes each cast onto the
+ * ones above and below them, which are the rest of this same column.
+ */
+
+/* How long a layer's logo holds before crossing to the next one. */
+const SWAP_MS = 2200;
+
+interface Layer {
+ label: string;
+ items: StackChipItem[];
+}
+
+function CentreEntry({ label, items, swapDelay }: Layer & { swapDelay: number }) {
+ const [active, setActive] = useState(0);
+
+ /* Held still for anyone who has asked for reduced motion, since it is
+ content changing on its own. */
+ useEffect(() => {
+ if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
+
+ let interval = 0;
+ const lead = window.setTimeout(() => {
+ interval = window.setInterval(() => {
+ setActive((current) => (current + 1) % items.length);
+ }, SWAP_MS);
+ }, swapDelay);
+
+ return () => {
+ window.clearTimeout(lead);
+ window.clearInterval(interval);
+ };
+ }, [items.length, swapDelay]);
+
+ return (
+ <div className={styles.centreRow}>
+ {/* All of them are mounted and only one is shown, so changing logo is a
+ cross-fade rather than an image load. */}
+ <div aria-hidden="true" className={styles.centreIcon}>
+ {items.map((item, index) => (
+ <div
+ className={styles.centreSlot}
+ data-active={index === active || undefined}
+ key={item.name}
+ >
+ <StackChip item={{ ...item, isBlurred: false }} iconOnly />
+ </div>
+ ))}
+ </div>
+ <span className={styles.centreText}>{label}</span>
+ </div>
+ );
+}
+
+export function StackCentreColumn({ layers }: { layers: Layer[] }) {
+ return (
+ <div className={styles.centre}>
+ {layers.map((layer, index) => (
+ <CentreEntry
+ items={layer.items}
+ key={layer.label}
+ label={layer.label}
+ /* Staggered, so the four titles do not all change logo together. */
+ swapDelay={index * 550}
+ />
+ ))}
+ </div>
+ );
+}
diff --git a/docs/app/(home)/sections/CompatibilitySection/StackLayerRow.tsx b/docs/app/(home)/sections/CompatibilitySection/StackLayerRow.tsx
new file mode 100644
index 000000000..3d284f78d
--- /dev/null
+++ b/docs/app/(home)/sections/CompatibilitySection/StackLayerRow.tsx
@@ -0,0 +1,81 @@
+"use client";
+
+import { StackChip, type StackChipItem } from "../../components/StackChip/StackChip";
+import styles from "./CompatibilityDiagram.module.css";
+
+/* One layer of the stack: two bands of logo cells drifting inward from either
+ * side, with the space between them left for the centre column, which spans
+ * every row and is drawn once by StackCentreColumn.
+ *
+ * The bands are decorative and repeat, so the real, named list lives in the
+ * diagram's hidden summary, where each logo appears once under its layer.
+ */
+
+/* Cells in one pass of a band. The pass is rendered twice so the drift can
+ restart without a seam, so half of it has to cover a band's width: at the
+ diagram's widest that is (56rem - the centre) / 2, well under ten cells. */
+const SEQUENCE_CELLS = 10;
+
+/* A stable 0..1 from a seed. Deterministic, so the server and the client agree,
+ and the logos still look unsorted rather than cycling in order. */
+function hash(seed: number) {
+ const seeded = Math.sin(seed) * 43758.5453;
+ return seeded - Math.floor(seeded);
+}
+
+/* One pass of a band. Each side of each row gets its own, so the two bands are
+ not mirror images of each other. */
+function bandSequence(rowIndex: number, side: number, items: StackChipItem[]) {
+ const picked: StackChipItem[] = [];
+
+ for (let cell = 0; cell < SEQUENCE_CELLS; cell += 1) {
+ let index = Math.floor(hash(rowIndex * 31.7 + side * 97.3 + cell * 13.1) * items.length);
+
+ /* Step along rather than repeat the logo next door, including across the
+ seam where the pass loops back on itself. Bounded, since a short enough
+ list can leave nothing else to pick. */
+ const neighbours = [picked[cell - 1], cell === SEQUENCE_CELLS - 1 ? picked[0] : undefined];
+ for (let tries = 0; tries < items.length && neighbours.includes(items[index]); tries += 1) {
+ index = (index + 1) % items.length;
+ }
+
+ picked.push(items[index]);
+ }
+
+ return picked;
+}
+
+export interface StackLayerRowProps {
+ items: StackChipItem[];
+ /* Row's place in the diagram, which seeds its bands. */
+ rowIndex: number;
+}
+
+export function StackLayerRow({ items, rowIndex }: StackLayerRowProps) {
+
+ const band = (side: number, direction: string) => {
+ const sequence = bandSequence(rowIndex, side, items);
+
+ return (
+ <div aria-hidden="true" className={styles.rail}>
+ <div className={`${styles.track} ${direction}`}>
+ {[...sequence, ...sequence].map((item, position) => (
+ <div className={styles.square} key={position}>
+ <StackChip item={{ ...item, isBlurred: false }} iconOnly />
+ </div>
+ ))}
+ </div>
+ </div>
+ );
+ };
+
+ return (
+ <div className={styles.row}>
+ {band(0, styles.trackInFromLeft)}
+ {/* The centre column's footprint. It is drawn over this, once for the
+ whole diagram, so nothing is rendered here. */}
+ <div className={styles.centreGap} />
+ {band(1, styles.trackInFromRight)}
+ </div>
+ );
+}
diff --git a/docs/app/(home)/sections/FaqSection/FaqSection.module.css b/docs/app/(home)/sections/FaqSection/FaqSection.module.css
index 36e13644e..f03745e5d 100644
--- a/docs/app/(home)/sections/FaqSection/FaqSection.module.css
+++ b/docs/app/(home)/sections/FaqSection/FaqSection.module.css
@@ -3,7 +3,7 @@
--faq-text: var(--openui-text-neutral-primary);
--faq-muted: var(--openui-text-neutral-secondary);
--faq-surface: #fff;
- --faq-border: rgba(10, 10, 10, 0.035);
+ --faq-border: rgba(10, 10, 10, 0.08);
display: grid;
grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
@@ -20,7 +20,7 @@
[data-theme="dark"] .section {
--faq-surface: rgba(255, 255, 255, 0.042);
- --faq-border: rgba(255, 255, 255, 0.04);
+ --faq-border: rgba(255, 255, 255, 0.09);
}
/* ---- Left column ---- */
@@ -131,11 +131,11 @@
.marker {
position: relative;
flex: none;
- width: 14px;
- height: 14px;
+ width: 10px;
+ height: 10px;
/* Nudged onto the first line's optical centre. */
- margin-top: 5px;
- color: var(--faq-muted);
+ margin-top: 7px;
+ color: var(--faq-text);
}
.marker::before,
diff --git a/docs/app/(home)/sections/FaqSection/FaqSection.tsx b/docs/app/(home)/sections/FaqSection/FaqSection.tsx
index 63085d8ae..385c5e7c1 100644
--- a/docs/app/(home)/sections/FaqSection/FaqSection.tsx
+++ b/docs/app/(home)/sections/FaqSection/FaqSection.tsx
@@ -94,7 +94,9 @@ export function FaqSection({
<p className={styles.note}>
{contact ?? (
<>
- Have another question? Join our{" "}
+ Have another question?
+ <br />
+ Join our{" "}
<a
className={styles.noteLink}
href="https://discord.com/invite/Pbv5PsqUSv"
diff --git a/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.module.css b/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.module.css
index 804f51c61..f997b9ed7 100644
--- a/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.module.css
+++ b/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.module.css
@@ -1,4 +1,18 @@
+/* Every colour comes through the --fg-* tokens below, each of which takes a
+ --feature-grid-* override first. The indirection is what makes a host able to
+ re-point them: .section declares --fg-* on itself, so a value inherited from
+ an ancestor under that same name would lose to it. The product bands set the
+ --feature-grid-* names, because the Cloud band inverts independently of the
+ page and the page tokens leave the rows and icon tiles invisible on it. */
.section {
+ --fg-text: var(--feature-grid-text, var(--openui-text-neutral-primary));
+ --fg-muted: var(--feature-grid-muted, var(--openui-text-neutral-secondary));
+ --fg-faint: var(--feature-grid-faint, var(--openui-text-neutral-tertiary));
+ --fg-line: var(--feature-grid-line, var(--home-hairline));
+ --fg-surface: var(--feature-grid-surface, var(--openui-foreground));
+ --fg-border: var(--feature-grid-border, var(--openui-border-default));
+ --fg-shadow: var(--feature-grid-shadow, var(--home-shadow-card));
+
width: 100%;
padding: 0 var(--home-section-padding-inline);
}
@@ -23,7 +37,7 @@
font-weight: var(--home-title-weight);
line-height: var(--home-title-leading);
letter-spacing: var(--home-title-tracking);
- color: var(--openui-text-neutral-primary);
+ color: var(--fg-text);
text-wrap: balance;
}
@@ -67,8 +81,8 @@
background: linear-gradient(
to right,
transparent,
- var(--home-hairline) 15%,
- var(--home-hairline) 85%,
+ var(--fg-line) 15%,
+ var(--fg-line) 85%,
transparent
);
}
@@ -76,7 +90,7 @@
.icon {
display: inline-flex;
margin-bottom: 0.25rem;
- color: var(--openui-text-neutral-primary);
+ color: var(--fg-text);
}
.iconPlaceholder {
@@ -93,14 +107,14 @@
font-weight: var(--home-heading-weight);
line-height: var(--home-heading-leading);
letter-spacing: var(--home-heading-tracking);
- color: var(--openui-text-neutral-primary);
+ color: var(--fg-text);
}
.featureDescription {
margin: 0;
font-size: var(--home-body-size);
line-height: var(--home-body-leading);
- color: var(--openui-text-neutral-secondary);
+ color: var(--fg-muted);
}
.featureDescription a {
@@ -134,8 +148,8 @@
background: linear-gradient(
to right,
transparent,
- var(--home-hairline) 8%,
- var(--home-hairline) 92%,
+ var(--fg-line) 8%,
+ var(--fg-line) 92%,
transparent
);
}
@@ -171,15 +185,9 @@
.grid {
grid-template-columns: repeat(3, 1fr);
background-image:
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(
- to right,
- transparent,
- var(--home-hairline) 8%,
- var(--home-hairline) 92%,
- transparent
- );
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(to right, transparent, var(--fg-line) 8%, var(--fg-line) 92%, transparent);
background-size:
1px 100%,
1px 100%,
@@ -191,24 +199,19 @@
background-repeat: no-repeat;
}
- /* Vertical column dividers fade out toward the bottom (size/position inherited). */
+ /* Vertical column dividers fade in at the top and out toward the bottom
+ (size/position inherited). */
.gridFadeLines {
background-image:
- linear-gradient(var(--home-hairline), transparent),
- linear-gradient(var(--home-hairline), transparent),
- linear-gradient(
- to right,
- transparent,
- var(--home-hairline) 8%,
- var(--home-hairline) 92%,
- transparent
- );
+ linear-gradient(transparent, var(--fg-line) 10%, transparent),
+ linear-gradient(transparent, var(--fg-line) 10%, transparent),
+ linear-gradient(to right, transparent, var(--fg-line) 8%, var(--fg-line) 92%, transparent);
}
.gridSingleRow {
background-image:
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(var(--home-hairline), var(--home-hairline));
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent);
background-size:
1px 100%,
1px 100%;
@@ -221,16 +224,10 @@
.gridFourColumns {
grid-template-columns: repeat(4, 1fr);
background-image:
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(
- to right,
- transparent,
- var(--home-hairline) 8%,
- var(--home-hairline) 92%,
- transparent
- );
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(to right, transparent, var(--fg-line) 8%, var(--fg-line) 92%, transparent);
background-size:
1px 100%,
1px 100%,
@@ -246,9 +243,9 @@
.gridFourColumns.gridSingleRow {
background-image:
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(var(--home-hairline), var(--home-hairline)),
- linear-gradient(var(--home-hairline), var(--home-hairline));
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
+ linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent);
background-size:
1px 100%,
1px 100%,
@@ -286,8 +283,8 @@
background-image: linear-gradient(
to right,
transparent,
- var(--home-hairline) 8%,
- var(--home-hairline) 92%,
+ var(--fg-line) 8%,
+ var(--fg-line) 92%,
transparent
);
background-size: 100% 1px;
@@ -306,7 +303,7 @@
.gridBalancedLastRow > .feature:nth-child(2),
.gridBalancedLastRow > .feature:nth-child(3),
.gridBalancedLastRow > .feature:nth-child(5) {
- border-left: 1px solid var(--home-hairline);
+ border-left: 1px solid var(--fg-line);
}
.gridBalancedLastRow.gridFlushOuterCards > :nth-child(5) {
@@ -334,7 +331,7 @@
width: auto;
max-width: none;
margin-inline: calc(0px - var(--home-section-padding-inline));
- background: linear-gradient(to right, transparent, var(--home-hairline) 15%);
+ background: linear-gradient(to right, transparent, var(--fg-line) 15%);
}
/* Feature rows: icon tile (left) + title, chevron (right), description below
@@ -360,7 +357,7 @@
out on the left. */
.feature:not(:first-child)::before {
inset-inline: calc(0px - var(--home-section-padding-inline));
- background: linear-gradient(to right, transparent, var(--home-hairline) 15%);
+ background: linear-gradient(to right, transparent, var(--fg-line) 15%);
}
/* Icon tile, matching the stepper number tile. */
@@ -375,11 +372,11 @@
width: 1.375rem;
height: 1.375rem;
margin-bottom: 0;
- border: 1px solid var(--openui-border-default);
+ border: 1px solid var(--fg-border);
border-radius: 0.4rem;
- background: var(--openui-foreground);
- box-shadow: var(--home-shadow-card);
- color: var(--openui-text-neutral-secondary);
+ background: var(--fg-surface);
+ box-shadow: var(--fg-shadow);
+ color: var(--fg-muted);
opacity: 1;
}
@@ -431,7 +428,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
- color: var(--openui-text-neutral-tertiary);
+ color: var(--fg-faint);
transition: transform 0.2s ease;
}
diff --git a/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.tsx b/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.tsx
index 3c5f83d36..3b90ad374 100644
--- a/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.tsx
+++ b/docs/app/(home)/sections/FeatureGridSection/FeatureGridSection.tsx
@@ -1,6 +1,8 @@
"use client";
import {
+ ArrowsClockwise,
+ ArrowsLeftRight,
ArrowUpRight,
Broadcast,
ChartLineUp,
@@ -10,10 +12,14 @@ import {
Devices,
Handshake,
Key,
+ MagnifyingGlass,
+ PlayCircle,
Plugs,
Pulse,
PuzzlePiece,
ShieldCheck,
+ WarningDiamond,
+ Wrench,
type Icon,
} from "@phosphor-icons/react";
import type { ReactNode } from "react";
@@ -69,6 +75,14 @@ const FEATURES: GridFeature[] = [
const FEATURE_ICONS = {
chart: ChartLineUp,
cloud: CloudArrowUp,
+ /* Keys, not components: a server component can name one of these, but cannot
+ pass a component across the boundary into this client module. */
+ refresh: ArrowsClockwise,
+ replay: PlayCircle,
+ repair: Wrench,
+ search: MagnifyingGlass,
+ swap: ArrowsLeftRight,
+ warning: WarningDiamond,
database: Database,
devices: Devices,
handshake: Handshake,
@@ -86,6 +100,7 @@ export function FeatureGridSection({
lead,
showHeader = true,
showHeaderSeparator = true,
+ showCompatSeparator = true,
showCompat = true,
compatFirst = false,
gridFirst = false,
@@ -106,6 +121,8 @@ export function FeatureGridSection({
showHeader?: boolean;
/** The rule under that header. Off when there is no grid for it to divide. */
showHeaderSeparator?: boolean;
+ /** The rule above the compatibility band when it follows the grid. */
+ showCompatSeparator?: boolean;
/** The "Works with your stack" compatibility band (OpenUI-specific). */
showCompat?: boolean;
/** Put that band above the header instead of below the grid. */
@@ -218,7 +235,7 @@ export function FeatureGridSection({
{!gridFirst && gridBlock}
{!compatFirst && compatBand && (
<>
- <div className={styles.separator} />
+ {showCompatSeparator && <div className={styles.separator} />}
{compatBand}
</>
)}
diff --git a/docs/app/(home)/sections/ProductSection/ProductSection.module.css b/docs/app/(home)/sections/ProductSection/ProductSection.module.css
index 27c16834d..fccdcd7ac 100644
--- a/docs/app/(home)/sections/ProductSection/ProductSection.module.css
+++ b/docs/app/(home)/sections/ProductSection/ProductSection.module.css
@@ -10,7 +10,17 @@
/* One fill and one edge for the stage, the cards and the icon tiles, so the
band reads as a single material. */
--ps-surface: #fff;
+ /* The base colour FadedDither paints, so the stage's edge is the same grey as
+ its fill. Keep in step with TONES in FadedDitherCanvas.tsx: light #f8f8f8,
+ dark #0e0e0e. Which one applies follows the ground, exactly as the shader's
+ own tone does. */
+ --ps-stage-stroke: #f8f8f8;
--ps-border: rgba(10, 10, 10, 0.035);
+ /* A divider across the band, not a card edge: --ps-border is tuned to be
+ almost invisible against the surface it outlines and disappears when used
+ as a rule. */
+ --ps-line: rgba(10, 10, 10, 0.09);
+ --ps-shadow: none;
display: flex;
flex-direction: column;
@@ -28,9 +38,12 @@
[data-theme="dark"] .product {
--ps-surface: rgba(255, 255, 255, 0.042);
+ --ps-stage-stroke: #0e0e0e;
--ps-border: rgba(255, 255, 255, 0.04);
+ --ps-line: rgba(255, 255, 255, 0.14);
--ps-mark-bg: #fff;
--ps-mark-fg: #0a0a0a;
+ --ps-shadow: none;
}
/* Pinned rather than theme-derived: on a light page this tone sits on black. */
@@ -38,9 +51,12 @@
--ps-text: #fff;
--ps-muted: rgba(255, 255, 255, 0.6);
--ps-surface: rgba(255, 255, 255, 0.042);
+ --ps-stage-stroke: #0e0e0e;
--ps-border: rgba(255, 255, 255, 0.04);
+ --ps-line: rgba(255, 255, 255, 0.14);
--ps-mark-bg: #fff;
--ps-mark-fg: #0a0a0a;
+ --ps-shadow: none;
}
/* ---- Lockup ---- */
@@ -137,6 +153,7 @@
border: 1px solid var(--ps-border);
border-radius: 20px;
background: var(--ps-surface);
+ box-shadow: var(--ps-shadow);
}
/* Some final illustrations already contain their own app frame. Nesting those
@@ -144,18 +161,47 @@
crop directly to the section bounds instead. */
.stageFullBleed {
padding: 0;
- border: 0;
+ /* The shader's own grey, used as an edge, so the stage's outline is the same
+ shade as the fill inside it. */
+ border: 1px solid var(--ps-stage-stroke);
border-radius: 24px;
background: transparent;
+ /* The cards keep --ps-shadow; a full-bleed stage does not want the lift. */
+ box-shadow: none;
+}
+
+/* Fills the stage behind the artwork. The stage clips it, so it picks up the
+ rounded corners without needing its own. */
+.stageShader {
+ position: absolute;
+ z-index: 0;
+ inset: 0;
+}
+
+.stageShader > * {
+ width: 100%;
+ height: 100%;
}
.stageImage {
+ position: relative;
+ z-index: 1;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 12px;
}
+/* The breakpoint switches these wrappers; the theme rules below pick which
+ image inside the visible one shows. */
+.stageWide {
+ display: contents;
+}
+
+.stageCompact {
+ display: none;
+}
+
.stageDark {
display: none;
}
@@ -168,7 +214,9 @@
display: block;
}
-/* The dark band shows the dark artwork on either page theme. */
+/* The dark band is black in light theme, so it wants the dark artwork. The
+ pair under [data-theme="dark"] below flips this back, because the band
+ inverts to white there. */
.onDark .stageLight {
display: none;
}
@@ -178,6 +226,20 @@
}
/* ---- Cards ---- */
+/* The phone-only accordion. The band's own tokens are handed to the grid here:
+ it defaults to the page tokens, which go invisible on the Cloud band because
+ that band inverts independently of the page theme. */
+.cardsCompact {
+ display: none;
+ --feature-grid-text: var(--ps-text);
+ --feature-grid-muted: var(--ps-muted);
+ --feature-grid-faint: var(--ps-muted);
+ --feature-grid-line: var(--ps-line);
+ --feature-grid-surface: var(--ps-surface);
+ --feature-grid-border: var(--ps-border);
+ --feature-grid-shadow: var(--ps-shadow);
+}
+
.cards {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
@@ -194,6 +256,7 @@
border: 1px solid var(--ps-border);
border-radius: 16px;
background: var(--ps-surface);
+ box-shadow: var(--ps-shadow);
}
.cardIcon {
@@ -239,13 +302,39 @@
}
@media (max-width: 767px) {
+ .stageWide {
+ display: none;
+ }
+
+ .stageCompact {
+ display: contents;
+ }
+
+ /* The lockup stops being a container here: display:contents drops its
+ children into the band's own column, so the description can be ordered
+ below the stage. The desktop grid has the description beside the headline
+ and no room for that, which is why it is an order swap and not markup. */
.lockup {
- grid-template-columns: minmax(0, 1fr);
- gap: 0.75rem;
+ display: contents;
+ }
+
+ .lead {
+ /* The lockup's own bottom margin, which display:contents discards. */
+ margin-bottom: clamp(0.75rem, 2vw, 1.75rem);
+ order: 1;
+ }
+
+ .stage {
+ order: 2;
}
.description {
padding-top: 0;
+ order: 3;
+ }
+
+ .cardsCompact {
+ order: 4;
}
.headline {
@@ -259,26 +348,11 @@
}
.cards {
- grid-template-columns: none;
- grid-auto-columns: clamp(15.5rem, 76vw, 18rem);
- grid-auto-flow: column;
- justify-content: start;
- overflow-x: auto;
- overscroll-behavior-inline: contain;
- padding-bottom: 0.25rem;
- scroll-padding-inline: 0.125rem;
- scroll-snap-type: inline mandatory;
- scrollbar-width: none;
- -webkit-overflow-scrolling: touch;
- }
-
- .cards::-webkit-scrollbar {
display: none;
}
- .card {
- scroll-snap-align: start;
- scroll-snap-stop: always;
+ .cardsCompact {
+ display: block;
}
/* The buttons go full width on phones, so stack them rather than wrapping. */
@@ -296,7 +370,12 @@
--ps-text: #0a0a0a;
--ps-muted: rgba(10, 10, 10, 0.6);
--ps-surface: #fff;
- --ps-border: rgba(10, 10, 10, 0.035);
+ --ps-stage-stroke: #f8f8f8;
+ /* The band is white here and so are the cards, so the edge and the lift are
+ the only things separating them from the ground. */
+ --ps-border: rgba(10, 10, 10, 0.08);
+ --ps-line: rgba(10, 10, 10, 0.12);
+ --ps-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 2px 8px rgba(10, 10, 10, 0.04);
--ps-mark-bg: #0a0a0a;
--ps-mark-fg: #fff;
}
diff --git a/docs/app/(home)/sections/ProductSection/ProductSection.tsx b/docs/app/(home)/sections/ProductSection/ProductSection.tsx
index dc3b09a51..d7c1c8fe2 100644
--- a/docs/app/(home)/sections/ProductSection/ProductSection.tsx
+++ b/docs/app/(home)/sections/ProductSection/ProductSection.tsx
@@ -6,10 +6,16 @@ import { ArrowRight, ArrowUpRight } from "@phosphor-icons/react/dist/ssr";
import Image from "next/image";
import type { CSSProperties, ReactNode } from "react";
import { BevelButton } from "../../components/Button/BevelButton";
+import { FadedDither } from "../../components/FadedDither/FadedDither";
+import { FeatureGridSection, type GridFeatureIcon } from "../FeatureGridSection/FeatureGridSection";
import styles from "./ProductSection.module.css";
export type ProductCard = {
Icon: Icon;
+ /* The same icon named as a string. The phone layout hands these cards to
+ FeatureGridSection, which is a client component, and a component reference
+ cannot cross that boundary from here. */
+ icon: GridFeatureIcon;
title: string;
description: string;
};
@@ -146,45 +152,95 @@ export function ProductSection({
} as CSSProperties
}
>
+ {/* Behind the artwork, filling the transparent margin it is drawn with.
+ Client-only, since it is WebGPU. */}
+ <FadedDither band={tone} className={styles.stageShader} />
{art ??
(shot ? (
+ /* Two pairs, each in a wrapper the breakpoint switches off. The
+ phone artwork is a different drawing at 1440x1200, not the wide
+ one rescaled. The wrapper is display:contents when shown, so the
+ theme rules keep working on the images untouched. */
<>
- <Image
- className={`${styles.stageImage} ${styles.stageLight}`}
- src={`${shot}-light.webp`}
- alt=""
- aria-hidden="true"
- width={1280}
- height={720}
- loading="lazy"
- />
- <Image
- className={`${styles.stageImage} ${styles.stageDark}`}
- src={`${shot}-dark.webp`}
- alt=""
- aria-hidden="true"
- width={1280}
- height={720}
- loading="lazy"
- />
+ <span className={styles.stageWide}>
+ <Image
+ className={`${styles.stageImage} ${styles.stageLight}`}
+ src={`${shot}-light.webp`}
+ alt=""
+ aria-hidden="true"
+ width={1280}
+ height={720}
+ loading="lazy"
+ />
+ <Image
+ className={`${styles.stageImage} ${styles.stageDark}`}
+ src={`${shot}-dark.webp`}
+ alt=""
+ aria-hidden="true"
+ width={1280}
+ height={720}
+ loading="lazy"
+ />
+ </span>
+ <span className={styles.stageCompact}>
+ <Image
+ className={`${styles.stageImage} ${styles.stageLight}`}
+ src={`${shot}-mobile-light.webp`}
+ alt=""
+ aria-hidden="true"
+ width={720}
+ height={600}
+ loading="lazy"
+ />
+ <Image
+ className={`${styles.stageImage} ${styles.stageDark}`}
+ src={`${shot}-mobile-dark.webp`}
+ alt=""
+ aria-hidden="true"
+ width={720}
+ height={600}
+ loading="lazy"
+ />
+ </span>
</>
) : null)}
</div>
{cards.length > 0 && (
- <div className={styles.cards}>
- {cards.map(({ Icon: CardIcon, title, description: cardCopy }) => (
- <div className={styles.card} key={title}>
- <span className={styles.cardIcon} aria-hidden="true">
- <CardIcon size={20} weight="light" />
- </span>
- <div className={styles.cardCopy}>
- <h4 className={styles.cardTitle}>{title}</h4>
- <p className={styles.cardDescription}>{cardCopy}</p>
+ <>
+ <div className={styles.cards}>
+ {cards.map(({ Icon: CardIcon, title, description: cardCopy }) => (
+ <div className={styles.card} key={title}>
+ <span className={styles.cardIcon} aria-hidden="true">
+ <CardIcon size={20} weight="light" />
+ </span>
+ <div className={styles.cardCopy}>
+ <h4 className={styles.cardTitle}>{title}</h4>
+ <p className={styles.cardDescription}>{cardCopy}</p>
+ </div>
</div>
- </div>
- ))}
- </div>
+ ))}
+ </div>
+
+ {/* Phones get the same capabilities as feature-grid rows, one open at
+ a time, so they read as the grid under the Lang band rather than
+ as a horizontal scroller of cards. The breakpoint shows exactly
+ one of the two. */}
+ <div className={styles.cardsCompact}>
+ <FeatureGridSection
+ features={cards.map(({ icon, title, description: cardCopy }) => ({
+ icon,
+ title,
+ description: cardCopy,
+ }))}
+ showHeader={false}
+ showHeaderSeparator={false}
+ showCompat={false}
+ showBottomSeparator={false}
+ flushSectionPadding
+ />
+ </div>
+ </>
)}
</section>
);
diff --git a/docs/app/(home)/sections/ProductSection/products.ts b/docs/app/(home)/sections/ProductSection/products.ts
index 61e7d94b4..86b496e86 100644
--- a/docs/app/(home)/sections/ProductSection/products.ts
+++ b/docs/app/(home)/sections/ProductSection/products.ts
@@ -8,8 +8,6 @@ import {
WarningDiamond,
Wrench,
} from "@phosphor-icons/react/dist/ssr";
-import { createElement } from "react";
-import { GatewayReliabilityDashboardIllustration } from "../ProductIllustrations/ProductIllustrations";
import type { ProductSectionProps } from "./ProductSection";
/* The product bands, in the order the page tells them: what OpenUI is, then
@@ -19,18 +17,15 @@ import type { ProductSectionProps } from "./ProductSection";
early access the home page gives it a line rather than a band. Its props are
kept here so promoting it back is a one-line change in CloudSection.
*
- * ARTWORK PENDING. None of the three has a `shot` yet, so each stage renders
- * empty, holding its space. Add the images to /public and set `shot` to their
- * basename (minus -light/-dark.webp); nothing else needs to change.
- *
- * What each visual should show:
- * Lang a prompt transforming into OpenUI Lang, then into a rich
- * interactive interface
- * Gateway code switching the OpenAI baseURL to OpenUI Gateway, the
- * request flowing through Route, Validate, Correct, Fallback,
- * Model
- * Observability the OpenUI Console: a generated UI session on one side, its
- * events, interactions, errors and insights on the other
+ * ARTWORK. Each band's `shot` is a basename; ProductSection appends
+ * -light.webp and -dark.webp. The suffix is the picture's own tone, not the
+ * page theme: the stylesheet picks the one that suits whatever the band's
+ * background happens to be, which for the dark band is black in light theme
+ * and white in dark theme. The export these came from names its folders the
+ * other way round, so Gateway's and Observability's are swapped relative to it.
+ * Every file is 1120x440 at 1x with its own transparent margin baked in, so
+ * all three set fullBleedArt and sit directly on the section rather than
+ * inside a stage frame.
*
* Homepage labels use the same outlined product-name chips as the product pages.
*
@@ -50,7 +45,11 @@ export const LANG_PRODUCT: ProductSectionProps = {
"Make your AI agents stream live charts, forms, cards, tables, and dashboards faster, with fewer tokens.",
secondaryCta: { label: "View docs", href: "/docs/openui-lang" },
tone: "light",
+ shot: "/homepage/openui-lang",
+ fullBleedArt: true,
stageAspectRatio: "1120 / 440",
+ /* The phone artwork is a different drawing, at 1440x1200. */
+ stageMobileAspectRatio: "1440 / 1200",
/* No cards. Interactive, Bring your UI library, Safe by default and Stream UI
live all moved to the feature grid directly below this band, which states
them once alongside Live data and Cross-platform. */
@@ -70,28 +69,35 @@ export const GATEWAY_PRODUCT: ProductSectionProps = {
},
secondaryCta: { label: "Learn more", href: "/cloud/gateway" },
tone: "dark",
- art: createElement(GatewayReliabilityDashboardIllustration, { inverted: true }),
+ shot: "/homepage/gateway",
fullBleedArt: true,
+ /* No mobile override: the artwork is drawn at this ratio, and cropping it to
+ a squarer one on phones cuts into the content. */
stageAspectRatio: "1120 / 440",
- stageMobileAspectRatio: "4 / 2.4",
+ /* The phone artwork is a different drawing, at 1440x1200. */
+ stageMobileAspectRatio: "1440 / 1200",
cards: [
{
Icon: ArrowsLeftRight,
+ icon: "swap",
title: "Keep your existing SDK",
description: "Chat Completions and Responses endpoints work with existing SDKs.",
},
{
Icon: Wrench,
+ icon: "repair",
title: "Repair before users see it",
description: "Fix invalid output as it streams, before it reaches users.",
},
{
Icon: ArrowsClockwise,
+ icon: "refresh",
title: "Stay online through outages",
description: "Gateway switches providers if one fails, keeping the same model.",
},
{
Icon: Key,
+ icon: "key",
title: "Use existing LLM spend",
description: "Use your existing model provider credentials and commitments.",
},
@@ -105,24 +111,33 @@ export const OBSERVABILITY_PRODUCT: ProductSectionProps = {
"See what your agent generated, what users experienced, and where your product needs to improve.",
secondaryCta: { label: "View docs", href: "/docs/agent/getting-started/openui-cloud" },
tone: "dark",
+ shot: "/homepage/observability",
+ fullBleedArt: true,
+ stageAspectRatio: "1120 / 440",
+ /* The phone artwork is a different drawing, at 1440x1200. */
+ stageMobileAspectRatio: "1440 / 1200",
cards: [
{
Icon: PlayCircle,
+ icon: "replay",
title: "Replay sessions",
description: "See the exact UI and interactions your users experienced.",
},
{
Icon: WarningDiamond,
+ icon: "warning",
title: "Track every failure",
description: "Capture errors, corrections, fallbacks, and failed generations.",
},
{
Icon: CursorClick,
+ icon: "interaction",
title: "Understand users",
description: "See what people use, where they struggle, and what works.",
},
{
Icon: MagnifyingGlass,
+ icon: "search",
title: "Find what\u2019s missing",
description: "Surface unmet needs, emerging demand, and opportunities to improve.",
},
diff --git a/docs/package.json b/docs/package.json
index b31650421..167fd687f 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -18,6 +18,9 @@
"audit:benchmark-publication": "node scripts/audit-benchmark-publication.mjs"
},
"dependencies": {
+ "@codemirror/language": "^6.12.4",
+ "@codemirror/state": "^6.7.1",
+ "@codemirror/view": "^6.43.6",
"@openuidev/cli": "workspace:*",
"@openuidev/lang-core": "workspace:^",
"@openuidev/react-headless": "workspace:^",
@@ -28,6 +31,7 @@
"@radix-ui/react-dialog": "1.1.15",
"@radix-ui/react-tooltip": "1.2.7",
"@takumi-rs/image-response": "^0.68.17",
+ "@uiw/react-codemirror": "^4.25.11",
"fumadocs-core": "16.9.1",
"fumadocs-mdx": "14.3.2",
"fumadocs-ui": "16.9.1",
@@ -43,16 +47,13 @@
"prism-react-renderer": "^2.4.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
+ "react-resizable-panels": "^4.12.2",
"reodotdev": "^1.1.0",
+ "semver": "^7.8.5",
+ "shaders": "^3.2.470",
"tailwind-merge": "^3.4.1",
"zod": "^4.3.6",
- "zustand": "4.5.7",
- "@codemirror/language": "^6.12.4",
- "@codemirror/state": "^6.7.1",
- "@codemirror/view": "^6.43.6",
- "@uiw/react-codemirror": "^4.25.11",
- "react-resizable-panels": "^4.12.2",
- "semver": "^7.8.5"
+ "zustand": "4.5.7"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.18",
@@ -60,9 +61,9 @@
"@types/node": "catalog:",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
+ "@types/semver": "^7.7.1",
"eslint-config-next": "16.2.6",
"postcss": "^8.5.6",
- "tailwindcss": "^4.1.18",
- "@types/semver": "^7.7.1"
+ "tailwindcss": "^4.1.18"
}
}
diff --git a/docs/public/homepage/gateway-dark.webp b/docs/public/homepage/gateway-dark.webp
new file mode 100644
index 000000000..8c77d3aaf
Binary files /dev/null and b/docs/public/homepage/gateway-dark.webp differ
diff --git a/docs/public/homepage/gateway-light.webp b/docs/public/homepage/gateway-light.webp
new file mode 100644
index 000000000..726861e36
Binary files /dev/null and b/docs/public/homepage/gateway-light.webp differ
diff --git a/docs/public/homepage/gateway-mobile-dark.webp b/docs/public/homepage/gateway-mobile-dark.webp
new file mode 100644
index 000000000..c2d469d9b
Binary files /dev/null and b/docs/public/homepage/gateway-mobile-dark.webp differ
diff --git a/docs/public/homepage/gateway-mobile-light.webp b/docs/public/homepage/gateway-mobile-light.webp
new file mode 100644
index 000000000..60dbcfb73
Binary files /dev/null and b/docs/public/homepage/gateway-mobile-light.webp differ
diff --git a/docs/public/homepage/observability-dark.webp b/docs/public/homepage/observability-dark.webp
new file mode 100644
index 000000000..c65cb21ac
Binary files /dev/null and b/docs/public/homepage/observability-dark.webp differ
diff --git a/docs/public/homepage/observability-light.webp b/docs/public/homepage/observability-light.webp
new file mode 100644
index 000000000..d19c8ffc6
Binary files /dev/null and b/docs/public/homepage/observability-light.webp differ
diff --git a/docs/public/homepage/observability-mobile-dark.webp b/docs/public/homepage/observability-mobile-dark.webp
new file mode 100644
index 000000000..774e03a78
Binary files /dev/null and b/docs/public/homepage/observability-mobile-dark.webp differ
diff --git a/docs/public/homepage/observability-mobile-light.webp b/docs/public/homepage/observability-mobile-light.webp
new file mode 100644
index 000000000..864e66ac5
Binary files /dev/null and b/docs/public/homepage/observability-mobile-light.webp differ
diff --git a/docs/public/homepage/openui-lang-dark.webp b/docs/public/homepage/openui-lang-dark.webp
new file mode 100644
index 000000000..44e8c5d0c
Binary files /dev/null and b/docs/public/homepage/openui-lang-dark.webp differ
diff --git a/docs/public/homepage/openui-lang-light.webp b/docs/public/homepage/openui-lang-light.webp
new file mode 100644
index 000000000..3b55cfd64
Binary files /dev/null and b/docs/public/homepage/openui-lang-light.webp differ
diff --git a/docs/public/homepage/openui-lang-mobile-dark.webp b/docs/public/homepage/openui-lang-mobile-dark.webp
new file mode 100644
index 000000000..7c34bd3de
Binary files /dev/null and b/docs/public/homepage/openui-lang-mobile-dark.webp differ
diff --git a/docs/public/homepage/openui-lang-mobile-light.webp b/docs/public/homepage/openui-lang-mobile-light.webp
new file mode 100644
index 000000000..716be2ade
Binary files /dev/null and b/docs/public/homepage/openui-lang-mobile-light.webp differ
diff --git a/docs/public/openui-observability/annotations-dark.webp b/docs/public/openui-observability/annotations-dark.webp
index 180c19b18..5d3156177 100644
Binary files a/docs/public/openui-observability/annotations-dark.webp and b/docs/public/openui-observability/annotations-dark.webp differ
diff --git a/docs/public/openui-observability/annotations-light.webp b/docs/public/openui-observability/annotations-light.webp
index e34d6f973..f9e662469 100644
Binary files a/docs/public/openui-observability/annotations-light.webp and b/docs/public/openui-observability/annotations-light.webp differ
diff --git a/docs/public/openui-observability/evals-figma-dark.webp b/docs/public/openui-observability/evals-figma-dark.webp
index 032db93fb..695c82f7c 100644
Binary files a/docs/public/openui-observability/evals-figma-dark.webp and b/docs/public/openui-observability/evals-figma-dark.webp differ
diff --git a/docs/public/openui-observability/evals-figma-light.webp b/docs/public/openui-observability/evals-figma-light.webp
index ff2bd8924..cbc6df3d9 100644
Binary files a/docs/public/openui-observability/evals-figma-light.webp and b/docs/public/openui-observability/evals-figma-light.webp differ
diff --git a/docs/public/openui-observability/hero-dark.webp b/docs/public/openui-observability/hero-dark.webp
index cf904df98..f74c38749 100644
Binary files a/docs/public/openui-observability/hero-dark.webp and b/docs/public/openui-observability/hero-dark.webp differ
diff --git a/docs/public/openui-observability/hero-light.webp b/docs/public/openui-observability/hero-light.webp
index 36111c73f..7a73daba6 100644
Binary files a/docs/public/openui-observability/hero-light.webp and b/docs/public/openui-observability/hero-light.webp differ
diff --git a/docs/public/openui-observability/hero-mobile-dark.webp b/docs/public/openui-observability/hero-mobile-dark.webp
index fd1a54e81..f14257205 100644
Binary files a/docs/public/openui-observability/hero-mobile-dark.webp and b/docs/public/openui-observability/hero-mobile-dark.webp differ
diff --git a/docs/public/openui-observability/hero-mobile-light.webp b/docs/public/openui-observability/hero-mobile-light.webp
index ab89e0817..2953a7dec 100644
Binary files a/docs/public/openui-observability/hero-mobile-light.webp and b/docs/public/openui-observability/hero-mobile-light.webp differ
diff --git a/docs/public/openui-observability/insights-dark.webp b/docs/public/openui-observability/insights-dark.webp
index c4a21726e..96ef01451 100644
Binary files a/docs/public/openui-observability/insights-dark.webp and b/docs/public/openui-observability/insights-dark.webp differ
diff --git a/docs/public/openui-observability/insights-light.webp b/docs/public/openui-observability/insights-light.webp
index 66b9c0cbc..3dc95329e 100644
Binary files a/docs/public/openui-observability/insights-light.webp and b/docs/public/openui-observability/insights-light.webp differ
diff --git a/docs/public/openui-observability/session-replay-dark.webp b/docs/public/openui-observability/session-replay-dark.webp
index b466c1171..820cf4914 100644
Binary files a/docs/public/openui-observability/session-replay-dark.webp and b/docs/public/openui-observability/session-replay-dark.webp differ
diff --git a/docs/public/openui-observability/session-replay-light.webp b/docs/public/openui-observability/session-replay-light.webp
index db807aa55..65a6f8aee 100644
Binary files a/docs/public/openui-observability/session-replay-light.webp and b/docs/public/openui-observability/session-replay-light.webp differ
diff --git a/docs/public/openui-observability/triage-figma-dark.webp b/docs/public/openui-observability/triage-figma-dark.webp
index c4521797d..4a2b6a56f 100644
Binary files a/docs/public/openui-observability/triage-figma-dark.webp and b/docs/public/openui-observability/triage-figma-dark.webp differ
diff --git a/docs/public/openui-observability/triage-figma-light.webp b/docs/public/openui-observability/triage-figma-light.webp
index 04865e00f..0d87accb6 100644
Binary files a/docs/public/openui-observability/triage-figma-light.webp and b/docs/public/openui-observability/triage-figma-light.webp differ
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ca83fb3df..eaf52e435 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -237,6 +237,9 @@ importers:
semver:
specifier: ^7.8.5
version: 7.8.5
+ shaders:
+ specifier: ^3.2.470
tailwind-merge:
specifier: ^3.4.1
version: 3.6.0
@@ -9944,6 +9947,27 @@ packages:
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
+ resolution: {integrity: sha512-Qmqro6fwQW575Axue1RVMFsy1uiV1wxtHtEj/JWh5iPpIltA96fsIUznGKFF8tava4r5KAALP9wjdyF6ohDXyg==}
+ hasBin: true
+ peerDependencies:
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+ solid-js: ^1.8.0
+ svelte: ^5
+ vue: ^3.5.0
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-dom:
+ optional: true
+ solid-js:
+ optional: true
+ svelte:
+ optional: true
+ vue:
+ optional: true
+
resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
@@ -10238,6 +10262,10 @@ packages:
resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}
+ resolution: {integrity: sha512-LUDiIzyDUQ1mGo8Bam9c7Dubid6Psx14zMzGNwwvOEmNs03FWNUtOrHVXd+TcCorzogQ24Rk0fcfdZ+9rGr1Fw==}
+ engines: {node: '>=12.20.0'}
+
resolution: {integrity: sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==}
engines: {node: '>=18'}
@@ -10361,6 +10389,9 @@ packages:
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+ resolution: {integrity: sha512-FHHwMJzZbnP23+fU1PxXljy7j0RRRosL2r1/CRUNTqfW+l7m35JsUkM615x/cAzw4GqRdXPIl3axKMj9qzpZtQ==}
+
resolution: {integrity: sha512-GQHnkIfxyx1wYCOS/wonik5MVRZU9hi1TEZmzGZSCJB1y9YgoZ8H6itNE/u4suE+yLmOzuE4E5S4TZ/ZX2wcWQ==}
engines: {node: '>=18.0.0'}
@@ -10393,6 +10424,14 @@ packages:
resolution: {integrity: sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-W2hLsSzt3k/tg38gDE4Fn/QiwcoqGuUHBc2cb3mXuH7KcYxe/GM57vzW14s2/bawB4R5knGgGq8Xb57vsaJ4Sg==}
+
+ resolution: {integrity: sha512-zYwQEhnPPwhq5vQKmollXRK1LCVjStOnL+2B0PiebqvAzYPr25rPNR4r3olLoow5sKKjyj3kzHKEcpD5SyDzGQ==}
+ engines: {node: '>=12.20.0'}
+ hasBin: true
+
resolution: {integrity: sha512-/ggrHAwyjENDusvyxbuqxAC2dTnZg/Z8F+fgQtYIz+L6n/9HfSlEZcFGV/NsMNa6CkGk0xUjUAFwC0vHOflvIA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -20956,6 +20995,15 @@ snapshots:
+ dependencies:
+ typegpu: 0.12.3
+ optionalDependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+ svelte: 5.56.8(@typescript-eslint/[email protected])
+ vue: 3.5.40([email protected])
+
dependencies:
'@img/colour': 1.1.0
@@ -21363,6 +21411,8 @@ snapshots:
+
@@ -21499,6 +21549,8 @@ snapshots:
+
dependencies:
esbuild: 0.28.1
@@ -21550,6 +21602,14 @@ snapshots:
possible-typed-array-names: 1.1.0
reflect.getprototypeof: 1.0.10
+
+ dependencies:
+ tinyest: 0.3.3
+ tsover-runtime: 0.0.7
+ typed-binary: 4.3.3
+
dependencies: