{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"code-block","type":"registry:component","title":"CodeBlock","description":"code-block from coolicons in Line with regular corners. snippet, programming, developer, html, source, brackets. Other styles and corners: @coolicons/<style>/<radius>/code-block with line, duocolor, duotone, fill or bulk and sharp or round. Leave out regular, like @coolicons/fill/code-block, and use @coolicons/code-block for line with regular corners.","categories":["Edit"],"author":"coolicons <https://coolicons.cool>","docs":"https://coolicons.cool/icons/code-block","meta":{"icon":"code-block","style":"line","radius":"regular"},"files":[{"path":"registry/icons/code-block.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 CodeBlock({ 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=\"M3 5C3 3.89543 3.89543 3 5 3H19C20.10457 3 21 3.89543 21 5V19C21 20.10457 20.10457 21 19 21H5C3.89543 21 3 20.10457 3 19ZM10 9L7 12L10 15M14 9L17 12L14 15\" stroke=\"currentColor\" strokeWidth={strokeWidth} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n    </svg>\n  );\n}\n","target":"@components/icons/code-block.tsx"}]}
