{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"code","type":"registry:component","title":"CodeIcon","description":"code from coolicons in Line with regular corners. brackets, html, programming, developer, source, embed. Other styles and corners: @coolicons/<style>/<radius>/code with line, duocolor, duotone, fill or bulk and sharp or round. Leave out regular, like @coolicons/fill/code, and use @coolicons/code for line with regular corners.","categories":["Development"],"author":"coolicons <https://coolicons.cool>","docs":"https://coolicons.cool/icons/code","meta":{"icon":"code","style":"line","radius":"regular"},"files":[{"path":"registry/icons/code.tsx","type":"registry:component","content":"import type { SVGProps } from \"react\";\n\ntype IconProps = Omit<SVGProps<SVGSVGElement>, \"children\"> & {\n  size?: number | string;\n  strokeWidth?: number | string;\n  title?: string;\n};\n\nexport function CodeIcon({ size = 24, strokeWidth = 2, title, ...props }: IconProps) {\n  return (\n    <svg\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      role={title ? \"img\" : undefined}\n      aria-hidden={title ? undefined : true}\n      {...props}\n    >\n      {title ? <title>{title}</title> : null}\n      <path d=\"M15 7L20 12L15 17M9 17L4 12L9 7\" stroke=\"currentColor\" strokeWidth={strokeWidth} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n    </svg>\n  );\n}\n","target":"@components/icons/code.tsx"}]}
