Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// Fragments: children returned as a fragment lay out as their parent's own children.
// proves: react.components.Fragment
import { Fragment } from "react";
function Pair({ n }: { n: number }) {
return (<><div data-testid={"a" + n} className="h-8 w-8 bg-rose-400" /><div data-testid={"b" + n} className="h-8 w-8 bg-sky-400" /></>);
}
export const steps = [];
export default function Case() {
return (
<div data-testid="root" className="h-full w-full bg-white p-4 text-slate-900">
<div data-testid="row" className="flex gap-2">
<Pair n={1} />
<Fragment key="x"><Pair n={2} /></Fragment>
</div>
</div>
);
}