{
  "name": "inline-code",
  "type": "registry:ui",
  "framework": "react",
  "title": "Inline Code",
  "description": "A monospace pill for code inside a line of message text.",
  "files": [
    {
      "path": "ui/inline-code.tsx",
      "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst InlineCode = React.forwardRef<HTMLElement, React.ComponentProps<\"code\">>(\n  ({ className, ...props }, ref) => (\n    <code\n      ref={ref}\n      className={cn(\n        /* `pre-wrap` keeps wrapped code readable without eating the spacing. */\n        \"whitespace-pre-wrap rounded-[var(--newt-radius-sm)] border border-newt-border bg-newt-bg-base px-1 font-[family-name:var(--newt-font-mono)] text-[0.85em] text-newt-text-primary\",\n        className\n      )}\n      {...props}\n    />\n  )\n)\nInlineCode.displayName = \"InlineCode\"\n\nexport { InlineCode }\n",
      "type": "registry:ui"
    }
  ]
}