Content scoped to {scopes.find((item) => item.id === scope)?.label}
);
}
export function SidebarMobilePreview() {
return (
Exxat Prism
{PRIMARY_ITEMS.map((item) => (
))}
);
}
export type AppShellPreviewVariant = "scoped" | "expanded" | "reflow";
const APP_SHELL_SCOPES = [
{ id: "all", label: "All placements" },
{ id: "mine", label: "My placements" },
{ id: "favorites", label: "Favorites" },
];
/**
* The signed-in shell, compact density: the utility bar runs the full width on
* top, with the page breadcrumb in it. Below it, three surfaces step lighter
* from the left edge — primary rail (level 0), optional scope panel (level 1),
* canvas (level 2). The bar's toggle cell plus its divider equal the 48px rail
* so the divider lands on the rail's own right border.
*/
export function AppShellPreview({
variant = "scoped",
}: {
variant?: AppShellPreviewVariant;
}) {
const [status, setStatus] = React.useState("");
const [scope, setScope] = React.useState("all");
const mod = useModKeyLabel();
const alt = useAltKeyLabel();
return (
{variant === "expanded" ? (
{PRIMARY_ITEMS.map((item) => (
))}
) : null}
{variant === "scoped" ? (
<>
{PRIMARY_ITEMS.map((item) => (
))}
>
) : null}
setStatus("New placement selected"),
},
]}
/>
Page content owns one scroll column. Shell chrome stays outside the
content surface.