Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

625 B
Raw Blame
"use client";

import type { ComponentProps } from "react";
import { cn } from "@/lib/utils";

type GraphNodeShellProps = ComponentProps<"div"> & {
  selected?: boolean;
};

/** Domain-independent graph node chrome. Feature slices own handles, content and domain state. */
export function GraphNodeShell({ selected = false, className, ...props }: GraphNodeShellProps) {
  return (
    <div
      {...props}
      className={cn(
        "relative rounded-xl border bg-card p-3 shadow-sm transition-[box-shadow,border-color,opacity]",
        selected && "ring-2 ring-ring shadow-md",
        className,
      )}
    />
  );
}