{
  "name": "v2-container",
  "type": "registry:ui",
  "framework": "react",
  "title": "V2 Container",
  "description": "The Components V2 block that groups text, separators and action rows behind one accent bar.",
  "files": [
    {
      "path": "ui/v2-container.tsx",
      "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nexport interface V2ContainerProps extends React.ComponentProps<\"div\"> {\n  /** Accent colour of the left bar; defaults to the surface border. */\n  accentColor?: string\n}\n\n/*\n * The Components V2 container: an accent-barred block that groups text,\n * separators and action rows inside a single message.\n */\nconst V2Container = React.forwardRef<HTMLDivElement, V2ContainerProps>(\n  ({ className, accentColor, style, ...props }, ref) => (\n    <div\n      ref={ref}\n      className={cn(\n        \"mt-1 flex max-w-[520px] flex-col gap-2 rounded-[var(--newt-radius-sm)] border-s-4 border-[var(--newt-v2-accent)] bg-newt-bg-surface p-3 text-sm leading-relaxed text-newt-text-primary\",\n        className\n      )}\n      /*\n       * SAFETY: `CSSProperties` has no index signature for custom properties,\n       * but React forwards unknown `--*` keys to the style attribute verbatim,\n       * so the extra key is written out exactly as spelled here.\n       */\n      style={\n        {\n          ...style,\n          \"--newt-v2-accent\": accentColor ?? \"var(--newt-border)\",\n        } as React.CSSProperties\n      }\n      {...props}\n    />\n  )\n)\nV2Container.displayName = \"V2Container\"\n\nexport { V2Container }\n",
      "type": "registry:ui"
    }
  ]
}