React Components & Agent Workflows: Hyper Elements, Resizable Panels, Sashay, Stately Skill, and note inc.Thematic roundup · digest for December 3
Bauhaus modular builder: flexible UI panels with snap points and shared component blocks assembled by a human and a digital assistant.
Thematic roundup5 sections≈ 6 min

React Components & Agent Workflows: Hyper Elements, Resizable Panels, Sashay, Stately Skill, and note inc.

"A content engine for agents" is how Hyper Elements pitches itself on its homepage. React tooling is increasingly designed for humans and AI agents alike: humans get clean layouts without glue code, while agents get local validators and clear rules.

Hyper Elements: React components for emails, PDFs, and images with a mail-client emulator

Coding HTML emails by hand hurts: Classic Outlook renders with Word's engine, and mobile Gmail strips <style> for non-Gmail accounts. Hyper Elements (v0.5, MIT, React 18+) compiles one JSX tree into <Email>, <Page>, PDF (<Document>), and image (<Canvas>) locally without a browser or API keys.

Its local email client emulator @hyper-elements/email-clients models 8 client families (including Classic Outlook, gmail-app-other, and dark mode) in milliseconds on macOS, Linux, and CI with 98% accuracy. A built-in linter and outline() hand agents a layout tree instead of nested tables:

import { Button, Column, Email, Text, render } from "@hyper-elements/react";
import { renderInEmailClients } from "@hyper-elements/email-clients";
import { lint } from "@hyper-elements/lint";

const msg = (
  <Email style={{ backgroundColor: "#f4f4f5", gap: 16 }}>
    <Column style={{ backgroundColor: "#fff", padding: 24, gap: 12 }}>
      <Text>Your account is ready — create a project.</Text>
      <Button href="https://example.com/start">Create</Button>
    </Column>
  </Email>
);
// Compile HTML, lint, and emulate clients
const { html, diagnostics } = await render(msg, { plugins: [lint()] });
const { previews } = await renderInEmailClients(msg, {
  emailClients: ["outlook", "gmail-app", "apple-mail"],
  dark: true,
});

In team benchmarks, agents produce valid emails 1.3× faster than MJML and 2.6× faster than React Email (npx skills add hyper-elements/hyper-elements). Limits: v0.5 uses style={{ }} and gap without margin, and critical campaigns still deserve real-client checks—though the emulator and lintHtml() work on raw HTML without React too.

React Resizable Panels 4.25–4.27: snap points, smooth transitions, and keyboard tab moves

Releases 4.25.0–4.27.0 (November 27–28, 2026) of React Resizable Panels add three upgrades for dashboards and IDEs. 4.25.0 adds snap points (snapSizes on <Panel> and <Grid>, snapWidths/snapHeights in Workspace) with snapBehavior ("on-drag" or "on-release"), and keyboard arrows step through them too:

import { Group, Panel, Separator } from "react-resizable-panels";

export function WorkspaceLayout() {
  return (
    <Group snapBehavior="on-release" className="panel-group">
      <Panel collapsible minSize="25%" snapSizes={["25%", "50%", "75%"]}>
        Navigation
      </Panel>
      <Separator />
      <Panel>Content</Panel>
    </Group>
  );
}

To animate snaps and arrow jumps smoothly, 4.26.0 adds data-resizing, useIsResizing(), and fractional flex-grow (0.4 instead of 40):

/* Animate only when the user isn't actively dragging */
.panel-group:not([data-resizing]) [data-panel] {
  transition: flex-grow 180ms ease;
}

4.27.0 adds keyboard tab reordering in Workspace: Ctrl+M enters move mode, arrows/Home/End pick a slot, Enter drops, and Escape cancels (with aria-live and getKeyboardMoveAnnouncement). Note on upgrade: style.flexGrow assertions will break due to decimals, and custom tabs must forward onBlur and aria-keyshortcuts from TabRenderProps.

Sashay: sliding React panels with URL-persisted layouts

When an app opens a long chain of cards, standard split panes crush into thin strips. Sashay (@vcarl/sashay v1.3.1, MIT, 0 dependencies) by Carl Vitale builds webOS-style sliding panels: dividers snap to fractions with denominators up to 6, catch 90 ms fling gestures, and stack off-screen panels into a spine. Dragging stays under 2 ms even with 1,000 panels, with styles isolated in @layer sashay.

Per the Sashay guide, onLayoutChange emits a compact hex string for dividers, spine, and bottom bars—store it in ?layout=... and pass it to layout to share views by URL. Limits: the React wrapper requires React 19+ (older apps can use the vanilla core), and changing bottom bar sets resets old URL layouts to defaultLayout.

Stately skill: finding implicit state machines and state bugs with an agent

When an agent scatters logic across isLoading, isError, and timers, you end up with an implicit state machine where a spinner and an error appear together. Stately skill installs via npx skills add statelyai/skills --skill stately and runs locally in any language without XState, an account, or MCP.

Per its README, it has three modes. First, it detects hidden state machines with path:line traces. Second, it reviews PRs for 12 state-bug classes, auto-selecting depth (None, Single, or two-pass Thorough when caches, queues, payments, locks, or dropped awaits are touched). Third, it runs model checking: the agent simulates at least two concurrent callers to catch invariant violations with a counterexample. MCP (https://mcp.stately.ai/mcp) is only needed for cloud diagram sharing (unsaved links expire in 30 days).

note inc. case study: how Chrome Modern Web Guidance lifted compliance from 61% to 94%

Japanese publishing platform note inc. (>90M monthly users, Next.js, and note-ui design system) tested Chrome's Modern Web Guidance (MWG) skill pack. Their case study tracked 180 runs across two frontier agents on 6 UI tasks checked against 19 criteria in headless Chromium and WebKit:

Agent web-standards compliance in note inc. repo

Explicitly invoking the skill delivered the biggest jump (p < 0.001). Across 431 production PRs, fetchpriority="high" usage rose 28% and proper autocomplete rose 69%; when no design-system component existed, agents adopted animation-timeline: scroll(), Popover API, and <details name="faq">.

One conflict surfaced early: MWG treated itself as authoritative, so agents replaced note-ui components with raw <dialog> and <input>, breaking hooks like useDialogState. A rule in AGENTS.md fixed it: prioritize @/ui/noteui, use MWG only when the design system doesn't cover the task, and pass standard attributes (autocomplete, validationState) through note-ui props.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 10